|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jp.sbi.celldesigner.plugin.PluginSBase jp.sbi.celldesigner.plugin.PluginCompartment
public class PluginCompartment
This class wraps org.sbml.libsbml.Compartment for the plug-in.
Compartment
Field Summary |
---|
Fields inherited from class jp.sbi.celldesigner.plugin.PluginSBase |
---|
sbase |
Constructor Summary | |
---|---|
|
PluginCompartment(java.lang.String _type)
Constructor |
protected |
PluginCompartment(java.lang.String id,
java.lang.String _type)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getCompartmentType()
|
java.lang.String |
getCompartmentTypeOfPanel()
|
boolean |
getConstant()
|
double |
getHeight()
|
java.lang.String |
getId()
|
double |
getInnerWidth()
|
java.awt.Color |
getLineColor()
|
java.lang.String |
getName()
|
double |
getNamePositionX()
|
double |
getNamePositionY()
|
double |
getOuterWidth()
|
java.lang.String |
getOutside()
|
PluginInformationBox |
getPluginInformationBox()
|
double |
getSize()
|
long |
getSpatialDimensions()
|
double |
getThickness()
|
java.lang.String |
getUnits()
|
double |
getVolume()
|
double |
getWidth()
|
double |
getX()
|
double |
getY()
|
void |
setCompartmentType(java.lang.String type)
Sets the type of this PluginCompartment. |
void |
setCompartmentTypeOfPanel(java.lang.String strCompartmentType)
|
void |
setConstant(boolean constant)
Sets true if this PluginCompartment is constant |
void |
setHeight(double height)
Sets the height of this PluginCompartment. |
void |
setInnerWidth(double innerWidth)
Sets the InnerWidth of this PluginCompartment. |
void |
setLineColor(java.awt.Color lineColor)
Sets a lineColor of this PluginCompartment. |
void |
setName(java.lang.String name)
Sets the name of this PluginCompartment |
void |
setNamePositionX(double x2)
Sets x position of this PluginCompartment name |
void |
setNamePositionY(double y2)
Sets y positon of this PluginCompartment name |
void |
setOuterWidth(double outerWidth)
Sets the outerWidth of this PluginCompartment. |
void |
setOutside(java.lang.String outside)
Sets the outside of this PluginCompartment |
void |
setPluginInformationBox(PluginInformationBox _PluginInformationBox)
|
void |
setSize(double size)
Sets the size of this PluginCompartment |
void |
setSpatialDimensions(long spatialDimensions)
Sets SpatialDimensions of this PluginCompartment If value is not one of [0, 1, 2, 3] the function will have no effect (i.e. |
void |
setThickness(double thickness)
Sets a thickness of this PluginCompartment. |
void |
setUnits(java.lang.String unit)
Sets the units of this PluginCompartment. |
void |
setVolume(double volume)
Sets the volume of this PluginCompartment. |
void |
setWidth(double width)
Sets the width of this PluginCompartment. |
void |
setX(double x)
Sets the x position of this PluginCompartment. |
void |
setY(double y)
Sets the y position of this PluginCompartment. |
void |
update(PluginCompartment compartment)
Updates all properties of this PluginCompartment to the same as the given PluginCompartment. |
Methods inherited from class jp.sbi.celldesigner.plugin.PluginSBase |
---|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getParentSBase, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginCompartment(java.lang.String _type)
type
- the type of Compartment. The type is a field of PluginCompartmentSymbolType.
See jp.sbi.celldesigner.plugin.util.PluginCompartmentSymbolType.protected PluginCompartment(java.lang.String id, java.lang.String _type)
id
- the compartment idtype
- the type of compartmentMethod Detail |
---|
public void update(PluginCompartment compartment)
compartment
- public java.lang.String getId()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.lang.String getCompartmentTypeOfPanel()
public void setCompartmentTypeOfPanel(java.lang.String strCompartmentType)
public boolean getConstant()
public void setConstant(boolean constant)
constant
- true or falsepublic java.lang.String getOutside()
public void setOutside(java.lang.String outside)
outside
- public double getSize()
public void setSize(double size)
size
- public long getSpatialDimensions()
public void setSpatialDimensions(long spatialDimensions)
spatialDimensions
- public java.lang.String getUnits()
public void setUnits(java.lang.String unit)
unit
- public double getVolume()
public void setVolume(double volume)
volume
- public double getHeight()
public void setHeight(double height)
height
- public double getInnerWidth()
public void setInnerWidth(double innerWidth)
innerWidth
- public java.awt.Color getLineColor()
public void setLineColor(java.awt.Color lineColor)
lineColor
- public double getOuterWidth()
public void setOuterWidth(double outerWidth)
outerWidth
- public double getThickness()
public void setThickness(double thickness)
thickness
- public java.lang.String getCompartmentType()
public void setCompartmentType(java.lang.String type)
type
- public double getWidth()
public void setWidth(double width)
width
- public double getX()
public void setX(double x)
x
- the x position of this Compartment.public double getY()
public void setY(double y)
y
- public void setNamePositionX(double x2)
x2
- x position of nameImagepublic void setNamePositionY(double y2)
y2
- public double getNamePositionX()
public double getNamePositionY()
public PluginInformationBox getPluginInformationBox()
public void setPluginInformationBox(PluginInformationBox _PluginInformationBox)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |