Package org.eclipse.birt.chart.event
Class StructureChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.birt.chart.event.ChartEvent
-
- org.eclipse.birt.chart.event.StructureChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public final class StructureChangeEvent extends ChartEvent
A event type indicates a structure change.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StructureChangeEvent(java.lang.Object source)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEventName(boolean bStripType)
Returns the event name.int
getEventType()
A convenience method provided to indicate if the event occurs before the start of a structure definition or after the end of a structure definition.void
reset()
Resets the inner state of current event.void
setEventName(java.lang.String sEventName)
Sets the event name.-
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent
setSourceObject
-
-
-
-
Field Detail
-
UNDEFINED
public static final int UNDEFINED
- See Also:
- Constant Field Values
-
BEFORE
public static final int BEFORE
- See Also:
- Constant Field Values
-
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEventName
public java.lang.String getEventName(boolean bStripType)
Returns the event name.- Parameters:
bStripType
- Specifies if the name if striped.- Returns:
-
setEventName
public void setEventName(java.lang.String sEventName)
Sets the event name.- Parameters:
sEventName
- This must include the 'before' or 'after' prefix as defined by each of the constants in IStructureDefinition
-
getEventType
public int getEventType()
A convenience method provided to indicate if the event occurs before the start of a structure definition or after the end of a structure definition.- Returns:
- An event type indicating BEFORE or AFTER a structure definition
-
reset
public void reset()
Description copied from class:ChartEvent
Resets the inner state of current event. This must be implemented if the object is cached and reused.- Specified by:
reset
in classChartEvent
-
-