public class Drawing.DefaultDrawingEvent extends java.lang.Object implements DrawingEvent
DrawingEvent.EventType
Constructor and Description |
---|
DefaultDrawingEvent(Element element,
DrawingEvent.EventType type) |
Modifier and Type | Method and Description |
---|---|
Drawing |
getDrawing()
Return the source of this event
|
Element |
getElement()
Return the graphic element that changed
|
DrawingEvent.EventType |
getType()
Return the event type
|
java.lang.String |
toString() |
public DefaultDrawingEvent(Element element, DrawingEvent.EventType type)
element
- the changed Elementtype
- the event typepublic Drawing getDrawing()
DrawingEvent
getDrawing
in interface DrawingEvent
public Element getElement()
DrawingEvent
getElement
in interface DrawingEvent
public DrawingEvent.EventType getType()
DrawingEvent
getType
in interface DrawingEvent
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug : syd@jpicedt.org