JHotDraw 7.0.9

org.jhotdraw.samples.svg
Class SVGDrawing

java.lang.Object
  extended by org.jhotdraw.beans.AbstractBean
      extended by org.jhotdraw.draw.AbstractDrawing
          extended by org.jhotdraw.draw.QuadTreeDrawing
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.draw.QuadTreeDrawing
QuadTreeDrawing.FigureHandler
 
Field Summary
 
Fields inherited from class org.jhotdraw.draw.AbstractDrawing
listenerList
 
Fields inherited from class org.jhotdraw.beans.AbstractBean
propertySupport
 
Constructor Summary
SVGDrawing()
          Creates a new instance.
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getTitle()
           
 void read(DOMInput in)
           
protected  void readAttributes(DOMInput in)
           
 void setDescription(java.lang.String newValue)
           
 void setTitle(java.lang.String newValue)
           
 void write(DOMOutput out)
           
 
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 org.jhotdraw.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGDrawing

public SVGDrawing()
Creates a new instance.

Method Detail

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

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.