|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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 Icon s, any field pointing to an Icon is set to null |
ActionContentModifier[] |
getIconContexts()
Gets the ActionContentModifier s 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 DropDownView
enabled
- the statepublic ActionContentModifier[] getIconContexts()
DropDownView
ActionContentModifier
s for which DropDownView.setIcon(ActionContentModifier, Icon)
was called
with a value other than null
.
getIconContexts
in interface DropDownView
public void clearIcons()
DropDownView
Icon
s, 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 DropDownView
modifier
- the context in which the icon is used, not null
icon
- the iconpublic void setSelected(boolean selected)
DropDownView
setSelected
in interface DropDownView
selected
- the statepublic void setText(String text)
DropDownView
setText
in interface DropDownView
text
- the textpublic void setTooltip(String tooltip)
DropDownView
setTooltip
in interface DropDownView
tooltip
- the tooltippublic void setDockableRepresentation(Dockable dockable)
DropDownView
Dockable
which is represented by the view.
setDockableRepresentation
in interface DropDownView
dockable
- the represented element, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |