|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Option in CO-OPN tools environments. The values of these options may be given by decoding a specific option in the command line or by an apposite graphical dialog.
Field Summary | |
static int |
ALL
Maximal option level. |
static int |
BASIC
Standard option level. |
static int |
EXTENDED
Minimal option level. |
Method Summary | |
boolean |
decodeCommandLine(java.util.List elements,
java.util.Map decodedOptions)
Decode the command line. |
boolean |
decodeDialog(java.util.Map decodedOptions)
Decode the dialog component. |
javax.swing.JComponent |
getDialogComponent()
Return the SWING component associated to the option; for instance, a checkbox in the case of "-a". |
java.lang.String |
getHelpText()
Return the help text associated to the option; for instance, "get all items" for "-a". |
java.lang.String |
getLabel()
Return the label of the option; for instance "all" for "-a". |
int |
getLevel()
Get the level of the option. |
java.lang.String |
getName()
Return the name of the option; for instance, "a" for option "-a". |
Field Detail |
public static final int ALL
public static final int BASIC
public static final int EXTENDED
Method Detail |
public java.lang.String getName()
public java.lang.String getLabel()
public java.lang.String getHelpText()
public javax.swing.JComponent getDialogComponent()
public int getLevel()
public boolean decodeCommandLine(java.util.List elements, java.util.Map decodedOptions)
elements
- A list of StringdecodedOptions
- The mapping of optionspublic boolean decodeDialog(java.util.Map decodedOptions)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |