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, ignoredXMLElements
listOfListeners, 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, unsetSBOTerm
addAllChangeListeners, 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, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
removeTreeNodeChangeListener
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private 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()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class AbstractSBase
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class AbstractSBase
public SBase getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class AbstractSBase
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class AbstractSBase
public void initDefaults()
public boolean isAbsoluteX()
isAbsoluteX
in interface Point3D
public boolean isAbsoluteY()
isAbsoluteY
in interface Point3D
public boolean isAbsoluteZ()
isAbsoluteZ
in interface Point3D
public boolean isSetAbsoluteX()
isSetAbsoluteX
in interface Point3D
public boolean isSetAbsoluteY()
isSetAbsoluteY
in interface Point3D
public boolean isSetAbsoluteZ()
isSetAbsoluteZ
in interface Point3D
public void setAbsoluteX(java.lang.Boolean absoluteX)
Point3D
setAbsoluteX
in interface Point3D
public void setAbsoluteY(java.lang.Boolean absoluteY)
Point3D
setAbsoluteY
in interface Point3D
public void setAbsoluteZ(java.lang.Boolean absoluteZ)
Point3D
setAbsoluteZ
in interface Point3D
public void setX(java.lang.Double x)
Point3D
public void setY(java.lang.Double y)
Point3D
public void setZ(java.lang.Double z)
Point3D
public java.lang.String toString()
toString
in class AbstractSBase
public boolean unsetAbsoluteX()
Point3D
unsetAbsoluteX
in interface Point3D
true
, if absoluteX was set before,
otherwise false
public boolean unsetAbsoluteY()
Point3D
unsetAbsoluteY
in interface Point3D
true
, if absoluteY was set before,
otherwise false
public boolean unsetAbsoluteZ()
Point3D
unsetAbsoluteZ
in interface Point3D
true
, if absoluteZ was set before,
otherwise false
public boolean unsetX()
Point3D
public boolean unsetY()
Point3D
public boolean unsetZ()
Point3D
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBase
SBase
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 SBase
writeXMLAttributes
in class AbstractSBase
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBase
SBase
.
If the given attribute name is not recognized, nothing is done and
false
is returned.
readAttribute
in interface SBase
readAttribute
in class AbstractSBase
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.