public interface ILcyActiveSettable extends java.io.Serializable, ILcdPropertyChangeSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT |
static java.lang.String |
LONG_DESCRIPTION |
static java.lang.String |
NAME |
static java.lang.String |
SHORT_DESCRIPTION |
static java.lang.String |
SHOW_ACTION_NAME
|
static java.lang.String |
SMALL_ICON |
static java.lang.String |
SMALL_SELECTED_ICON
Constant key for SmallSelectedIcon property.
|
static java.lang.String |
VISIBLE |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue(java.lang.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(java.lang.String aKey,
java.lang.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 java.lang.String DEFAULT
ILcdAction
,
Constant Field Valuesstatic final java.lang.String NAME
ILcdAction
,
Constant Field Valuesstatic final java.lang.String SHORT_DESCRIPTION
ILcdAction
,
Constant Field Valuesstatic final java.lang.String LONG_DESCRIPTION
ILcdAction
,
Constant Field Valuesstatic final java.lang.String SMALL_ICON
ILcdAction
,
Constant Field Valuesstatic final java.lang.String VISIBLE
ILcdAction
,
Constant Field Valuesstatic final java.lang.String SMALL_SELECTED_ICON
ILcdIcon
.static final java.lang.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()
java.lang.Object getValue(java.lang.String aKey)
aKey
- The key to retrieve the value for.putValue(java.lang.String, java.lang.Object)
void putValue(java.lang.String aKey, java.lang.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)