Class 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

      Fields 
      Modifier and Type Field Description
      static int AFTER  
      static int BEFORE  
      static int UNDEFINED  
    • 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 java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StructureChangeEvent

        public StructureChangeEvent​(java.lang.Object source)
        The constructor.
    • 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 class ChartEvent