alt.jiapi.event
Class FieldEvent
java.lang.Object
java.util.EventObject
alt.jiapi.event.JiapiEvent
alt.jiapi.event.FieldEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FieldEvent
- extends JiapiEvent
FieldEvent objects are used to identify fields that
are accessed somehow.
- Version:
- $Revision: 1.5 $ $Date: 2006/01/31 11:11:42 $
- Author:
- Mika Riekkinen, Joni Suominen
- See Also:
- Serialized Form
Field Summary |
static int |
FIELD_GET
Constant used as an id of the FieldEvent |
static int |
FIELD_SET
Constant used as an id of the FieldEvent |
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.String |
getFieldName()
Gets the name of the field, that triggered this event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FIELD_GET
public static final int FIELD_GET
- Constant used as an id of the FieldEvent
- See Also:
- Constant Field Values
FIELD_SET
public static final int FIELD_SET
- Constant used as an id of the FieldEvent
- See Also:
- Constant Field Values
FieldEvent
public FieldEvent(FieldEventProducer fep,
java.lang.Object sourceObject,
java.lang.String fieldName,
int id)
- Constructor.
- Parameters:
fep
- An instance of FieldEventProducer.sourceObject
- A Source Object. On static methods, this
is the Class
, that method belongs to.
Otherwise Source Object is 'this
'.fieldName
- Name of the Field that triggered this eventid
- FIELD_SET or FIELD_GET values should be used
FieldEvent
public FieldEvent(FieldEventProducer fep,
java.lang.Object sourceObject,
java.lang.String fieldName,
java.lang.Object target,
int id)
- Constructor.
- Parameters:
fep
- An instance of FieldEventProducer.sourceObject
- A Source Object. On static methods, this
is the Class
, that method belongs to.
Otherwise Source Object is 'this
'.fieldName
- Name of the Field that triggered this eventtarget
- id
- FIELD_SET or FIELD_GET values should be used
getFieldName
public java.lang.String getFieldName()
- Gets the name of the field, that triggered this event.
Copyright © 2001. Documenation generated August 26 2011.