bibliothek.gui.dock.station.toolbar.menu
Class CustomizationMenuItem

java.lang.Object
  extended by bibliothek.gui.dock.station.toolbar.menu.CustomizationMenuItem
All Implemented Interfaces:
CustomizationMenuContent

public class CustomizationMenuItem
extends Object
implements CustomizationMenuContent

The CustomizationMenuItem is a simple Component.

Author:
"Herve Guillaume"

Constructor Summary
CustomizationMenuItem(Component component)
          Creates a new item.
 
Method Summary
 void bind(CustomizationMenuCallback callback)
          Do nothing, so any call is useless.
 Component getView()
          Gets a Component which represents this item.
 void setController(bibliothek.gui.DockController controller)
          Do nothing, so any call is useless.
 void unbind()
          Do nothing, so any call is useless.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomizationMenuItem

public CustomizationMenuItem(Component component)
Creates a new item.

Parameters:
dockable - the item represented by this button
Method Detail

getView

public Component getView()
Description copied from interface: CustomizationMenuContent
Gets a Component which represents this item. If #bind() has not yet been called, or CustomizationMenuContent.unbind() has been called, then a result of null is valid.

Specified by:
getView in interface CustomizationMenuContent
Returns:
the view or null if this item is not bound.

setController

public void setController(bibliothek.gui.DockController controller)
Do nothing, so any call is useless.

Specified by:
setController in interface CustomizationMenuContent
Parameters:
controller - the controller, can be null

bind

public void bind(CustomizationMenuCallback callback)
Do nothing, so any call is useless.

Specified by:
bind in interface CustomizationMenuContent
Parameters:
callback - access to more detailed information about the DockStation that is showing the menu

unbind

public void unbind()
Do nothing, so any call is useless.

Specified by:
unbind in interface CustomizationMenuContent