|
||||||||||
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.ButtonView
protected class BasicDropDownButtonHandler.ButtonView
A view that sends all values directly to the button.
Constructor Summary | |
---|---|
protected |
BasicDropDownButtonHandler.ButtonView()
|
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. |
void |
updateText()
Updates the text that is shown by the button, respects the BasicDropDownButtonHandler.buttonContentFilter . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BasicDropDownButtonHandler.ButtonView()
Method Detail |
---|
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 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 setEnabled(boolean enabled)
DropDownView
setEnabled
in interface DropDownView
enabled
- the statepublic 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 updateText()
BasicDropDownButtonHandler.buttonContentFilter
.
public 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 |