public class PluginCompartment extends PluginSBase
Compartment
sbase
Modifier | Constructor and Description |
---|---|
|
PluginCompartment(java.lang.String _type)
Constructor
|
protected |
PluginCompartment(java.lang.String id,
java.lang.String _type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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 position 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.
|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getParentSBase, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML
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 id_type
- the type of compartmentpublic void update(PluginCompartment compartment)
compartment
- PluginCompartmentpublic java.lang.String getId()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Stringpublic 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
- Stringpublic double getSize()
public void setSize(double size)
size
- doublepublic long getSpatialDimensions()
public void setSpatialDimensions(long spatialDimensions)
spatialDimensions
- longpublic java.lang.String getUnits()
public void setUnits(java.lang.String unit)
unit
- Stringpublic double getVolume()
public void setVolume(double volume)
volume
- doublepublic double getHeight()
public void setHeight(double height)
height
- doublepublic double getInnerWidth()
public void setInnerWidth(double innerWidth)
innerWidth
- doublepublic java.awt.Color getLineColor()
public void setLineColor(java.awt.Color lineColor)
lineColor
- Colorpublic double getOuterWidth()
public void setOuterWidth(double outerWidth)
outerWidth
- doublepublic double getThickness()
public void setThickness(double thickness)
thickness
- doublepublic java.lang.String getCompartmentType()
public void setCompartmentType(java.lang.String type)
type
- Stringpublic double getWidth()
public void setWidth(double width)
width
- doublepublic double getX()
public void setX(double x)
x
- the x position of this Compartment.public double getY()
public void setY(double y)
y
- doublepublic void setNamePositionX(double x2)
x2
- x position of nameImage in doublepublic void setNamePositionY(double y2)
y2
- y position of nameImage in doublepublic double getNamePositionX()
public double getNamePositionY()
public PluginInformationBox getPluginInformationBox()
public void setPluginInformationBox(PluginInformationBox _PluginInformationBox)