|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.scenario.isac.egui.plugins.gui.WidgetDescription
public class WidgetDescription
This class is the implementation of a widget description object, it will be used to create a widget with this description in order to edit some parameters
Field Summary | |
---|---|
static int |
CHECK_BOX
A check box group |
static int |
COMBO
A combo for grouping values |
static int |
GROUP
A group for grouping multiple widget |
static int |
NFIELD
A nfield for editing n values |
static int |
NONE
No widget should have this dummy type |
static int |
RADIO_GROUP
A radio button group |
static int |
TABLE
A table widget |
static int |
TEXT_FIELD
A simple text field |
Constructor Summary | |
---|---|
WidgetDescription(int t,
java.lang.String text,
java.lang.String label,
java.util.Map<java.lang.String,java.lang.Object> p)
Build a new widget description element |
Method Summary | |
---|---|
java.lang.String |
getLabel()
|
java.util.Map<java.lang.String,java.lang.Object> |
getParams()
|
java.lang.String |
getText()
|
int |
getType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int TEXT_FIELD
public static final int RADIO_GROUP
public static final int CHECK_BOX
public static final int GROUP
public static final int COMBO
public static final int NFIELD
public static final int TABLE
Constructor Detail |
---|
public WidgetDescription(int t, java.lang.String text, java.lang.String label, java.util.Map<java.lang.String,java.lang.Object> p)
t
- The type of the widgettext
- The text of the widget if label is not defined (the name of the param)label
- The label of the widgetp
- The parameters to build the widgetMethod Detail |
---|
public java.util.Map<java.lang.String,java.lang.Object> getParams()
public java.lang.String getText()
public int getType()
public java.lang.String getLabel()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |