public class Rectangle extends GraphicalPrimitive2D implements Point3D
GraphicalPrimitive2D.FillRulefill, fillRulestroke, strokeDashArray, strokeWidthtransformignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
Rectangle()
Creates an Rectangle instance
|
Rectangle(Rectangle obj)
Clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
clone() |
boolean |
getAllowsChildren() |
SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
double |
getHeight() |
double |
getRx() |
double |
getRy() |
double |
getWidth() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isAbsoluteHeight() |
boolean |
isAbsoluteRx() |
boolean |
isAbsoluteRy() |
boolean |
isAbsoluteWidth() |
boolean |
isAbsoluteX() |
boolean |
isAbsoluteY() |
boolean |
isAbsoluteZ() |
boolean |
isSetAbsoluteHeight() |
boolean |
isSetAbsoluteRx() |
boolean |
isSetAbsoluteRy() |
boolean |
isSetAbsoluteWidth() |
boolean |
isSetAbsoluteX() |
boolean |
isSetAbsoluteY() |
boolean |
isSetAbsoluteZ() |
boolean |
isSetHeight() |
boolean |
isSetRx() |
boolean |
isSetRy() |
boolean |
isSetWidth() |
boolean |
isSetX() |
boolean |
isSetY() |
boolean |
isSetZ() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setAbsoluteHeight(Boolean absoluteHeight)
Set the value of absoluteHeight
|
void |
setAbsoluteRx(Boolean absoluteRx)
Set the value of absoluteRx
|
void |
setAbsoluteRy(Boolean absoluteRy)
Set the value of absoluteRy
|
void |
setAbsoluteWidth(Boolean absoluteWidth)
Set the value of absoluteWidth
|
void |
setAbsoluteX(Boolean absoluteX)
Set the value of absoluteX
|
void |
setAbsoluteY(Boolean absoluteY)
Set the value of absoluteY
|
void |
setAbsoluteZ(Boolean absoluteZ)
Set the value of absoluteZ
|
void |
setHeight(Double height)
Set the value of height
|
void |
setRx(Double rx)
Set the value of rx
|
void |
setRy(Double ry)
Set the value of ry
|
void |
setWidth(Double width)
Set the value of width
|
void |
setX(Double x)
Set the value of x
|
void |
setY(Double y)
Set the value of y
|
void |
setZ(Double z)
Set the value of z
|
boolean |
unsetAbsoluteHeight()
Unsets the variable absoluteHeight
|
boolean |
unsetAbsoluteRx()
Unsets the variable absoluteRx
|
boolean |
unsetAbsoluteRy()
Unsets the variable absoluteRy
|
boolean |
unsetAbsoluteWidth()
Unsets the variable absoluteWidth
|
boolean |
unsetAbsoluteX()
Unsets the variable absoluteX
|
boolean |
unsetAbsoluteY()
Unsets the variable absoluteY
|
boolean |
unsetAbsoluteZ()
Unsets the variable absoluteZ
|
boolean |
unsetHeight()
Unsets the variable height
|
boolean |
unsetRx()
Unsets the variable rx
|
boolean |
unsetRy()
Unsets the variable ry
|
boolean |
unsetWidth()
Unsets the variable width
|
boolean |
unsetX()
Unsets the variable x
|
boolean |
unsetY()
Unsets the variable y
|
boolean |
unsetZ()
Unsets the variable z
|
Map<String,String> |
writeXMLAttributes() |
equals, getFill, getFillRule, hashCode, isSetFill, isSetFillRule, setFill, setFillRule, unsetFill, unsetFillRulegetStroke, getStrokeDashArray, getStrokeWidth, isSetStroke, isSetStrokeDashArray, isSetStrokeWidth, setStroke, setStrokeDashArray, setStrokeWidth, unsetStroke, unsetStrokeDashArray, unsetStrokeWidthgetTransform, isSetTransform, setTransform, unsetTransformtoStringaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitremoveTreeNodeChangeListeneraddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic Rectangle()
public Rectangle(Rectangle obj)
public double getRx()
public boolean isSetRx()
public void setRx(Double rx)
public boolean unsetRx()
true, if rx was set before,
otherwise falsepublic double getRy()
public boolean isSetRy()
public void setRy(Double ry)
public boolean isAbsoluteX()
isAbsoluteX in interface Point3Dpublic boolean isSetAbsoluteX()
isSetAbsoluteX in interface Point3Dpublic void setAbsoluteX(Boolean absoluteX)
setAbsoluteX in interface Point3Dpublic boolean unsetAbsoluteX()
unsetAbsoluteX in interface Point3Dtrue, if absoluteX was set before,
otherwise falsepublic boolean isAbsoluteY()
isAbsoluteY in interface Point3Dpublic boolean isSetAbsoluteY()
isSetAbsoluteY in interface Point3Dpublic void setAbsoluteY(Boolean absoluteY)
setAbsoluteY in interface Point3Dpublic boolean unsetAbsoluteY()
unsetAbsoluteY in interface Point3Dtrue, if absoluteY was set before,
otherwise falsepublic boolean isAbsoluteZ()
isAbsoluteZ in interface Point3Dpublic boolean isSetAbsoluteZ()
isSetAbsoluteZ in interface Point3Dpublic void setAbsoluteZ(Boolean absoluteZ)
setAbsoluteZ in interface Point3Dpublic boolean unsetAbsoluteZ()
unsetAbsoluteZ in interface Point3Dtrue, if absoluteZ was set before,
otherwise falsepublic boolean isAbsoluteRx()
public boolean isSetAbsoluteRx()
public void setAbsoluteRx(Boolean absoluteRx)
public boolean unsetAbsoluteRx()
true, if absoluteRx was set before,
otherwise falsepublic boolean isAbsoluteRy()
public boolean isSetAbsoluteRy()
public void setAbsoluteRy(Boolean absoluteRy)
public boolean unsetAbsoluteRy()
true, if absoluteRy was set before,
otherwise falsepublic boolean isAbsoluteHeight()
public boolean isSetAbsoluteHeight()
public void setAbsoluteHeight(Boolean absoluteHeight)
public boolean unsetAbsoluteHeight()
true, if absoluteHeight was set before,
otherwise falsepublic boolean isAbsoluteWidth()
public boolean isSetAbsoluteWidth()
public void setAbsoluteWidth(Boolean absoluteWidth)
public boolean unsetAbsoluteWidth()
true, if absoluteWidth was set before,
otherwise falsepublic boolean unsetRy()
true, if ry was set before,
otherwise falsepublic boolean unsetX()
public boolean unsetY()
public boolean unsetZ()
public double getHeight()
public boolean isSetHeight()
public void setHeight(Double height)
public boolean unsetHeight()
true, if height was set before,
otherwise falsepublic double getWidth()
public boolean isSetWidth()
public void setWidth(Double width)
public boolean unsetWidth()
true, if width was set before,
otherwise falsepublic Rectangle clone()
clone in interface SBaseclone in class GraphicalPrimitive2Dpublic void initDefaults()
TransformationinitDefaults in class GraphicalPrimitive2Dpublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSBasepublic SBase getChildAt(int childIndex)
getChildAt in interface TreeNodegetChildAt in class AbstractSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class GraphicalPrimitive2Dpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class GraphicalPrimitive2DCopyright © 2009–2016. All rights reserved.