|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasicButtonModelListener
A listener that can be added to a BasicButtonModel
and will
be informed about changes in the model.
Method Summary | |
---|---|
void |
disabledIconChanged(BasicButtonModel model,
Icon oldIcon,
Icon icon)
Called if the disabled icon of model changed. |
void |
enabledStateChanged(BasicButtonModel model,
boolean enabled)
Called if the action was enabled or disabled. |
void |
iconChanged(BasicButtonModel model,
Icon oldIcon,
Icon icon)
Called if the icon of model changed. |
void |
mouseInside(BasicButtonModel model,
boolean mouseInside)
Called if the mouse enters or leaves the view. |
void |
mousePressed(BasicButtonModel model,
boolean mousePressed)
Called if the mouse is pressed or released. |
void |
orientationChanged(BasicButtonModel model,
DockTitle.Orientation old,
DockTitle.Orientation orientation)
Called if the orientation of the view changed. |
void |
selectedDisabledIconChanged(BasicButtonModel model,
Icon oldIcon,
Icon icon)
Called if the selected disabled icon of model changed. |
void |
selectedIconChanged(BasicButtonModel model,
Icon oldIcon,
Icon icon)
Called if the selection icon of model changed. |
void |
selectedStateChanged(BasicButtonModel model,
boolean selected)
Called if the selection state of model changed. |
void |
tooltipChanged(BasicButtonModel model,
String old,
String tooltip)
Called if the tooltip of the action changed. |
void |
triggered()
Called if the user triggered the action. |
Method Detail |
---|
void iconChanged(BasicButtonModel model, Icon oldIcon, Icon icon)
model
changed.
model
- the source of the event.oldIcon
- the old valueicon
- the new valuevoid selectedIconChanged(BasicButtonModel model, Icon oldIcon, Icon icon)
model
changed.
model
- the source of the event.oldIcon
- the old valueicon
- the new valuevoid disabledIconChanged(BasicButtonModel model, Icon oldIcon, Icon icon)
model
changed.
model
- the source of the event.oldIcon
- the old valueicon
- the new valuevoid selectedDisabledIconChanged(BasicButtonModel model, Icon oldIcon, Icon icon)
model
changed.
model
- the source of the event.oldIcon
- the old valueicon
- the new valuevoid selectedStateChanged(BasicButtonModel model, boolean selected)
model
changed.
model
- the source of the event.selected
- the new statevoid enabledStateChanged(BasicButtonModel model, boolean enabled)
model
- the source of the event.enabled
- the new enable statevoid tooltipChanged(BasicButtonModel model, String old, String tooltip)
model
- the source of the eventold
- the old valuetooltip
- the new valuevoid orientationChanged(BasicButtonModel model, DockTitle.Orientation old, DockTitle.Orientation orientation)
model
- the source of the eventold
- the old valueorientation
- the new valuevoid mouseInside(BasicButtonModel model, boolean mouseInside)
model
- the source of the eventmouseInside
- whether the mouse is inside or notvoid mousePressed(BasicButtonModel model, boolean mousePressed)
model
- the source of the eventmousePressed
- the state of the mousevoid triggered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |