|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.options.OptionItem
Field Summary | |
protected int |
curParamNum
current number of parameters in this item. |
protected java.lang.String |
label
the label of this item. |
protected Parameter[] |
params
the parameter array. |
Constructor Summary | |
OptionItem(java.lang.String label,
int num,
Parameter[] params)
constructor. |
|
OptionItem(java.lang.String label,
Parameter[] params)
constructor. |
Method Summary | |
java.lang.Object |
clone()
methods from class Object |
int |
getCount()
Returns the number of parameters. |
java.lang.String |
getLabel()
Returns the item label. |
Parameter |
getParameter(int idx)
Returns a specific parameter. |
Parameter[] |
getParameters()
Returns parameters. |
boolean |
hasParameters()
Returns if this item has parameter or not. |
void |
setCount(int num)
Sets the number of parameters. |
java.lang.String |
toString()
methods from class Object |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String label
protected int curParamNum
protected Parameter[] params
Constructor Detail |
public OptionItem(java.lang.String label, Parameter[] params)
label
- the item label.params
- the parameter array of this item.public OptionItem(java.lang.String label, int num, Parameter[] params)
label
- the item label.num
- the number of parameters.params
- the parameter array of this item.Method Detail |
public java.lang.String getLabel()
public int getCount()
public Parameter[] getParameters()
public Parameter getParameter(int idx)
idx
- the index to the specific parameter.
public boolean hasParameters()
public void setCount(int num)
num
- the number to set.public java.lang.String toString()
public java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |