java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, SBase, TreeNodeWithChangeSupportLineSegmentpublic abstract class CurveSegment extends AbstractSBase
LineSegment and CubicBezier.| Modifier and Type | Class | Description |
|---|---|---|
static class |
CurveSegment.Type |
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor | Description |
|---|---|
CurveSegment() |
|
CurveSegment(int level,
int version) |
|
CurveSegment(CurveSegment curveSegment) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract Point |
createEnd() |
Creates, sets and returns an empty
Point. |
abstract Point |
createEnd(double x,
double y,
double z) |
Creates, sets and returns a
Point based on the
given values. |
abstract Point |
createStart() |
Creates, sets and returns an empty
Point. |
abstract Point |
createStart(double x,
double y,
double z) |
Creates, sets and returns a
Point based on the
given values. |
boolean |
equals(java.lang.Object object) |
|
abstract Point |
getEnd() |
|
abstract Point |
getStart() |
|
CurveSegment.Type |
getType() |
|
int |
hashCode() |
|
boolean |
isCubicBezier() |
|
boolean |
isLineSegment() |
|
abstract boolean |
isSetEnd() |
|
abstract boolean |
isSetStart() |
|
boolean |
isSetType() |
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
|
Point |
removeEnd() |
|
Point |
removeStart() |
|
abstract void |
setEnd(Point end) |
|
abstract void |
setStart(Point start) |
|
void |
unsetEnd() |
Unsets the end-point of this CurveSegment
|
void |
unsetStart() |
Unsets the start-point of this CurveSegment
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, clone, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, 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 CurveSegment()
public CurveSegment(CurveSegment curveSegment)
curveSegment - public CurveSegment(int level,
int version)
level - version - public abstract Point createEnd()
Point.Point object.public abstract Point createEnd(double x, double y, double z)
Point based on the
given values.x - y - z - Point object.public abstract Point createStart()
Point.Point object.public abstract Point createStart(double x, double y, double z)
Point based on the
given values.x - y - z - Point object.public boolean equals(java.lang.Object object)
equals in interface SBaseequals in class AbstractSBasepublic abstract Point getEnd()
End Point of this CurveSegment.public abstract Point getStart()
Start Point of this CurveSegment.public CurveSegment.Type getType()
public int hashCode()
hashCode in interface SBasehashCode in class AbstractSBasepublic boolean isCubicBezier()
public boolean isLineSegment()
public abstract boolean isSetEnd()
true if the End Point is set.public abstract boolean isSetStart()
true if the Start Point is set.public boolean isSetType()
public boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
readAttribute in interface SBasereadAttribute in class AbstractSBasepublic Point removeEnd()
public Point removeStart()
public void unsetEnd()
public void unsetStart()
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBaseCopyright © 2009–2022. All rights reserved.