public interface DropDownView
Modifier and Type | Method and Description |
---|---|
void |
clearIcons()
|
ActionContentModifier[] |
getIconContexts()
Gets the
ActionContentModifier s for which 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 setText(String text)
text
- the textvoid setTooltip(String tooltip)
tooltip
- the tooltipvoid setIcon(ActionContentModifier modifier, Icon icon)
modifier
- the context in which the icon is used, not null
icon
- the iconActionContentModifier[] getIconContexts()
ActionContentModifier
s for which setIcon(ActionContentModifier, Icon)
was called
with a value other than null
.void clearIcons()
void setEnabled(boolean enabled)
enabled
- the statevoid setSelected(boolean selected)
selected
- the state