|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.toolbar.menu.GroupedCustomizationMenuTitle
public class GroupedCustomizationMenuTitle
This is the default component to be used by a GroupedCustomizationMenuContent as title for one group.
| Constructor Summary | |
|---|---|
GroupedCustomizationMenuTitle(String title)
Creates a new title. |
|
| Method Summary | |
|---|---|
void |
bind(CustomizationMenuCallback callback)
Informs this item that is going to be used. |
Insets |
getInsets()
Gets the area around the entire title that remains empty. |
Insets |
getTextInsets()
Gets the area around the text that should remain empty. |
String |
getTitle()
Gets the current title text. |
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 |
setInsets(Insets insets)
Sets the area around the entire title that should remain empty. |
void |
setTextInsets(Insets insets)
Sets the area around the text that should remain empty. |
void |
setTitle(String title)
Sets the title text. |
void |
unbind()
Informs this item that it is no longer used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupedCustomizationMenuTitle(String title)
title - the text of the title| Method Detail |
|---|
public void setTitle(String title)
title - the new titlepublic String getTitle()
public void setTextInsets(Insets insets)
insets - the area to remain emptypublic Insets getTextInsets()
nullpublic void setInsets(Insets insets)
insets - the area to remain emptypublic Insets getInsets()
public Component getView()
CustomizationMenuContentComponent which represents this item. If #bind() has not yet
been called, or CustomizationMenuContent.unbind() has been called, then a result of null is valid.
getView in interface CustomizationMenuContentnull if this item is not bound.public void setController(bibliothek.gui.DockController controller)
CustomizationMenuContentDockController in whose realm it is used.
setController in interface CustomizationMenuContentcontroller - the controller, can be nullpublic void bind(CustomizationMenuCallback callback)
CustomizationMenuContent
bind in interface CustomizationMenuContentcallback - access to more detailed information about the DockStation that is
showing the menupublic void unbind()
CustomizationMenuContent#bind().
unbind in interface CustomizationMenuContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||