public class FieldEvent extends JiapiEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_GET
Constant used as an id of the FieldEvent
|
static int |
FIELD_SET
Constant used as an id of the FieldEvent
|
id, sourceObject, target, targetNamesource| Constructor and Description |
|---|
FieldEvent(FieldEventProducer fep,
Object sourceObject,
String fieldName,
int id)
Constructor.
|
FieldEvent(FieldEventProducer fep,
Object sourceObject,
String fieldName,
Object target,
int id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName()
Gets the name of the field, that triggered this event.
|
finalize, getSourceObject, getTarget, getTargetName, protect, release, toStringgetSourcepublic static final int FIELD_SET
public static final int FIELD_GET
public FieldEvent(FieldEventProducer fep, Object sourceObject, String fieldName, int id)
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 usedpublic FieldEvent(FieldEventProducer fep, Object sourceObject, String fieldName, Object target, int id)
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 - targetid - FIELD_SET or FIELD_GET values should be usedpublic String getFieldName()
Copyright © 2017. All rights reserved.