public class RenderLayoutPlugin extends SBasePlugin
Constructor and Description |
---|
RenderLayoutPlugin(RenderLayoutPlugin orig)
Copy constructor.
|
RenderLayoutPlugin(java.lang.String uri,
java.lang.String prefix,
RenderPkgNamespaces groupsns)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addLocalRenderInformation(LocalRenderInformation 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 RenderLayoutPlugin object.
|
LocalRenderInformation |
createLocalRenderInformation()
Creates a new local render information object and adds it to the list.
|
void |
delete()
Explicitly deletes the underlying native object.
|
ListOfLocalRenderInformation |
getListOfLocalRenderInformation()
Returns a pointer to the list object that contains local render information.
|
long |
getNumLocalRenderInformationObjects()
Returns the number of local render information objects.
|
LocalRenderInformation |
getRenderInformation(long index)
Returns a pointer to the local render information object with the given
index.
|
LocalRenderInformation |
getRenderInformation(java.lang.String id)
Returns a pointer to the local render information object with the given
id.
|
LocalRenderInformation |
removeLocalRenderInformation(long index)
Removed the render information with the given index from the list.
|
LocalRenderInformation |
removeLocalRenderInformation(java.lang.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 RenderLayoutPlugin(java.lang.String uri, java.lang.String prefix, RenderPkgNamespaces groupsns)
public RenderLayoutPlugin(RenderLayoutPlugin 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 RenderLayoutPlugin.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 RenderLayoutPlugin.delete()
themselves.
delete
 in class SBasePlugin
public SBasePlugin cloneObject()
cloneObject
 in class SBasePlugin
public ListOfLocalRenderInformation getListOfLocalRenderInformation()
public long getNumLocalRenderInformationObjects()
public LocalRenderInformation getRenderInformation(long index)
null
is returned.public LocalRenderInformation getRenderInformation(java.lang.String id)
id
exists, null
is returned.public void addLocalRenderInformation(LocalRenderInformation pLRI)
public LocalRenderInformation createLocalRenderInformation()
public LocalRenderInformation removeLocalRenderInformation(long index)
null
is returned.public LocalRenderInformation removeLocalRenderInformation(java.lang.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.