|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.internal.event.EventBoundListener
public class EventBoundListener
Provides a mapping for listener methods that are bound to events, used
internally by ComponentEventProperty
.
Constructor Summary | |
---|---|
EventBoundListener(String methodName,
String componentId)
Creates a new listener binding. |
|
EventBoundListener(String methodName,
String componentId,
boolean autoSubmit)
Creates a new listener binding. |
|
EventBoundListener(String methodName,
String formId,
boolean validateForm,
String componentId,
boolean async,
boolean focus)
Creates a new listener binding. |
|
EventBoundListener(String methodName,
String formId,
boolean validateForm,
String componentId,
boolean async,
boolean focus,
boolean autoSubmit)
Creates a new listener binding. |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getComponentId()
|
String |
getComponentIdPath()
|
String |
getFormId()
|
String |
getMethodName()
|
int |
hashCode()
|
boolean |
isAsync()
Whether or not listener should submit form asynchronously. |
boolean |
isAutoSubmit()
|
boolean |
isValidateForm()
|
void |
setComponentId(String id)
|
void |
setComponentIdPath(String idPath)
|
void |
setFormId(String id)
|
boolean |
shouldFocusForm()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventBoundListener(String methodName, String componentId)
methodName
- The method to invoke.public EventBoundListener(String methodName, String componentId, boolean autoSubmit)
methodName
- The method to invoke.public EventBoundListener(String methodName, String formId, boolean validateForm, String componentId, boolean async, boolean focus, boolean autoSubmit)
methodName
- The method to invoke.formId
- If not null the form to submit before invoking listenervalidateForm
- If formId is set, whether or not to validate form when submitting.public EventBoundListener(String methodName, String formId, boolean validateForm, String componentId, boolean async, boolean focus)
methodName
- The method to invoke.formId
- If not null the form to submit before invoking listenervalidateForm
- If formId is set, whether or not to validate form when submitting.Method Detail |
---|
public String getFormId()
public void setFormId(String id)
public String getMethodName()
public String getComponentId()
public void setComponentId(String id)
public void setComponentIdPath(String idPath)
public boolean isValidateForm()
public boolean isAsync()
public boolean shouldFocusForm()
public boolean isAutoSubmit()
public String getComponentIdPath()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |