public abstract class Shape extends AbstractOMEModelObject
Constructor and Description |
---|
Shape()
Default constructor.
|
Shape(Element element,
OMEModel model)
Constructs Shape recursively from an XML DOM tree.
|
asXMLElement, getChildrenByTagName, stripNamespacePrefix, update
public static final String NAMESPACE
public Shape()
public Shape(Element element, OMEModel model) throws EnumerationException
element
- Root of the XML DOM tree to construct a model object
graph from.model
- Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException
- If there is an error instantiating an
enumeration during model object creation.public void update(Element element, OMEModel model) throws EnumerationException
update
in interface OMEModelObject
update
in class AbstractOMEModelObject
element
- Root of the XML DOM tree to construct a model object
graph from.model
- Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException
- If there is an error instantiating an
enumeration during model object creation.public boolean link(Reference reference, OMEModelObject o)
OMEModelObject
link
in interface OMEModelObject
link
in class AbstractOMEModelObject
reference
- The type qualifier for the reference. This should
be the corresponding reference type for o
. If, for example,
o
is of type Image
, reference
MUST be of type ImageRef
.o
- Model object to link to.true
if this model object was able to handle the
reference, false
otherwise.public String getStrokeDashArray()
public void setStrokeDashArray(String strokeDashArray)
public Double getStrokeWidth()
public void setStrokeWidth(Double strokeWidth)
public Boolean getLocked()
public void setLocked(Boolean locked)
public FillRule getFillRule()
public void setFillRule(FillRule fillRule)
public Boolean getVisible()
public void setVisible(Boolean visible)
public LineCap getLineCap()
public void setLineCap(LineCap lineCap)
public NonNegativeInteger getTheC()
public void setTheC(NonNegativeInteger theC)
public FontFamily getFontFamily()
public void setFontFamily(FontFamily fontFamily)
public FontStyle getFontStyle()
public void setFontStyle(FontStyle fontStyle)
public NonNegativeInteger getFontSize()
public void setFontSize(NonNegativeInteger fontSize)
public Color getFillColor()
public void setFillColor(Color fillColor)
public String getText()
public void setText(String text)
public Color getStrokeColor()
public void setStrokeColor(Color strokeColor)
public NonNegativeInteger getTheT()
public void setTheT(NonNegativeInteger theT)
public String getID()
public void setID(String id)
public NonNegativeInteger getTheZ()
public void setTheZ(NonNegativeInteger theZ)
public AffineTransform getTransform()
public void setTransform(AffineTransform transform)
public Union getUnion()
public void setUnion(Union union_BackReference)
protected Element asXMLElement(Document document, Element Shape_element)
AbstractOMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.Shape_element
- Element from the subclass. If null a new
element will be created of this class.element
populated with properties from this class.Copyright © 2014 Open Microscopy Environment