Package org.zkoss.pivot.event
Class FieldDataEvent
- java.lang.Object
-
- org.zkoss.pivot.event.FieldDataEvent
-
public class FieldDataEvent extends Object
A data event is used to notify listeners that a pivot field has changed.- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description FieldDataEvent(PivotField field, String type, Object origin, Object current)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCurrent()
Returns the updated valueObject
getOrigin()
Returns the original valuePivotField
getPivotField()
Returns the pivot field which fires the event.String
getType()
Returns the name of the event type whose field has changed.
-
-
-
Constructor Detail
-
FieldDataEvent
public FieldDataEvent(PivotField field, String type, Object origin, Object current)
Constructor- Parameters:
field
- a PivotFieldtype
- a name of the event typeorigin
- the original valuecurrent
- the updated value
-
-
Method Detail
-
getPivotField
public PivotField getPivotField()
Returns the pivot field which fires the event.
-
getType
public String getType()
Returns the name of the event type whose field has changed.
-
getOrigin
public Object getOrigin()
Returns the original value
-
getCurrent
public Object getCurrent()
Returns the updated value
-
-