|
||||||||||
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 shownMethod Detail |
---|
public void destroy()
ToolbarGroupHeader
destroy
in interface ToolbarGroupHeader
public Component getComponent()
ToolbarGroupHeader
getComponent
in interface ToolbarGroupHeader
null
and must not changepublic void setOrientation(Orientation orientation)
ToolbarGroupHeader
component
is shown, and every time when
the orientation of the ToolbarGroupDockStation
changes.
setOrientation
in interface ToolbarGroupHeader
orientation
- the orientation of the station, which is orthogonal to how the component is shown, not null
public Rectangle getButton()
CustomizationMenuCallback
getButton
in interface CustomizationMenuCallback
null
public Component getParent()
CustomizationMenuCallback
Component
of the menu, this Component
can be used
for example as parent of a JDialog
.
getParent
in interface CustomizationMenuCallback
Component
, not null
public bibliothek.gui.DockStation getOwner()
CustomizationMenuCallback
getOwner
in interface CustomizationMenuCallback
null
public void append(bibliothek.gui.Dockable dockable)
CustomizationMenuCallback
dockable
to the station or one of its sub stations.
append
in interface CustomizationMenuCallback
dockable
- the item to addpublic boolean isAutoCloseAllowed()
CustomizationMenuCallback
isAutoCloseAllowed
in interface CustomizationMenuCallback
public void closed()
CustomizationMenuCallback
closed
in interface CustomizationMenuCallback
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |