org.sbml.jsbml.ext.layout
public class CubicBezier extends LineSegment
CurveSegment.Type
Modifier and Type | Field and Description |
---|---|
private Point |
basePoint1 |
private Point |
basePoint2 |
private static long |
serialVersionUID
Generated serial version identifier.
|
end, start
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
CubicBezier() |
CubicBezier(CubicBezier cubicBezier) |
CubicBezier(int level,
int version) |
Modifier and Type | Method and Description |
---|---|
CubicBezier |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
Point |
createBasePoint1()
Creates, sets and returns a
Point |
Point |
createBasePoint1(double x,
double y,
double z)
Creates, sets and returns a
Point based on the
given values. |
Point |
createBasePoint2()
Creates, sets and returns a
Point |
Point |
createBasePoint2(double x,
double y,
double z)
Creates, sets and returns a
Point based on the
given values. |
boolean |
equals(java.lang.Object object)
|
Point |
getBasePoint1() |
Point |
getBasePoint2() |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
int |
hashCode() |
boolean |
isSetBasePoint1() |
boolean |
isSetBasePoint2() |
void |
setBasePoint1(Point basePoint1) |
void |
setBasePoint2(Point basePoint2) |
createEnd, createEnd, createStart, createStart, getEnd, getStart, isSetEnd, isSetStart, setEnd, setStart
getType, isCubicBezier, isIdMandatory, isLineSegment, isSetType, readAttribute, setType, writeXMLAttributes
getId, getName, isSetId, isSetName, isValidId, setId, setName, toString, unsetId, unsetName
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAllowsChildren, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, 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, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
private Point basePoint1
private Point basePoint2
public CubicBezier()
public CubicBezier(CubicBezier cubicBezier)
cubicBezier
- public CubicBezier(int level, int version)
level
- version
- public CubicBezier clone()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class LineSegment
public Point createBasePoint1()
Point
Point
object.public Point createBasePoint1(double x, double y, double z)
Point
based on the
given values.x
- y
- z
- Point
object.public Point createBasePoint2()
Point
Point
object.public Point createBasePoint2(double x, double y, double z)
Point
based on the
given values.x
- y
- z
- Point
object.public boolean equals(java.lang.Object object)
SBase
true
if and only if the given SBase
has exactly the same
properties like this SBase
instance.equals
in interface SBase
equals
in class LineSegment
true
if and only if the given Object
is an instance of
SBase
that has exactly the same properties like this
SBase instance.public Point getBasePoint1()
public Point getBasePoint2()
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class LineSegment
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class LineSegment
public int hashCode()
hashCode
in interface SBase
hashCode
in class LineSegment
Object.hashCode()
public boolean isSetBasePoint1()
public boolean isSetBasePoint2()
public void setBasePoint1(Point basePoint1)
basePoint1
- public void setBasePoint2(Point basePoint2)
basePoint2
-