protected class BasicDropDownButtonHandler.SelectionView extends Object implements DropDownView
| Modifier | Constructor and Description |
|---|---|
protected |
SelectionView() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearIcons()
|
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.
|
public void setEnabled(boolean enabled)
DropDownViewsetEnabled in interface DropDownViewenabled - the statepublic ActionContentModifier[] getIconContexts()
DropDownViewActionContentModifiers for which DropDownView.setIcon(ActionContentModifier, Icon) was called
with a value other than null.getIconContexts in interface DropDownViewpublic void clearIcons()
DropDownViewclearIcons in interface DropDownViewpublic void setIcon(ActionContentModifier modifier, Icon icon)
DropDownViewsetIcon in interface DropDownViewmodifier - the context in which the icon is used, not nullicon - the iconpublic void setSelected(boolean selected)
DropDownViewsetSelected in interface DropDownViewselected - the statepublic void setText(String text)
DropDownViewsetText in interface DropDownViewtext - the textpublic void setTooltip(String tooltip)
DropDownViewsetTooltip 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 nullCopyright © 2017 Docking Frames. All rights reserved.