|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jformdesigner.model.FormEvent
public class FormEvent
A form event.
Field Summary | |
---|---|
static java.lang.String |
FIELD_HANDLER
|
static java.lang.String |
FIELD_PASS_PARAMS
|
static java.lang.String |
FIELD_PROPERTY_NAME
|
Constructor Summary | |
---|---|
FormEvent(FormEvent orig)
Copy constructor. |
|
FormEvent(java.lang.String listener,
java.lang.String listenerMethod,
java.lang.String handler,
boolean passParams)
Constructs a form event. |
|
FormEvent(java.lang.String listener,
java.lang.String listenerMethod,
java.lang.String handler,
boolean passParams,
java.lang.String propertyName)
Constructs a form event. |
Method Summary | |
---|---|
FormComponent |
getComponent()
Returns the form component for this object. |
java.lang.String |
getHandler()
Returns the name of the method that the event handler will invoke on the target. |
java.lang.String |
getListener()
Returns the name of the listener interface (e.g. |
java.lang.String |
getListenerMethod()
Returns the name of the method in the listener interface that should trigger the handler (e.g. |
boolean |
getPassParams()
Returns whether the listener method parameters should passed to the handler method. |
java.lang.String |
getPropertyName()
Returns the property name used to add PropertyChangeListeners. |
void |
setHandler(java.lang.String handler)
Sets the name of the event handler method. |
void |
setPassParams(boolean passParams)
Sets whether the listener method parameters should passed to the handler method. |
void |
setPropertyName(java.lang.String propertyName)
Sets the property name used to add PropertyChangeListeners. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FIELD_HANDLER
public static final java.lang.String FIELD_PASS_PARAMS
public static final java.lang.String FIELD_PROPERTY_NAME
Constructor Detail |
---|
public FormEvent(java.lang.String listener, java.lang.String listenerMethod, java.lang.String handler, boolean passParams)
listener
- The name of the listener interface
(e.g. "java.awt.event.ActionListener").listenerMethod
- The name of the method in the listener interface
that should trigger the handler (e.g. "actionPerformed").handler
- The name of the event handler method.passParams
- If true, pass listener method parameters to the handler method.public FormEvent(java.lang.String listener, java.lang.String listenerMethod, java.lang.String handler, boolean passParams, java.lang.String propertyName)
listener
- The name of the listener interface
(e.g. "java.awt.event.ActionListener").listenerMethod
- The name of the method in the listener interface
that should trigger the handler (e.g. "actionPerformed").handler
- The name of the event handler method.passParams
- If true, pass listener method parameters to the handler method.propertyName
- The property name used to add PropertyChangeListeners.public FormEvent(FormEvent orig)
Method Detail |
---|
public java.lang.String getListener()
public java.lang.String getListenerMethod()
public java.lang.String getHandler()
public void setHandler(java.lang.String handler)
public boolean getPassParams()
public void setPassParams(boolean passParams)
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
public FormComponent getComponent()
public java.lang.String toString()
toString
in class java.lang.Object
|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |