|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionInterface
This interface define and must be overridden by any class accepting and handling actions
| Field Summary | |
|---|---|
static int |
DISABLE_ACTION
Action disabling a form element |
static int |
ENABLE_ACTION
Action enabling a form element |
static int |
HANDLER_ACTION
Action triggering a JavaScript function |
static int |
HIDE_ACTION
Action hiding an element (Form, HTML or some SweetDEV RIA) |
static int |
LOADDATA_ACTION
Action loading some data for a select (or Suggest) element |
static int |
RESET_ACTION
Action reseting a form element |
static int |
SETVALUE_ACTION
Action setting a value in a form element |
static int |
SHOW_ACTION
Action showing an element (Form, HTML or some SweetDEV RIA) |
| Method Summary | |
|---|---|
void |
addAction(int type,
java.lang.String targetIds,
java.lang.String condition,
java.lang.String param)
Adds an action |
void |
addActionElse(int type,
java.lang.String targetIds,
java.lang.String condition,
java.lang.String param)
Adds an action |
| Field Detail |
|---|
static final int SHOW_ACTION
static final int HIDE_ACTION
static final int DISABLE_ACTION
static final int ENABLE_ACTION
static final int LOADDATA_ACTION
static final int RESET_ACTION
static final int SETVALUE_ACTION
static final int HANDLER_ACTION
| Method Detail |
|---|
void addAction(int type,
java.lang.String targetIds,
java.lang.String condition,
java.lang.String param)
type - the type of the actiontargetIds - the target id of the component this action acts oncondition - an optional condition having to be successfully validated before triggering this actionparam - an optional parameter for this action
void addActionElse(int type,
java.lang.String targetIds,
java.lang.String condition,
java.lang.String param)
type - the type of the actiontargetIds - the target id of the component this action acts oncondition - an optional condition having to be successfully validated before triggering this actionparam - an optional parameter for this action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||