public class ListOfCurveElements extends ListOf
RenderCubicBezier). Use in RenderCurve and Polygon
The ListOfCurveElements is a container class to store the curve elements of RenderCurve
objects and Polygon objects.
| Constructor and Description |
|---|
ListOfCurveElements()
Constructor which instantiates an empty
ListOfCurveElements object. |
ListOfCurveElements(ListOfCurveElements source)
Copy constructor for
ListOfCurveElements objects. |
ListOfCurveElements(long level)
Constructor which instantiates an empty
ListOfCurveElements object. |
ListOfCurveElements(long level,
long version)
Constructor which instantiates an empty
ListOfCurveElements object. |
ListOfCurveElements(long level,
long version,
long pkgVersion)
Constructor which instantiates an empty
ListOfCurveElements object. |
ListOfCurveElements(RenderPkgNamespaces renderns)
Ctor.
|
ListOfCurveElements(XMLNode node)
Creates a new
ListOfCurveElements object from the given XMLNode object. |
ListOfCurveElements(XMLNode node,
long l2version)
Creates a new
ListOfCurveElements object from the given XMLNode object. |
| Modifier and Type | Method and Description |
|---|---|
ListOfCurveElements |
cloneObject()
Creates and returns a deep copy of the
ListOfCurveElements object. |
void |
delete()
Explicitly deletes the underlying native object.
|
SBase |
get(long i)
Returns a pointer to the
RenderPoint with the given index or null if
the index is invalid. |
java.lang.String |
getElementName()
Returns the XML element name of this object, which for
ListOfCurveElements, is always 'listOfCurveElements'. |
int |
getItemTypeCode()
Get the type code of the objects contained in this
ListOf. |
boolean |
isValidTypeForList(SBase item)  |
SBase |
remove(long i)
Removes the
RenderPoint with the given index and returns a pointer to the
removed object. |
XMLNode |
toXML()
Creates an
XMLNode object from this ListOfCurveElements object. |
append, appendAndOwn, appendFrom, clear, clear, connectToChild, getElementByMetaId, getElementBySId, getTypeCode, insert, insertAndOwn, removeFromParentAndDelete, sizeaddCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, deleteDisabledPlugins, deleteDisabledPlugins, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getDisabledPlugin, getLevel, getLine, getListOfAllElements, getListOfAllElements, getListOfAllElementsFromPlugins, getListOfAllElementsFromPlugins, getMetaId, getModel, getModelHistory, getNamespaces, getNotes, getNotesString, getNumCVTerms, getNumDisabledPlugins, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getPlugin, getPrefix, getResourceBiologicalQualifier, getResourceModelQualifier, getSBMLDocument, getSBOTerm, getSBOTermAsURL, getSBOTermID, getURI, getVersion, hashCode, hasValidLevelVersionNamespaceCombination, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetMetaId, isSetModelHistory, isSetNotes, isSetSBOTerm, isSetUserData, matchesRequiredSBMLNamespacesForAddition, matchesSBMLNamespaces, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, renameMetaIdRefs, renameSIdRefs, renameUnitSIdRefs, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setMetaId, setModelHistory, setNamespaces, setNotes, setNotes, setNotes, setSBOTerm, setSBOTerm, toSBML, toXMLNode, unsetAnnotation, unsetCVTerms, unsetId, unsetMetaId, unsetModelHistory, unsetName, unsetNotes, unsetSBOTerm, unsetUserDatapublic ListOfCurveElements(XMLNode node, long l2version) throws SBMLConstructorException
ListOfCurveElements object from the given XMLNode object.
The XMLNode object has to contain a valid XML representation of a
ListOfCurveElements object as defined in the render extension specification.
This method is normally called when render information is read from a file and
should normally not have to be called explicitly.
node - the XMLNode object reference that describes the ListOfCurveElements
object to be instantiated.SBMLConstructorExceptionpublic ListOfCurveElements(XMLNode node) throws SBMLConstructorException
ListOfCurveElements object from the given XMLNode object.
The XMLNode object has to contain a valid XML representation of a
ListOfCurveElements object as defined in the render extension specification.
This method is normally called when render information is read from a file and
should normally not have to be called explicitly.
node - the XMLNode object reference that describes the ListOfCurveElements
object to be instantiated.SBMLConstructorExceptionpublic ListOfCurveElements(long level, long version, long pkgVersion) throws SBMLConstructorException
ListOfCurveElements object.SBMLConstructorExceptionpublic ListOfCurveElements(long level, long version) throws SBMLConstructorException
ListOfCurveElements object.SBMLConstructorExceptionpublic ListOfCurveElements(long level) throws SBMLConstructorException
ListOfCurveElements object.SBMLConstructorExceptionpublic ListOfCurveElements() throws SBMLConstructorException
ListOfCurveElements object.SBMLConstructorExceptionpublic ListOfCurveElements(RenderPkgNamespaces renderns) throws SBMLConstructorException
SBMLConstructorExceptionpublic ListOfCurveElements(ListOfCurveElements source) throws SBMLConstructorException
ListOfCurveElements objects.SBMLConstructorExceptionpublic void delete()
In general, application software will not need to call this method directly. The Java language binding for libSBML is implemented as a language wrapper that provides a Java interface to libSBML's underlying C++/C code. Some of the Java methods return objects that are linked to objects created not by Java code, but by C++ code. The Java objects wrapped around them will be deleted when the garbage collector invokes the corresponding C++ finalize() methods for the objects. The finalize() methods in turn call the ListOfCurveElements.delete() method on the libSBML object.
This method is exposed in case calling programs want to ensure that the underlying object is freed immediately, and not at some arbitrary time determined by the Java garbage collector. In normal usage, callers do not need to invoke ListOfCurveElements.delete() themselves.
public ListOfCurveElements cloneObject()
ListOfCurveElements object.
cloneObject in class ListOfListOfCurveElementspublic SBase get(long i)
RenderPoint with the given index or null if
the index is invalid.
get in class ListOfi - index of the RenderPoint object to be returned
RenderPoint at the given index or null.ListOf.size()public SBase remove(long i)
RenderPoint with the given index and returns a pointer to the
removed object. The caller is responsible for freeing the associated memory.
remove in class ListOfi - index of the RenderPoint object to be removed
RenderPoint or null if the index
was not valid.ListOf.size()public java.lang.String getElementName()
ListOfCurveElements, is always 'listOfCurveElements'.
getElementName in class ListOf'listOfCurveElements'.public XMLNode toXML()
XMLNode object from this ListOfCurveElements object.
XMLNode with the XML representation for the
ListOfCurveElements object.public int getItemTypeCode()
ListOf.
LibSBML attaches an identifying code to every
kind of SBML object. These are known as SBML type codes. In
other languages, the set of type codes is stored in an enumeration in
the Java language interface for libSBML, the type codes are defined as
static integer constants in the interface class libsbmlConstants. The names of the type codes all begin with the
characters SBML_.
getItemTypeCode in class ListOfListOf
instance, or SBML_UNKNOWN (default).ListOf.getElementName(),
SBase.getPackageName()public boolean isValidTypeForList(SBase item)