|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.PropertyActionListenerCommand
public class PropertyActionListenerCommand
This Command
will create an actionListener
method binding and assign it to the UIComponent
implementing
the ActionSource
interface.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
PropertyActionListenerCommand()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Looks to see if the AttributeBean on the ClayContext is a
actionListener attribute. |
Methods inherited from class org.apache.shale.clay.component.chain.AbstractCommand |
---|
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyActionListenerCommand()
Method Detail |
---|
public boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Looks to see if the AttributeBean
on the ClayContext
is a
actionListener
attribute. If it is, create a
MethodBinding
and assign it to the component returning a
true
value. Otherwise, return a false
value. This Command
is invoked from the
AssignPropertiesCommand
chain.
execute
in interface org.apache.commons.chain.Command
execute
in class AbstractCommand
context
- common chains
true
if the chain is complete
java.lang.Exception
- propagated up to the top of the chain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |