|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.menu.CustomizationMenuItem
public class CustomizationMenuItem
The CustomizationMenuItem
is a simple Component
.
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 |
---|
public CustomizationMenuItem(Component component)
dockable
- the item represented by this buttonMethod Detail |
---|
public Component getView()
CustomizationMenuContent
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.
getView
in interface CustomizationMenuContent
null
if this item is not bound
.public void setController(bibliothek.gui.DockController controller)
setController
in interface CustomizationMenuContent
controller
- the controller, can be null
public void bind(CustomizationMenuCallback callback)
bind
in interface CustomizationMenuContent
callback
- access to more detailed information about the DockStation
that is
showing the menupublic void unbind()
unbind
in interface CustomizationMenuContent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |