Class FieldDataEvent


  • public class FieldDataEvent
    extends Object
    A data event is used to notify listeners that a pivot field has changed.
    Author:
    jumperchen
    • Constructor Detail

      • FieldDataEvent

        public FieldDataEvent​(PivotField field,
                              String type,
                              Object origin,
                              Object current)
        Constructor
        Parameters:
        field - a PivotField
        type - a name of the event type
        origin - the original value
        current - 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