public class RenderGraphicalObjectPlugin extends SBasePlugin
Constructor and Description |
---|
RenderGraphicalObjectPlugin(RenderGraphicalObjectPlugin orig)
Copy constructor.
|
RenderGraphicalObjectPlugin(java.lang.String uri,
java.lang.String prefix,
RenderPkgNamespaces groupsns)
Constructor
|
Modifier and Type | Method and Description |
---|---|
SBasePlugin |
cloneObject()
Creates and returns a deep copy of this RenderGraphicalObjectPlugin object.
|
void |
delete()
Explicitly deletes the underlying native object.
|
java.lang.String |
getObjectRole()
Returns the object role string for the object.
|
boolean |
isSetObjectRole()
Returns whether the object role has been set or not.
|
void |
setObjectRole(java.lang.String role)
Sets the object role string for the object.
|
getElementByMetaId, getElementBySId, getElementNamespace, getLevel, getListOfAllElements, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, setElementNamespace
public RenderGraphicalObjectPlugin(RenderGraphicalObjectPlugin orig)
SBase
object.public RenderGraphicalObjectPlugin(java.lang.String uri, java.lang.String prefix, RenderPkgNamespaces groupsns)
public SBasePlugin cloneObject()
cloneObject
 in class SBasePlugin
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 RenderGraphicalObjectPlugin.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 RenderGraphicalObjectPlugin.delete()
themselves.
delete
 in class SBasePlugin
public java.lang.String getObjectRole()
public boolean isSetObjectRole()
public void setObjectRole(java.lang.String role)