|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ToggleButtonModel
Model for two-state toggle button components.
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Adds a ChangeListener to receive notification of state
changes, i.e., to the selected state of a ToggleButton . |
boolean |
isSelected()
Returns the selection state. |
void |
removeChangeListener(ChangeListener l)
Removes a ChangeListener from being notified of state
changes, i.e., to the selected state of a ToggleButton . |
void |
setSelected(boolean newValue)
Sets the selection state. |
Methods inherited from interface nextapp.echo.app.button.ButtonModel |
---|
addActionListener, doAction, getActionCommand, removeActionListener, setActionCommand |
Method Detail |
---|
void addChangeListener(ChangeListener l)
ChangeListener
to receive notification of state
changes, i.e., to the selected state of a ToggleButton
.
l
- the listener to addboolean isSelected()
void removeChangeListener(ChangeListener l)
ChangeListener
from being notified of state
changes, i.e., to the selected state of a ToggleButton
.
l
- the listener to removevoid setSelected(boolean newValue)
newValue
- the new selection state
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |