|
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IControlsGui
control panel GUI, for controlling a given device. Implementations should also
implement IResultHandler if they wish to access the results of commands
submitted, and IExceptionHandler, any exception thrown. A public
constructor is required, optionally taking an argument of type Object,
corr'ding to the constants passed to the IDi.AbstractFactory.createDi method invoked when deploying the device.
| Nested Class Summary | |
|---|---|
static interface |
IControlsGui.IContext
passed to IControlGuis, allowing them to submit commands. |
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent ae,
IControlsGui.IContext context)
invoked by listener set by setActionListener. |
JComponent |
getComponent()
returns the root JComponent of the GUI. |
IControlsGui[] |
setActionListener(ActionListener listener)
called once, first. |
| Method Detail |
|---|
IControlsGui[] setActionListener(ActionListener listener)
listener - invokes actionPerformed
JComponent getComponent()
void actionPerformed(ActionEvent ae,
IControlsGui.IContext context)
throws Exception
context - use to submit commands
Exception - This will be caught, and the user notified.
|
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||