|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IActionBinder includes methods for enabling and disabling the state of a bound
visual element.
See IActionBinder1 for flags and methods
that can be used to dynamically enable or disable the state.
| Nested Class Summary | |
static class |
IActionBinder.ActionBinderEvent
A action binder event is fired before and after the ActionBinder's action is performed. |
static interface |
IActionBinder.ActionBinderListener
Interface used to register for action triggering notification. |
| Field Summary | |
static int |
ENABLE_DISABLE_ACTION
Deprecated. |
static int |
ENABLE_ENABLE_ACTION
Deprecated. |
static int |
ENABLE_NO_ACTION
Deprecated. |
| Method Summary | |
void |
addActionBinderListener(IActionBinder.ActionBinderListener l)
Add a new ActionBinderListner to the listener list. |
int |
getActionType()
Deprecated. |
boolean |
isEnabled()
Retrieves the enabled state of the action. |
void |
removeActionBinderListener(IActionBinder.ActionBinderListener l)
Remove an existing ActionBinderListener from the listener list. |
void |
setActionType(int type)
Deprecated. |
void |
setEnabled(boolean state)
Set the enabled state of the action. |
| Field Detail |
public static final int ENABLE_ENABLE_ACTION
public static final int ENABLE_DISABLE_ACTION
public static final int ENABLE_NO_ACTION
| Method Detail |
public int getActionType()
public void setActionType(int type)
ENABLE_ENABLE_ACTION it will be enabled
when an its argument property has changed, and vice versa when the
actionType is ENABLE_DISABLE_ACTION.
type - the action type.public boolean isEnabled()
public void setEnabled(boolean state)
state - true if the action should be enabled, false if disabled.public void addActionBinderListener(IActionBinder.ActionBinderListener l)
l - the new listenerpublic void removeActionBinderListener(IActionBinder.ActionBinderListener l)
l - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||