|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DropDownViewItem
An item that is shown in the menu of a drop-down-button and can be
selected by the button. Normally a DropDownViewItem is a
wrapper for some DockAction, although there may exist
exceptions.
| Method Summary | |
|---|---|
boolean |
isSelectable()
Tells whether this item can be selected by the button. |
boolean |
isTriggerable(boolean selected)
Tells whether the item can be triggered if it is on the button or in the menu. |
void |
setView(DropDownView view)
Sends the current settings of this item to the view. |
void |
triggered()
Invoked if the item is triggered from outside. |
| Methods inherited from interface bibliothek.gui.dock.themes.basic.action.menu.MenuViewItem |
|---|
addActionListener, removeActionListener |
| Methods inherited from interface bibliothek.gui.dock.action.view.ViewItem |
|---|
bind, getAction, getItem, unbind |
| Method Detail |
|---|
void triggered()
void setView(DropDownView view)
view - the view, might be nullboolean isSelectable()
false.
boolean isTriggerable(boolean selected)
selected - if true, then this item is currently shown
directly on the main button, otherwise it is in the drop-down menu.
true if the item can be triggered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||