public class CustomizationButton extends Object implements ToolbarGroupHeaderFactory
CustomizationMenu.| Modifier and Type | Class and Description |
|---|---|
protected class |
CustomizationButton.Button
A toggle button that will open the
CustomizationMenu. |
| Constructor and Description |
|---|
CustomizationButton(DockController controller)
Creates a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CustomizationButton(DockController controller)
controller - the controller in whose realm this button will be usedpublic ToolbarGroupHeader create(ToolbarGroupDockStation station)
ToolbarGroupHeaderFactorynull is
valid and indicates that no header should be shown.create in interface ToolbarGroupHeaderFactorystation - the station which is going to show the componentnullpublic void setMenu(CustomizationMenu menu)
menu - the menu to use, can be nullpublic void setContent(CustomizationMenuContent content)
content - the contents, can be nullCopyright © 2018. All rights reserved.