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
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
An event specifying that a symbol has changed.static final int
An event specifying that a symbol has had its owning vertex changed.static final int
-
Method Summary
Modifier and TypeMethodDescriptionReturns the attribute data 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.int
Returns the type of this event.Returns the symbol that the change occured on.
-
Field Details
-
SYMBOL_OWNING_CHANGED
static final int SYMBOL_OWNING_CHANGEDAn event specifying that a symbol has had its owning vertex changed.- See Also:
-
SYMBOL_CHANGED
static final int SYMBOL_CHANGEDAn 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
-
getEventType
int getEventType()Returns the type of this event.- Returns:
- the type of this event.
-