|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object th.co.edge.jseq.argouml.pgml.Fig
public abstract class Fig
A Fig
represents a PGML figure of some kind.
Constructor Summary | |
---|---|
Fig(java.lang.String name,
Fill fill,
FillColor fillColor,
Stroke stroke,
StrokeColor strokeColor)
Creates a new Fig . |
Method Summary | |
---|---|
protected org.w3c.dom.Element |
createElement(org.w3c.dom.Document doc,
java.lang.String tag)
|
Fill |
getFill()
Returns the stroke attribute of this figure object, that is, whether or not this figure should be filled. |
FillColor |
getFillColor()
Returns the fill color of this figure object, that is, if this figure should be filled, the color to use. |
java.lang.String |
getName()
Returns the name of this figure object. |
Stroke |
getStroke()
Returns the stroke attribute of this figure object, that is, whether or not |
StrokeColor |
getStrokeColor()
|
abstract org.w3c.dom.Element |
getXML(org.w3c.dom.Document doc)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fig(java.lang.String name, Fill fill, FillColor fillColor, Stroke stroke, StrokeColor strokeColor)
Fig
.
name
- the name of the new Figfill
- determines if the figure should be filled or notfillColor
- if the figure should be filled, determines the color to usestroke
- determines if the figure should be stroked or notstrokeColor
- if the figure should be stroked, determines the color to use
Method Detail |
---|
public abstract org.w3c.dom.Element getXML(org.w3c.dom.Document doc)
protected org.w3c.dom.Element createElement(org.w3c.dom.Document doc, java.lang.String tag)
public java.lang.String getName()
public Fill getFill()
public FillColor getFillColor()
public Stroke getStroke()
public StrokeColor getStrokeColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |