i-net Clear Reports

com.inet.report.event
Class ClippingEvent

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

public class ClippingEvent
extends java.util.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:

Since:
6.1
See Also:
Serialized Form

Method Summary
 java.lang.String getClippedResult()
          Returns the displayed text value after clipping.
 Element getElement()
          Returns the element on which the clipping occurred.
 java.lang.Object getValueBeforeClip()
          Returns the actual value which will be clipped or truncated.
 

Method Detail

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 java.lang.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 java.lang.String getClippedResult()
Returns the displayed text value after clipping.

Returns:
The clipped value as a string object.
Since:
6.1

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH