|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectsimuLCS.ClassifierComponent
A set of bits inside a classifier grouped because they share the same meaning. This class is used to generate the GUI for those sets of bits
| Field Summary | |
protected int |
init
|
protected boolean |
isEditable
|
protected boolean |
isStatic
Static : can be determined at the creation of the classifier non Static (dynamic) : must be determine during run-time //finally not implemented |
protected boolean |
isWithText
is there an editable text field associated ? |
protected java.lang.String[] |
listOfValues
|
protected int |
max
|
protected int |
min
|
protected java.lang.String |
name
|
protected int |
nbBits
|
protected int |
type
type = 0 : Yes / No condition -> Checkbox type = 1 : Value -> Slider // not implemented type = 2 : Combox box (list) |
protected G_ClassifierComponent |
ui
|
| Constructor Summary | |
ClassifierComponent(java.lang.String n,
boolean iS)
Default constructor : for a Yes / No Component (type=0) |
|
ClassifierComponent(java.lang.String n,
boolean iS,
boolean isTxt,
java.lang.String[] list,
int nb,
boolean isEdit)
Extended constructor, for list of values |
|
ClassifierComponent(java.lang.String n,
boolean iS,
int t,
int mn,
int mx,
int i,
int nb)
Extended constructor, for other types |
|
| Method Summary | |
int |
getInit()
|
java.lang.String[] |
getListOfValues()
|
int |
getMax()
|
int |
getMin()
|
java.lang.String |
getName()
|
int |
getNbBits()
|
G_ClassifierComponent |
getPointerUI()
|
int |
getType()
|
G_ClassifierComponent |
getUi()
|
G_Panel |
getUICondition(javax.swing.AbstractAction a)
Get the GUI Component associated with this group of bits |
G_ClassifierComponent |
getUIWithListener(int position,
int which,
boolean withText)
|
boolean |
isEditable()
|
boolean |
isStatic()
|
boolean |
isWithText()
|
void |
setInit(int i)
|
void |
setisEditable(boolean b)
|
void |
setListOfValues(java.lang.String[] strings)
|
void |
setMax(int i)
|
void |
setMin(int i)
|
void |
setName(java.lang.String string)
|
void |
setNbBits(int i)
|
void |
setStatic(boolean b)
|
void |
setType(int i)
|
void |
setUi(G_ClassifierComponent component)
|
void |
setWithText(boolean b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected boolean isStatic
protected int type
protected boolean isWithText
protected int max
protected int min
protected int init
protected int nbBits
protected java.lang.String[] listOfValues
protected boolean isEditable
protected G_ClassifierComponent ui
| Constructor Detail |
public ClassifierComponent(java.lang.String n,
boolean iS)
public ClassifierComponent(java.lang.String n,
boolean iS,
int t,
int mn,
int mx,
int i,
int nb)
public ClassifierComponent(java.lang.String n,
boolean iS,
boolean isTxt,
java.lang.String[] list,
int nb,
boolean isEdit)
| Method Detail |
public G_Panel getUICondition(javax.swing.AbstractAction a)
a - the Action to link with the GUI component
public G_ClassifierComponent getUIWithListener(int position,
int which,
boolean withText)
public G_ClassifierComponent getPointerUI()
public int getNbBits()
public boolean isEditable()
public int getInit()
public boolean isStatic()
public boolean isWithText()
public java.lang.String[] getListOfValues()
public int getMax()
public int getMin()
public java.lang.String getName()
public int getType()
public G_ClassifierComponent getUi()
public void setisEditable(boolean b)
public void setInit(int i)
public void setStatic(boolean b)
public void setWithText(boolean b)
public void setListOfValues(java.lang.String[] strings)
public void setMax(int i)
public void setMin(int i)
public void setName(java.lang.String string)
public void setNbBits(int i)
public void setType(int i)
public void setUi(G_ClassifierComponent component)
component -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||