public interface CustomizationMenuContent
CustomizationMenuContent
is a part of the CustomizationMenu
. A menu shows
exactly one CustomizationMenuContent
, but the items themselves may consists of several
sub items.Modifier and Type | Method and Description |
---|---|
void |
bind(CustomizationMenuCallback callback)
Informs this item that is going to be used.
|
java.awt.Component |
getView()
Gets a
Component which represents this item. |
void |
setController(bibliothek.gui.DockController controller)
Informs this content about the
DockController in whose realm it is used. |
void |
unbind()
Informs this item that it is no longer used.
|
java.awt.Component getView()
Component
which represents this item. If #bind()
has not yet
been called, or unbind()
has been called, then a result of null
is valid.null
if this item is not bound
.void setController(bibliothek.gui.DockController controller)
DockController
in whose realm it is used.controller
- the controller, can be null
void bind(CustomizationMenuCallback callback)
callback
- access to more detailed information about the DockStation
that is
showing the menuvoid unbind()
#bind()
.