fr.orsay.lri.varna.models.annotations
Class ChemProbAnnotation

java.lang.Object
  extended by fr.orsay.lri.varna.models.annotations.ChemProbAnnotation
All Implemented Interfaces:
Serializable

public class ChemProbAnnotation
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class ChemProbAnnotation.ChemProbAnnotationType
           
 
Field Summary
private  Color _color
           
private  double _intensity
           
private  ModeleBase _mbfst
           
private  ModeleBase _mbsnd
           
private  boolean _out
           
private  ChemProbAnnotation.ChemProbAnnotationType _type
           
static Color DEFAULT_COLOR
           
static double DEFAULT_INTENSITY
           
static ChemProbAnnotation.ChemProbAnnotationType DEFAULT_TYPE
           
private static long serialVersionUID
           
 
Constructor Summary
ChemProbAnnotation(ModeleBase mbfst, ModeleBase mbsnd)
           
ChemProbAnnotation(ModeleBase mbfst, ModeleBase mbsnd, ChemProbAnnotation.ChemProbAnnotationType type)
           
ChemProbAnnotation(ModeleBase mbfst, ModeleBase mbsnd, ChemProbAnnotation.ChemProbAnnotationType type, double intensity)
           
ChemProbAnnotation(ModeleBase mbfst, ModeleBase mbsnd, double intensity)
           
ChemProbAnnotation(ModeleBase mbfst, ModeleBase mbsnd, String styleDesc)
           
 
Method Summary
 void applyStyle(String styleDesc)
           
 ChemProbAnnotation clone()
           
 Point2D.Double getAnchorPosition()
           
 Color getColor()
           
 Point2D.Double getDirVector()
           
 double getIntensity()
           
 Point2D.Double getNormalVector()
           
 ChemProbAnnotation.ChemProbAnnotationType getType()
           
 boolean isOut()
           
 void setColor(Color c)
           
 void setIntensity(double d)
           
 void setOut(boolean b)
           
 void setType(ChemProbAnnotation.ChemProbAnnotationType s)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

DEFAULT_INTENSITY

public static double DEFAULT_INTENSITY

DEFAULT_TYPE

public static ChemProbAnnotation.ChemProbAnnotationType DEFAULT_TYPE

DEFAULT_COLOR

public static Color DEFAULT_COLOR

_mbfst

private ModeleBase _mbfst

_mbsnd

private ModeleBase _mbsnd

_color

private Color _color

_intensity

private double _intensity

_type

private ChemProbAnnotation.ChemProbAnnotationType _type

_out

private boolean _out
Constructor Detail

ChemProbAnnotation

public ChemProbAnnotation(ModeleBase mbfst,
                          ModeleBase mbsnd,
                          String styleDesc)

ChemProbAnnotation

public ChemProbAnnotation(ModeleBase mbfst,
                          ModeleBase mbsnd)

ChemProbAnnotation

public ChemProbAnnotation(ModeleBase mbfst,
                          ModeleBase mbsnd,
                          double intensity)

ChemProbAnnotation

public ChemProbAnnotation(ModeleBase mbfst,
                          ModeleBase mbsnd,
                          ChemProbAnnotation.ChemProbAnnotationType type)

ChemProbAnnotation

public ChemProbAnnotation(ModeleBase mbfst,
                          ModeleBase mbsnd,
                          ChemProbAnnotation.ChemProbAnnotationType type,
                          double intensity)
Method Detail

isOut

public boolean isOut()

setOut

public void setOut(boolean b)

getColor

public Color getColor()

getIntensity

public double getIntensity()

getType

public ChemProbAnnotation.ChemProbAnnotationType getType()

setColor

public void setColor(Color c)

setIntensity

public void setIntensity(double d)

getAnchorPosition

public Point2D.Double getAnchorPosition()

getDirVector

public Point2D.Double getDirVector()

getNormalVector

public Point2D.Double getNormalVector()

applyStyle

public void applyStyle(String styleDesc)

setType

public void setType(ChemProbAnnotation.ChemProbAnnotationType s)

clone

public ChemProbAnnotation clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object