org.jhotdraw.samples.svg
Class SVGDrawing
java.lang.Object
org.jhotdraw.beans.AbstractBean
org.jhotdraw.draw.AbstractDrawing
org.jhotdraw.draw.QuadTreeDrawing
org.jhotdraw.samples.svg.SVGDrawing
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Drawing, DOMStorable
public class SVGDrawing
- extends QuadTreeDrawing
SVGDrawing.
- Version:
- 1.0 July 8, 2006 Created.
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
Constructor Summary |
SVGDrawing()
Creates a new instance. |
Methods inherited from class org.jhotdraw.draw.QuadTreeDrawing |
basicAdd, basicRemove, bringToFront, contains, createFigureHandler, draw, draw, findFigure, findFigureBehind, findFigureBehind, findFigureExcept, findFigureExcept, findFigureInside, findFigures, findFiguresWithin, getCanvasSize, getFigures, getFigures, getFiguresFrontToBack, indexOf, sendToBack, setCanvasSize, sort |
Methods inherited from class org.jhotdraw.draw.AbstractDrawing |
add, add, addAll, addAll, addDrawingListener, addUndoableEditListener, basicAdd, basicAddAll, basicRemoveAll, clear, fireAreaInvalidated, fireFigureAdded, fireFigureRemoved, fireUndoableEditHappened, getFigureCount, getFontRenderContext, getInputFormats, getLock, getOutputFormats, remove, removeAll, removeDrawingListener, removeUndoableEditListener, setFontRenderContext, setInputFormats, setOutputFormats |
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