org.sbml.jsbml.ext.render
public class RenderPoint extends AbstractSBase implements Point3D
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
absoluteX |
private java.lang.Boolean |
absoluteY |
private java.lang.Boolean |
absoluteZ |
private static long |
serialVersionUID
Generated serial version identifier
|
private java.lang.Double |
x |
private java.lang.Double |
y |
private java.lang.Double |
z |
ignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
RenderPoint()
Creates an RenderPoint instance
|
RenderPoint(RenderPoint obj)
Clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
RenderPoint |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
boolean |
getAllowsChildren() |
SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isAbsoluteX() |
boolean |
isAbsoluteY() |
boolean |
isAbsoluteZ() |
boolean |
isSetAbsoluteX() |
boolean |
isSetAbsoluteY() |
boolean |
isSetAbsoluteZ() |
boolean |
isSetX() |
boolean |
isSetY() |
boolean |
isSetZ() |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
Sets the given attribute in this
SBase. |
void |
setAbsoluteX(java.lang.Boolean absoluteX)
Set the value of absoluteX
|
void |
setAbsoluteY(java.lang.Boolean absoluteY)
Set the value of absoluteY
|
void |
setAbsoluteZ(java.lang.Boolean absoluteZ)
Set the value of absoluteZ
|
void |
setX(java.lang.Double x)
Set the value of x
|
void |
setY(java.lang.Double y)
Set the value of y
|
void |
setZ(java.lang.Double z)
Set the value of z
|
java.lang.String |
toString() |
boolean |
unsetAbsoluteX()
Unsets the variable absoluteX
|
boolean |
unsetAbsoluteY()
Unsets the variable absoluteY
|
boolean |
unsetAbsoluteZ()
Unsets the variable absoluteZ
|
boolean |
unsetX()
Unsets the variable x
|
boolean |
unsetY()
Unsets the variable y
|
boolean |
unsetZ()
Unsets the variable z
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a map with all the attributes of this
SBase that
need to be written out in XML. |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, equals, 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, hashCode, 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, userObjectKeySetprivate static final long serialVersionUID
private java.lang.Boolean absoluteX
private java.lang.Boolean absoluteY
private java.lang.Boolean absoluteZ
private java.lang.Double x
private java.lang.Double y
private java.lang.Double z
public RenderPoint()
public RenderPoint(RenderPoint obj)
public RenderPoint clone()
SBaseSBase with the same properties
like this one.clone in interface SBaseclone in class AbstractSBasepublic boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class AbstractSBasepublic SBase getChildAt(int childIndex)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class AbstractSBasepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class AbstractSBasepublic void initDefaults()
public boolean isAbsoluteX()
isAbsoluteX in interface Point3Dpublic boolean isAbsoluteY()
isAbsoluteY in interface Point3Dpublic boolean isAbsoluteZ()
isAbsoluteZ in interface Point3Dpublic boolean isSetAbsoluteX()
isSetAbsoluteX in interface Point3Dpublic boolean isSetAbsoluteY()
isSetAbsoluteY in interface Point3Dpublic boolean isSetAbsoluteZ()
isSetAbsoluteZ in interface Point3Dpublic void setAbsoluteX(java.lang.Boolean absoluteX)
Point3DsetAbsoluteX in interface Point3Dpublic void setAbsoluteY(java.lang.Boolean absoluteY)
Point3DsetAbsoluteY in interface Point3Dpublic void setAbsoluteZ(java.lang.Boolean absoluteZ)
Point3DsetAbsoluteZ in interface Point3Dpublic void setX(java.lang.Double x)
Point3Dpublic void setY(java.lang.Double y)
Point3Dpublic void setZ(java.lang.Double z)
Point3Dpublic java.lang.String toString()
toString in class AbstractSBasepublic boolean unsetAbsoluteX()
Point3DunsetAbsoluteX in interface Point3Dtrue, if absoluteX was set before,
otherwise falsepublic boolean unsetAbsoluteY()
Point3DunsetAbsoluteY in interface Point3Dtrue, if absoluteY was set before,
otherwise falsepublic boolean unsetAbsoluteZ()
Point3DunsetAbsoluteZ in interface Point3Dtrue, if absoluteZ was set before,
otherwise falsepublic boolean unsetX()
Point3Dpublic boolean unsetY()
Point3Dpublic boolean unsetZ()
Point3Dpublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBaseSBase that
need to be written out in XML.
The attribute name is used as a key and the attribute value as value. If a prefix is needed for the attribute name, it need to be set directly in this map.
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBaseMap containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
SBaseSBase.
If the given attribute name is not recognized, nothing is done and
false is returned.
readAttribute in interface SBasereadAttribute in class AbstractSBaseattributeName - localName of the XML attributeprefix - prefix of the XML attributevalue - value of the XML attributetrue if the attribute has been successfully read.