|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
diva.sketch.SketchEvent
public class SketchEvent
A SketchEvent is generated by sketch model when the model has been modified. It contains a symbol which is either added, modified, or deleted from the model.
SketchListener
,
Serialized FormField Summary | |
---|---|
static int |
SYMBOL_ADDED
Symbol added event type. |
static int |
SYMBOL_MODIFIED
Symbol modified event type. |
static int |
SYMBOL_REMOVED
Symbol removed event type. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SketchEvent(int id,
Object source)
Create a SketchEvent object with the specified event type and the symbol that initiates this event. |
Method Summary | |
---|---|
int |
getID()
Return the event type id. |
Symbol |
getSymbol()
Return the symbol that initiates this event. |
String |
toString()
String representation of the event. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SYMBOL_ADDED
public static final int SYMBOL_REMOVED
public static final int SYMBOL_MODIFIED
Constructor Detail |
---|
public SketchEvent(int id, Object source)
Method Detail |
---|
public int getID()
public Symbol getSymbol()
public String toString()
toString
in class EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |