|
||||||||||
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(Icon icon)
Sets the disabled icon of the button. |
void |
setEnabled(boolean enabled)
Sets the enabled-state of the button. |
void |
setIcon(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(Icon icon)
icon
- the iconvoid setDisabledIcon(Icon icon)
icon
- the disabled iconvoid setEnabled(boolean enabled)
enabled
- the statevoid setSelected(boolean selected)
selected
- the state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |