|
JUICe | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICmd
to be implemented by any user-interface (interactive) commands your app
might incorporate. These may not then be invoked directly, but should be passed
to the static methods of Exes
, in order to create executable
Exe
s.
The available subinterfaces may be impl'ted in any combination, their respective methods being processed in the following order:
Nested Class Summary | |
---|---|
static interface |
ICmd.IActionDependent
implement this form if access to the associated ActionEvent is required. |
static interface |
ICmd.IConfirm
implement this form if the user should be prompted for confirmation before the command is executed. |
static interface |
ICmd.IDisj
implement this form if your command is 'disjointed'--one for which the result might not be available immediately. |
static interface |
ICmd.IPwd
implement this form if your command should be password-protected. |
static interface |
ICmd.ITog
implement this form if your command is to be used as a toggle. |
Method Summary | |
---|---|
String |
execute()
called when the command is executed. |
Method Detail |
---|
String execute() throws Exception
ICmdsApp.postSucceeded(String)
if an impl'n was supplied.
Exception
- This will be caught and passed to the ICmdsApp.postFailed(Exception)
impl'n (if supplied). Note that your
implementation should only declare those Exception
s which the compiler
obliges it to declare.
|
JUICe | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |