public abstract class BasicSelectableHandler extends BasicHandler<SelectableDockAction>
SelectableDockAction with a
BasicButtonModel.| Modifier and Type | Class and Description |
|---|---|
static class |
BasicSelectableHandler.Check
An implementation used to connect a
SelectableDockAction of
type ActionType.CHECK with a BasicButtonModel |
static class |
BasicSelectableHandler.Radio
An implementation used to connect a
SelectableDockAction of
type ActionType.RADIO with a BasicButtonModel |
| Constructor and Description |
|---|
BasicSelectableHandler(SelectableDockAction action,
Dockable dockable)
Creates a new handler
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
Binds this item to its action
|
void |
unbind()
Unbinds this item from its action
|
createListener, getItem, setBackground, setForeground, setOrientation, triggeredaddBorder, ensureBorder, getAction, getDockable, getModel, isBound, setModelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAction, getDockablepublic BasicSelectableHandler(SelectableDockAction action, Dockable dockable)
action - the action which is observed by this handlerdockable - the dockable for which the action is shownpublic void bind()
ViewItembind in interface ViewItem<JComponent>bind in class BasicHandler<SelectableDockAction>public void unbind()
ViewItemunbind in interface ViewItem<JComponent>unbind in class BasicHandler<SelectableDockAction>Copyright © 2017 Docking Frames. All rights reserved.