public interface SelectableIconHolder extends IconHolder
Button,
SpanButton, MultiButton, etc... This interface includes
methods for managing different icons for different component states (e.g. pressed, disabled, etc..).| Modifier and Type | Method and Description |
|---|---|
Image |
getDisabledIcon()
Indicates the icon that is displayed on the button when the button is in
the disabled state
|
Image |
getIconFromState()
Returns the icon for the button based on its current state
|
Image |
getPressedIcon()
Indicates the icon that is displayed on the button when the button is in
pressed state
|
Image |
getRolloverIcon()
Indicates the icon that is displayed on the button when the button is in
rolled over state
|
Image |
getRolloverPressedIcon()
Indicates the icon that is displayed on the button when the button is in
pressed state and is selected.
|
void |
setDisabledIcon(Image disabledIcon)
Indicates the icon that is displayed on the button when the button is in
the disabled state
|
void |
setPressedIcon(Image pressedIcon)
Indicates the icon that is displayed on the button when the button is in
pressed state
|
void |
setRolloverIcon(Image rolloverIcon)
Indicates the icon that is displayed on the button when the button is in
rolled over state
|
void |
setRolloverPressedIcon(Image rolloverPressedIcon)
Indicates the icon that is displayed on the button when the button is in
pressed state and is selected.
|
getGap, getIcon, getIconStyleComponent, getIconUIID, getTextPosition, setFontIcon, setGap, setIcon, setIconUIID, setMaterialIcon, setTextPositionvoid setRolloverIcon(Image rolloverIcon)
rolloverIcon - icon to useButton.STATE_ROLLOVERImage getRolloverIcon()
Button.STATE_ROLLOVERvoid setPressedIcon(Image pressedIcon)
pressedIcon - icon usedButton.STATE_PRESSEDImage getPressedIcon()
Button.STATE_PRESSEDvoid setDisabledIcon(Image disabledIcon)
disabledIcon - icon usedImage getDisabledIcon()
void setRolloverPressedIcon(Image rolloverPressedIcon)
rolloverPressedIcon - icon usedImage getRolloverPressedIcon()
Image getIconFromState()