Interface SymbolChangeEvent


public interface SymbolChangeEvent
An event describing a symbol change.

An event specifies that a symbol has changed in some way.

To listen for symbol change events, register an MTSymbolStoreListener using the white board pattern.
Author:
Per-Erik
See Also:
  • Field Details

    • SYMBOL_OWNING_CHANGED

      static final int SYMBOL_OWNING_CHANGED
      An event specifying that a symbol has had its owning vertex changed.
      See Also:
    • SYMBOL_CHANGED

      static final int SYMBOL_CHANGED
      An event specifying that a symbol has changed.
      See Also:
    • SYMBOL_ATTRIBUTE_CHANGED

      static final int SYMBOL_ATTRIBUTE_CHANGED
      See Also:
    • SYMBOL_TITLE_CHANGED

      static final int SYMBOL_TITLE_CHANGED
      See Also:
  • Method Details

    • getSymbol

      MTSymbolHeader getSymbol()
      Returns the symbol that the change occured on.
      Returns:
      the symbol that the change occured on.
    • getAttributeType

      MTAttributeType getAttributeType()
      Returns the attribute type of the attribute that changed or null if this is not a symbol attribute change event.
      Returns:
      the attribute type of the attribute that changed or null if this is not a symbol attribute change event
    • getAttributeData

      String getAttributeData()
      Returns the attribute data of the attribute that changed or null if this is not a symbol attribute change event.
      Returns:
      the attribute data of the attribute that changed or null if this is not a symbol attribute change event
    • getLabelBounds

      Map<Long,Map> getLabelBounds()
    • getEventType

      int getEventType()
      Returns the type of this event.
      Returns:
      the type of this event.