|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomizationMenu
A CustomizationMenu is a menu that is shown belonging to a ToolbarGroupDockStation,
the menu can offer various settings to customize the station.
Clients should call setController(DockController) and setContent(CustomizationMenuContent) to
set up the menu.
| Method Summary | |
|---|---|
void |
close()
Closes this menu. |
CustomizationMenuContent |
getContent()
Gets the contents of this menu. |
void |
open(int x,
int y,
CustomizationMenuCallback callback)
Opens the menu for station. |
void |
setContent(CustomizationMenuContent content)
Sets the contents of this menu. |
void |
setController(bibliothek.gui.DockController controller)
Sets the controller in whose realm this menu is used. |
| Method Detail |
|---|
CustomizationMenuContent getContent()
nullvoid setContent(CustomizationMenuContent content)
content - the new contents, can be nullvoid setController(bibliothek.gui.DockController controller)
controller - the new controller, can be null
void open(int x,
int y,
CustomizationMenuCallback callback)
station. The menus top left corner should be at coordinates
x,y.
x - the x coordinatey - the y coordinatecallback - allows communication with the station that opened this menu
IllegalArgumentException - if callback is null
IllegalStateException - if there is no content to showvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||