public class CustomizationMenuItem extends Object implements CustomizationMenuContent
CustomizationMenuItem is a simple Component.| Constructor and Description |
|---|
CustomizationMenuItem(Component component)
Creates a new item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(CustomizationMenuCallback callback)
Do nothing, so any call is useless.
|
Component |
getView()
Gets a
Component which represents this item. |
void |
setController(DockController controller)
Do nothing, so any call is useless.
|
void |
unbind()
Do nothing, so any call is useless.
|
public CustomizationMenuItem(Component component)
dockable - the item represented by this buttonpublic Component getView()
CustomizationMenuContentComponent 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 CustomizationMenuContentnull if this item is not bound.public void setController(DockController controller)
setController in interface CustomizationMenuContentcontroller - the controller, can be nullpublic void bind(CustomizationMenuCallback callback)
bind in interface CustomizationMenuContentcallback - access to more detailed information about the DockStation that is
showing the menupublic void unbind()
unbind in interface CustomizationMenuContentCopyright © 2018. All rights reserved.