|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DropDownView
A connection between an drop-down-item and a view. Clients should use instances of this interface as if they access a button.
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 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. |
Method Detail |
---|
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()
Icon
s, any field pointing to an Icon
is set to null
void setEnabled(boolean enabled)
enabled
- the statevoid setSelected(boolean selected)
selected
- the statevoid setDockableRepresentation(Dockable dockable)
Dockable
which is represented by the view.
dockable
- the represented element, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |