th.co.edge.jseq.argouml.pgml
Class Fig

java.lang.Object
  extended by th.co.edge.jseq.argouml.pgml.Fig
Direct Known Subclasses:
FigLink, FigObject, FigPath, FigRectangle, FigStimulus, FigText

public abstract class Fig
extends java.lang.Object

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

Fig

public Fig(java.lang.String name,
           Fill fill,
           FillColor fillColor,
           Stroke stroke,
           StrokeColor strokeColor)
Creates a new Fig.

Parameters:
name - the name of the new Fig
fill - determines if the figure should be filled or not
fillColor - if the figure should be filled, determines the color to use
stroke - determines if the figure should be stroked or not
strokeColor - if the figure should be stroked, determines the color to use
Method Detail

getXML

public abstract org.w3c.dom.Element getXML(org.w3c.dom.Document doc)

createElement

protected org.w3c.dom.Element createElement(org.w3c.dom.Document doc,
                                            java.lang.String tag)

getName

public java.lang.String getName()
Returns the name of this figure object.

Returns:
the name of this figure object

getFill

public Fill getFill()
Returns the stroke attribute of this figure object, that is, whether or not this figure should be filled.

Returns:
the stroke attribute of this figure object

getFillColor

public FillColor getFillColor()
Returns the fill color of this figure object, that is, if this figure should be filled, the color to use.

Returns:
the fill color of this figure object

getStroke

public Stroke getStroke()
Returns the stroke attribute of this figure object, that is, whether or not

Returns:

getStrokeColor

public StrokeColor getStrokeColor()


Copyright © 2008 Edge Software, Co., Ltd.. All Rights Reserved.