bibliothek.gui.dock.themes.basic.action
Class BasicSelectableHandler.Check

java.lang.Object
  extended by bibliothek.gui.dock.themes.basic.action.AbstractBasicHandler<D,BasicButtonModel>
      extended by bibliothek.gui.dock.themes.basic.action.BasicHandler<SelectableDockAction>
          extended by bibliothek.gui.dock.themes.basic.action.BasicSelectableHandler
              extended by bibliothek.gui.dock.themes.basic.action.BasicSelectableHandler.Check
All Implemented Interfaces:
ViewItem<JComponent>, BasicResourceInitializer, BasicTitleViewItem<JComponent>, BasicTrigger
Enclosing class:
BasicSelectableHandler

public static class BasicSelectableHandler.Check
extends BasicSelectableHandler

An implementation used to connect a SelectableDockAction of type ActionType.CHECK with a BasicButtonModel

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.themes.basic.action.BasicSelectableHandler
BasicSelectableHandler.Check, BasicSelectableHandler.Radio
 
Constructor Summary
BasicSelectableHandler.Check(SelectableDockAction action, Dockable dockable)
          Creates a new handler
 
Method Summary
 void triggered()
          Invoked by a BasicButtonModel when the button, which is monitored by the model, is clicked.
 
Methods inherited from class bibliothek.gui.dock.themes.basic.action.BasicSelectableHandler
bind, unbind
 
Methods inherited from class bibliothek.gui.dock.themes.basic.action.BasicHandler
createListener, getItem, setBackground, setForeground, setOrientation
 
Methods inherited from class bibliothek.gui.dock.themes.basic.action.AbstractBasicHandler
addBorder, ensureBorder, getAction, getDockable, getModel, isBound, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.themes.basic.action.BasicTrigger
getAction, getDockable
 
Methods inherited from interface bibliothek.gui.dock.action.view.ViewItem
getAction
 

Constructor Detail

BasicSelectableHandler.Check

public BasicSelectableHandler.Check(SelectableDockAction action,
                                    Dockable dockable)
Creates a new handler

Parameters:
action - the action which is observed by this handler
dockable - the dockable for which the action is shown
Method Detail

triggered

public void triggered()
Description copied from interface: BasicTrigger
Invoked by a BasicButtonModel when the button, which is monitored by the model, is clicked.

Specified by:
triggered in interface BasicTrigger
Specified by:
triggered in class BasicHandler<SelectableDockAction>