|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractFigure
org.jhotdraw.draw.AttributedFigure
org.jhotdraw.draw.RoundRectangleFigure
org.jhotdraw.samples.svg.figures.SVGRect
public class SVGRect
SVGRect.
FIXME - Add support for transforms.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.AbstractFigure |
|---|
changingDepth, decorator, listenerList |
| Constructor Summary | |
|---|---|
SVGRect()
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
Returns true, if this figure is empty for one of the following reasons: A group has no children A path has less than two points An ellipse or a rectangle has a width or a height of 0 A text has no characters |
void |
read(DOMInput in)
|
protected void |
readAttributes(DOMInput in)
|
void |
write(DOMOutput out)
|
protected void |
writeAttributes(DOMOutput out)
|
| Methods inherited from class org.jhotdraw.draw.RoundRectangleFigure |
|---|
basicSetBounds, basicTransform, chop, clone, contains, createHandles, drawFill, drawStroke, findCompatibleConnector, findConnector, getArcHeight, getArcWidth, getBounds, getFigureDrawBounds, getRestoreData, restoreTo, setArc |
| Methods inherited from class org.jhotdraw.draw.AttributedFigure |
|---|
applyAttributesTo, basicSetAttribute, drawConnectors, drawFigure, drawText, getAttribute, getAttributeKey, getAttributes, getStroke, getStrokeMiterLimitFactor, hasAttribute, isAttributeEnabled, removeAttribute, setAttribute, setAttributeEnabled, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SVGRect()
| Method Detail |
|---|
public void read(DOMInput in)
throws java.io.IOException
read in interface DOMStorableread in class RoundRectangleFigurejava.io.IOException
protected void readAttributes(DOMInput in)
throws java.io.IOException
readAttributes in class AttributedFigurejava.io.IOException
public void write(DOMOutput out)
throws java.io.IOException
write in interface DOMStorablewrite in class RoundRectangleFigurejava.io.IOException
protected void writeAttributes(DOMOutput out)
throws java.io.IOException
writeAttributes in class AttributedFigurejava.io.IOExceptionpublic boolean isEmpty()
SVGFigure
isEmpty in interface SVGFigure
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||