public interface DropDownView
Modifier and Type | Method and Description |
---|---|
void |
clearIcons()
Clears all
Icon s, any field pointing to an Icon is set to null |
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,
javax.swing.Icon icon)
Sets the icon of the button.
|
void |
setSelected(boolean selected)
Sets the selected-state of the button.
|
void |
setText(java.lang.String text)
Sets the text of the button.
|
void |
setTooltip(java.lang.String tooltip)
Sets the tooltip of the button.
|
void setText(java.lang.String text)
text
- the textvoid setTooltip(java.lang.String tooltip)
tooltip
- the tooltipvoid setIcon(ActionContentModifier modifier, javax.swing.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()
Icon
s, any field pointing to an Icon
is set to null
void setEnabled(boolean enabled)
enabled
- the statevoid setSelected(boolean selected)
selected
- the state