|
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 submit commands and wish to
access their results. A public constructor is required, optionally taking
an argument of type Object, corr'ding to the constants
passed to the ISpi.newDiClient 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 Throwable
context - use to submit commands
Throwable - 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 | |||||||||