Package com.inet.report.event
Class ClippingEvent
java.lang.Object
java.util.EventObject
com.inet.report.event.ClippingEvent
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionClippingEvent
(Object source) FOR INTERNAL USE ONLYClippingEvent
(Object source, Object value, String valueAfter) FOR INTERNAL USE ONLY -
Method Summary
Modifier and TypeMethodDescriptionReturns the displayed text value after clipping.Returns the element on which the clipping occurred.Returns the actual value which will be clipped or truncated.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ClippingEvent
FOR INTERNAL USE ONLY- Since:
- 6.1
-
ClippingEvent
FOR INTERNAL USE ONLY- Since:
- 6.1
-
-
Method Details
-
getElement
Returns the element on which the clipping occurred.- Returns:
- An Element on which the clipping occurred.
- Since:
- 6.1
-
getValueBeforeClip
Returns the actual value which will be clipped or truncated.- Returns:
- The actual value (Long, Double, String, etc...).
- Since:
- 6.1
-
getClippedResult
Returns the displayed text value after clipping.- Returns:
- The clipped value as a string object.
- Since:
- 6.1
-