|
||||||||||
| 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.Button
protected class CustomizationButton.Button
A toggle button that will open the CustomizationMenu.
| Constructor Summary | |
|---|---|
CustomizationButton.Button(ToolbarGroupDockStation station)
Creates a new button |
|
| Method Summary | |
|---|---|
void |
append(bibliothek.gui.Dockable dockable)
Adds dockable to the station or one of its sub stations. |
void |
closed()
To be called if the menu was closed. |
void |
destroy()
Called if this header is no longer required |
Rectangle |
getButton()
Gets the boundaries of the button that opened this menu. |
Component |
getComponent()
The actual component represented by this object. |
bibliothek.gui.DockStation |
getOwner()
Gets the owner of the menu. |
Component |
getParent()
Gets the parent Component of the menu, this Component can be used
for example as parent of a JDialog. |
boolean |
isAutoCloseAllowed()
Tells the menu whether it is currently allowed to close itself automatically. |
void |
setOrientation(Orientation orientation)
Called before the component is shown, and every time when
the orientation of the ToolbarGroupDockStation changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomizationButton.Button(ToolbarGroupDockStation station)
station - the station on which this button will be shown| Method Detail |
|---|
public void destroy()
ToolbarGroupHeader
destroy in interface ToolbarGroupHeaderpublic Component getComponent()
ToolbarGroupHeader
getComponent in interface ToolbarGroupHeadernull and must not changepublic void setOrientation(Orientation orientation)
ToolbarGroupHeadercomponent is shown, and every time when
the orientation of the ToolbarGroupDockStation changes.
setOrientation in interface ToolbarGroupHeaderorientation - the orientation of the station, which is orthogonal to how the component is shown, not nullpublic Rectangle getButton()
CustomizationMenuCallback
getButton in interface CustomizationMenuCallbacknullpublic Component getParent()
CustomizationMenuCallbackComponent of the menu, this Component can be used
for example as parent of a JDialog.
getParent in interface CustomizationMenuCallbackComponent, not nullpublic bibliothek.gui.DockStation getOwner()
CustomizationMenuCallback
getOwner in interface CustomizationMenuCallbacknullpublic void append(bibliothek.gui.Dockable dockable)
CustomizationMenuCallbackdockable to the station or one of its sub stations.
append in interface CustomizationMenuCallbackdockable - the item to addpublic boolean isAutoCloseAllowed()
CustomizationMenuCallback
isAutoCloseAllowed in interface CustomizationMenuCallbackpublic void closed()
CustomizationMenuCallback
closed in interface CustomizationMenuCallback
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||