|
||||||||||
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 |
setDisabledIcon(javax.swing.Icon icon)
Sets the disabled icon of the button. |
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(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. |
Method Detail |
---|
void setText(java.lang.String text)
text
- the textvoid setTooltip(java.lang.String tooltip)
tooltip
- the tooltipvoid setIcon(javax.swing.Icon icon)
icon
- the iconvoid setDisabledIcon(javax.swing.Icon icon)
icon
- the disabled iconvoid 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 |