|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.applications.editwizard.WizardCommand
The wizardcommands are used to store information received from the clients about commands. Eg.: add-item, delete commands are stored here.
| Field Summary | |
static short |
ADD_ITEM
|
static short |
CANCEL
|
static short |
COMMIT
|
static short |
DELETE_ITEM
|
static short |
GOTO_FORM
|
static short |
MOVE_DOWN
|
static short |
MOVE_UP
|
static short |
SAVE
|
static short |
START_WIZARD
|
static short |
UNKNOWN_COMMAND
|
static short |
UPDATE_ITEM
|
| Constructor Summary | |
WizardCommand(java.lang.String acommand,
java.lang.String avalue)
Creates a wizard command object with the given command and value. |
|
| Method Summary | |
java.lang.String |
getDid()
Returns the 'did' (data id) parameter of the parsed command. |
java.lang.String |
getFid()
Returns the 'fid' (field id) parameter of the parsed command. |
java.lang.String |
getParameter(int i)
Returns the parameter with the indicated index of the parsed command. |
int |
getType()
Returns the type of the parsed command. |
java.lang.String |
getValue()
Returns the value passed to the parsed command. |
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 short UNKNOWN_COMMAND
public static final short ADD_ITEM
public static final short CANCEL
public static final short COMMIT
public static final short DELETE_ITEM
public static final short GOTO_FORM
public static final short MOVE_DOWN
public static final short MOVE_UP
public static final short SAVE
public static final short START_WIZARD
public static final short UPDATE_ITEM
| Constructor Detail |
public WizardCommand(java.lang.String acommand,
java.lang.String avalue)
cmd/type/fid/did/otherdid/
'type' is the command itself (i.e. 'add-item'), fid, did, and otherdid are possible
parameters to the command.
avalue - The value of the command| Method Detail |
public int getType()
public java.lang.String getValue()
public java.lang.String getParameter(int i)
public java.lang.String getFid()
public java.lang.String getDid()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||