|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.themes.basic.action.BasicDropDownButtonHandler.SelectionView
protected class BasicDropDownButtonHandler.SelectionView
A set of properties which can be set by the selected action.
| Constructor Summary | |
|---|---|
protected |
BasicDropDownButtonHandler.SelectionView()
|
| Method Summary | |
|---|---|
void |
clearIcons()
Clears all Icons, any field pointing to an Icon is set to null |
ActionContentModifier[] |
getIconContexts()
Gets the ActionContentModifiers for which DropDownView.setIcon(ActionContentModifier, Icon) was called
with a value other than null. |
void |
setDockableRepresentation(Dockable dockable)
Sets the Dockable which is represented by the view. |
void |
setEnabled(boolean enabled)
Sets the enabled-state of the button. |
void |
setIcon(ActionContentModifier modifier,
Icon icon)
Sets the icon of the button. |
void |
setSelected(boolean selected)
Sets the selected-state of the button. |
void |
setText(String text)
Sets the text of the button. |
void |
setTooltip(String tooltip)
Sets the tooltip of the button. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BasicDropDownButtonHandler.SelectionView()
| Method Detail |
|---|
public void setEnabled(boolean enabled)
DropDownView
setEnabled in interface DropDownViewenabled - the statepublic ActionContentModifier[] getIconContexts()
DropDownViewActionContentModifiers for which DropDownView.setIcon(ActionContentModifier, Icon) was called
with a value other than null.
getIconContexts in interface DropDownViewpublic void clearIcons()
DropDownViewIcons, any field pointing to an Icon is set to null
clearIcons in interface DropDownView
public void setIcon(ActionContentModifier modifier,
Icon icon)
DropDownView
setIcon in interface DropDownViewmodifier - the context in which the icon is used, not nullicon - the iconpublic void setSelected(boolean selected)
DropDownView
setSelected in interface DropDownViewselected - the statepublic void setText(String text)
DropDownView
setText in interface DropDownViewtext - the textpublic void setTooltip(String tooltip)
DropDownView
setTooltip in interface DropDownViewtooltip - the tooltippublic void setDockableRepresentation(Dockable dockable)
DropDownViewDockable which is represented by the view.
setDockableRepresentation in interface DropDownViewdockable - the represented element, can be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||