public class SketchEvent extends EventObject
SketchListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
SYMBOL_ADDED
Symbol added event type.
|
static int |
SYMBOL_MODIFIED
Symbol modified event type.
|
static int |
SYMBOL_REMOVED
Symbol removed event type.
|
source
Constructor and Description |
---|
SketchEvent(int id,
Object source)
Create a SketchEvent object with the specified
event type and the symbol that initiates this
event.
|
Modifier and Type | Method and Description |
---|---|
int |
getID()
Return the event type id.
|
Symbol |
getSymbol()
Return the symbol that initiates this event.
|
String |
toString()
String representation of the event.
|
getSource
public static final int SYMBOL_ADDED
public static final int SYMBOL_REMOVED
public static final int SYMBOL_MODIFIED
public SketchEvent(int id, Object source)
public int getID()
public Symbol getSymbol()
public String toString()
toString
in class EventObject
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.