|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.menu.CustomizationButton
public class CustomizationButton
A factory for a toggle button that will open the CustomizationMenu
.
Nested Class Summary | |
---|---|
protected class |
CustomizationButton.Button
A toggle button that will open the CustomizationMenu . |
Constructor Summary | |
---|---|
CustomizationButton(bibliothek.gui.DockController controller)
Creates a new factory. |
Method Summary | |
---|---|
ToolbarGroupHeader |
create(ToolbarGroupDockStation station)
Asks this factory to create a new header. |
void |
setContent(CustomizationMenuContent content)
Sets the contents of the menu. |
void |
setMenu(CustomizationMenu menu)
Sets the menu which should be used by the buttons to show the content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomizationButton(bibliothek.gui.DockController controller)
controller
- the controller in whose realm this button will be usedMethod Detail |
---|
public ToolbarGroupHeader create(ToolbarGroupDockStation station)
ToolbarGroupHeaderFactory
null
is
valid and indicates that no header should be shown.
create
in interface ToolbarGroupHeaderFactory
station
- the station which is going to show the component
null
public void setMenu(CustomizationMenu menu)
menu
- the menu to use, can be null
public void setContent(CustomizationMenuContent content)
content
- the contents, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |