oracle.adfnmc.component.action
Class GenericAction
java.lang.Object
oracle.adfnmc.component.action.GenericAction
- All Implemented Interfaces:
- ValueChangeListener
- Direct Known Subclasses:
- Action
public abstract class GenericAction
- extends java.lang.Object
- implements ValueChangeListener
- Author:
- jmiers
Constructor Summary |
protected |
GenericAction()
|
protected |
GenericAction(java.lang.String elExpression,
java.lang.Class expectedType)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_INSTANCE
public static final java.lang.Class CLASS_INSTANCE
m_elExpression
protected java.lang.String m_elExpression
m_valueExpression
protected ValueExpression m_valueExpression
GenericAction
protected GenericAction()
GenericAction
protected GenericAction(java.lang.String elExpression,
java.lang.Class expectedType)
bindExpression
protected void bindExpression()
expressionIsLiteral
protected abstract void expressionIsLiteral()
- Sub-classes of this abstract class must convert the el expression into a literal
m_valueExpression is not guaranteed to be non-null, so it must be checked before
being used. If m_valueExpression is null, the value must be extracted from the
string m_elExpression and coerced into the proper type from there.
hasElExpression
protected boolean hasElExpression()
executeAction
public static GenericActionResult executeAction(GenericAction action)
executeAction
public static GenericActionResult executeAction(GenericAction action,
boolean enabled)
executeAction
public GenericActionResult executeAction()
valueChanged
public void valueChanged(ValueExpression sourceExpression)
- Specified by:
valueChanged
in interface ValueChangeListener
- Parameters:
sourceExpression
- - the ValueExpression instance this listener was registered with
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.