public class RenderListOfLayoutsPlugin extends SBasePlugin
Constructor and Description |
---|
RenderListOfLayoutsPlugin(RenderListOfLayoutsPlugin orig)
Copy constructor.
|
RenderListOfLayoutsPlugin(String uri,
String prefix,
RenderPkgNamespaces groupsns)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addGlobalRenderInformation(GlobalRenderInformation pLRI)
Adds a copy of the given local render information object to the list of
local render information objects.
|
SBasePlugin |
cloneObject()
Creates and returns a deep copy of this RenderListOfLayoutsPlugin object.
|
GlobalRenderInformation |
createGlobalRenderInformation()
Creates a new local render information object and adds it to the list.
|
void |
delete()
Explicitly deletes the underlying native object.
|
ListOfGlobalRenderInformation |
getListOfGlobalRenderInformation()
Returns a pointer to the list object that contains local render information.
|
long |
getNumGlobalRenderInformationObjects()
Returns the number of local render information objects.
|
GlobalRenderInformation |
getRenderInformation(long index)
Returns a pointer to the local render information object with the given
index.
|
GlobalRenderInformation |
getRenderInformation(String id)
Returns a pointer to the local render information object with the given
id.
|
void |
parseAnnotation()   |
GlobalRenderInformation |
removeGlobalRenderInformation(long index)
Removed the render information with the given index from the list.
|
GlobalRenderInformation |
removeGlobalRenderInformation(String id)
Removed the render information with the given
id from the list. |
getElementByMetaId, getElementBySId, getElementNamespace, getLevel, getListOfAllElements, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, isValidTypeForList, renameMetaIdRefs, renameSIdRefs, renameUnitSIdRefs, setElementNamespace
public RenderListOfLayoutsPlugin(String uri, String prefix, RenderPkgNamespaces groupsns)
public RenderListOfLayoutsPlugin(RenderListOfLayoutsPlugin orig)
SBase
object.public 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 RenderListOfLayoutsPlugin.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 RenderListOfLayoutsPlugin.delete()
themselves.
delete
 in class SBasePlugin
public SBasePlugin cloneObject()
cloneObject
 in class SBasePlugin
public ListOfGlobalRenderInformation getListOfGlobalRenderInformation()
public long getNumGlobalRenderInformationObjects()
public GlobalRenderInformation getRenderInformation(long index)
null
is returned.public GlobalRenderInformation getRenderInformation(String id)
id
exists, null
is returned.public void addGlobalRenderInformation(GlobalRenderInformation pLRI)
public GlobalRenderInformation createGlobalRenderInformation()
public GlobalRenderInformation removeGlobalRenderInformation(long index)
null
is returned.public GlobalRenderInformation removeGlobalRenderInformation(String id)
id
from the list.
The removed object is returned. It is the responsibility of the calling
code to delete the object.
If an object with the given id
does not exist, null
is returned.public void parseAnnotation()