fr.orsay.lri.varna.models.rna
Class ModeleBPStyle
java.lang.Object
fr.orsay.lri.varna.models.rna.ModeleBPStyle
- All Implemented Interfaces:
- Serializable
public class ModeleBPStyle
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
_isCustomColored
private boolean _isCustomColored
_color
private Color _color
_thickness
private double _thickness
_bent
private double _bent
ModeleBPStyle
public ModeleBPStyle()
getBent
public double getBent()
isBent
public boolean isBent()
setBent
public void setBent(double b)
setCustomColor
public void setCustomColor(Color c)
useDefaultColor
public void useDefaultColor()
isCustomColored
public boolean isCustomColored()
getCustomColor
public Color getCustomColor()
getColor
public Color getColor(Color def)
- Returns the current custom color if such a color is defined to be used
(through setCustomColor), or returns the default color.
- Parameters:
def
- - The default color is no custom color is defined
- Returns:
- The color to be used to draw this base-pair
getThickness
public double getThickness(double def)
setThickness
public void setThickness(double thickness)