public interface ILcyActiveSettable extends Serializable, ILcdPropertyChangeSource
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT |
static String |
LONG_DESCRIPTION |
static String |
NAME |
static String |
SHORT_DESCRIPTION |
static String |
SHOW_ACTION_NAME
|
static String |
SMALL_ICON |
static String |
SMALL_SELECTED_ICON
Constant key for SmallSelectedIcon property.
|
static String |
VISIBLE |
Modifier and Type | Method and Description |
---|---|
Object |
getValue(String aKey)
Gets a value given its key.
|
boolean |
isActive()
Returns true if the state of this object is active, false if the state is inactive.
|
boolean |
isEnabled()
Returns true if this object is enabled, false otherwise.
|
void |
putValue(String aKey,
Object aValue)
Associates a given value with a given key.
|
void |
setActive(boolean aActive)
Sets the active state of this object.
|
void |
setEnabled(boolean aEnabled)
Sets the enabled state of this active settable.
|
addPropertyChangeListener, removePropertyChangeListener
static final String DEFAULT
ILcdAction
,
Constant Field Valuesstatic final String NAME
ILcdAction
,
Constant Field Valuesstatic final String SHORT_DESCRIPTION
ILcdAction
,
Constant Field Valuesstatic final String LONG_DESCRIPTION
ILcdAction
,
Constant Field Valuesstatic final String SMALL_ICON
ILcdAction
,
Constant Field Valuesstatic final String VISIBLE
ILcdAction
,
Constant Field Valuesstatic final String SMALL_SELECTED_ICON
ILcdIcon
.static final String SHOW_ACTION_NAME
boolean isActive()
setActive(boolean)
).setActive(boolean)
void setActive(boolean aActive)
aActive
- True if the new state is active, false if the new state is inactive.isActive()
Object getValue(String aKey)
aKey
- The key to retrieve the value for.putValue(java.lang.String, java.lang.Object)
void putValue(String aKey, Object aValue)
aKey
- The key.aValue
- The value to associate to the key.getValue(java.lang.String)
void setEnabled(boolean aEnabled)
aEnabled
- True if the new state of this object is enabled, false otherwise.isEnabled()
boolean isEnabled()
setEnabled(boolean)