ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
RGBVector.java
Go to the documentation of this file.
00001 import java.util.*;
00002 
00003 
00015 public class RGBVector
00016 {
00017         private int r;
00018         private int g;
00019         private int b;
00020         
00021         RGBVector(int rIn, int gIn, int bIn)
00022         {
00023                 r = rIn;
00024                 g = gIn;
00025                 b = bIn;
00026         }
00027         
00028         public int getR()
00029         {
00030                 return r;
00031         }
00032         
00033         public int getG()
00034         {
00035                 return g;
00036         }
00037         
00038         public int getB()
00039         {
00040                 return b;
00041         }
00042         
00043         public void setColor(int rIn, int gIn, int bIn)
00044         {
00045                 r = rIn;
00046                 g = gIn;
00047                 b = bIn;
00048         }
00049         
00050         public void setR(int rIn)
00051         {
00052                 r = rIn;
00053         }
00054         
00055         public void setG(int gIn)
00056         {
00057                 g = gIn;                
00058         }
00059         
00060         public void setB(int bIn)
00061         {
00062                 b = bIn;                
00063         }
00064 }
00065 
00066 
00067 
 All Classes Files Functions Variables Enumerations Enumerator Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark