|
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.EllipseFigure
org.jhotdraw.samples.svg.figures.SVGEllipse
public class SVGEllipse
SVGEllipse presents a SVG ellipse or a SVG circle element. It is always written as an SVG ellipse element.
FIXME - Add support for transforms.
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.draw.AbstractFigure |
|---|
changingDepth, decorator, listenerList |
| Constructor Summary | |
|---|---|
SVGEllipse()
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.EllipseFigure |
|---|
basicSetBounds, basicTransform, clone, contains, drawFill, drawStroke, findCompatibleConnector, findConnector, getBounds, getFigureDrawBounds, getRestoreData, restoreTo |
| 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 SVGEllipse()
| Method Detail |
|---|
public void write(DOMOutput out)
throws java.io.IOException
write in interface DOMStorablewrite in class AttributedFigurejava.io.IOException
protected void writeAttributes(DOMOutput out)
throws java.io.IOException
writeAttributes in class AttributedFigurejava.io.IOException
public void read(DOMInput in)
throws java.io.IOException
read in interface DOMStorableread in class AttributedFigurejava.io.IOException
protected void readAttributes(DOMInput in)
throws java.io.IOException
readAttributes 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 | |||||||||