Class ClippingEvent

java.lang.Object
java.util.EventObject
com.inet.report.event.ClippingEvent
All Implemented Interfaces:
Serializable

public class ClippingEvent extends EventObject
An object of this type is passed to a clipping listener on the event of a clip while rendering an element. This object contains three pieces of information:
  • A reference to the element which is being clipped.
  • The actual value of the element which is being clipped.
  • The text string of what is being displayed after the clip.
Since:
6.1
See Also:
  • Constructor Details

    • ClippingEvent

      public ClippingEvent(Object source, Object value, String valueAfter)
      FOR INTERNAL USE ONLY
      Since:
      6.1
    • ClippingEvent

      public ClippingEvent(Object source)
      FOR INTERNAL USE ONLY
      Since:
      6.1
  • Method Details

    • getElement

      public Element getElement()
      Returns the element on which the clipping occurred.
      Returns:
      An Element on which the clipping occurred.
      Since:
      6.1
    • getValueBeforeClip

      public Object getValueBeforeClip()
      Returns the actual value which will be clipped or truncated.
      Returns:
      The actual value (Long, Double, String, etc...).
      Since:
      6.1
    • getClippedResult

      public String getClippedResult()
      Returns the displayed text value after clipping.
      Returns:
      The clipped value as a string object.
      Since:
      6.1