|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwtAction
Interface for a high-level action that has application level semantics.
Actions are often linked to widgets. For example, we can have an action for "when this button is clicked, delete the current object".
Method Summary | |
---|---|
void |
execute()
Executes the action (including notification of the handlers before and after the actual execution of the action). |
void |
execute(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
Executes the action (including notification of the handlers before and after the actual execution of the action). |
Methods inherited from interface com.sage.swt.client.ui.action.HasSwtActionHandlers |
---|
addSwtActionHandler |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Method Detail |
---|
void execute(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
params
- an execution time parameter for the action. The parameters are
defined by the event that the action is mapped to. These
parameters are passed in using the LinkedHashMap because the
order of these parameters is important if a java script function
is being executed by the action (because the parameters will be
passed in to the function in the same order in which they are
specified in the map).void execute()
execute(LinkedHashMap)
and passing null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |