|
||||||||||
| 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.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 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. |
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 DropDownViewmodifier - the context in which the icon is used, not nullicon - the iconpublic 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 DropDownViewpublic void setEnabled(boolean enabled)
DropDownView
setEnabled in interface DropDownViewenabled - the statepublic void setSelected(boolean selected)
DropDownView
setSelected in interface DropDownViewselected - the statepublic void setText(String text)
DropDownView
setText in interface DropDownViewtext - the textpublic void updateText()
BasicDropDownButtonHandler.buttonContentFilter.
public 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 | |||||||||