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, setTextPosition
void setRolloverIcon(Image rolloverIcon)
rolloverIcon
- icon to useButton.STATE_ROLLOVER
Image getRolloverIcon()
Button.STATE_ROLLOVER
void setPressedIcon(Image pressedIcon)
pressedIcon
- icon usedButton.STATE_PRESSED
Image getPressedIcon()
Button.STATE_PRESSED
void setDisabledIcon(Image disabledIcon)
disabledIcon
- icon usedImage getDisabledIcon()
void setRolloverPressedIcon(Image rolloverPressedIcon)
rolloverPressedIcon
- icon usedImage getRolloverPressedIcon()
Image getIconFromState()