org.eclipse.birt.chart.event
Class StructureChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.eclipse.birt.chart.event.ChartEvent
          extended byorg.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

Field Summary
static int AFTER
           
static int BEFORE
           
static int UNDEFINED
           
 
Constructor Summary
StructureChangeEvent(java.lang.Object source)
          The constructor.
 
Method Summary
 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
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

StructureChangeEvent

public StructureChangeEvent(java.lang.Object source)
The constructor.

Method Detail

getEventName

public final java.lang.String getEventName(boolean bStripType)
Returns the event name.

Parameters:
bStripType - Specifies if the name if striped.
Returns:

setEventName

public final 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 final 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 class ChartEvent


Copyright © 2005-2007 Actuate Corp. All rights reserved.