org.jhotdraw.samples.svg
Class SVGDrawing
java.lang.Object
org.jhotdraw.beans.AbstractBean
org.jhotdraw.draw.AbstractDrawing
org.jhotdraw.draw.DefaultDrawing
org.jhotdraw.samples.svg.SVGDrawing
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.UndoableEditListener, Drawing, FigureListener, DOMStorable
public class SVGDrawing
- extends DefaultDrawing
SVGDrawing.
- See Also:
- Serialized Form
|
Constructor Summary |
SVGDrawing()
Creates a new instance. |
| Methods inherited from class org.jhotdraw.draw.DefaultDrawing |
basicAdd, basicRemove, bringToFront, contains, draw, draw, figureAdded, figureAreaInvalidated, figureAttributeChanged, figureChanged, figureRemoved, figureRequestRemove, findFigure, findFigureExcept, findFigureExcept, findFigureInside, findFigures, findFiguresWithin, getFigures, getFiguresFrontToBack, indexOf, sendToBack, sort, undoableEditHappened |
| Methods inherited from class org.jhotdraw.draw.AbstractDrawing |
add, addAll, addDrawingListener, addUndoableEditListener, basicAdd, basicAddAll, basicRemoveAll, clear, fireAreaInvalidated, fireFigureAdded, fireFigureRemoved, fireUndoableEditHappened, getFigureCount, getFontRenderContext, getLock, remove, removeAll, removeDrawingListener, removeUndoableEditListener, setFontRenderContext |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGDrawing
public SVGDrawing()
- Creates a new instance.
setTitle
public void setTitle(java.lang.String newValue)
getTitle
public java.lang.String getTitle()
setDescription
public void setDescription(java.lang.String newValue)
getDescription
public java.lang.String getDescription()
read
public void read(DOMInput in)
throws java.io.IOException
- Specified by:
read in interface DOMStorable- Overrides:
read in class AbstractDrawing
- Throws:
java.io.IOException
readAttributes
protected void readAttributes(DOMInput in)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(DOMOutput out)
throws java.io.IOException
- Specified by:
write in interface DOMStorable- Overrides:
write in class AbstractDrawing
- Throws:
java.io.IOException