org.tigris.gef.presentation
Class AnnotationProperties

java.lang.Object
  extended by org.tigris.gef.presentation.AnnotationProperties
Direct Known Subclasses:
FigTextAnnotationProperties

public class AnnotationProperties
extends java.lang.Object


Constructor Summary
AnnotationProperties()
           
AnnotationProperties(boolean fixedOffset, int offset, boolean fixedRatio, float ratio)
           
AnnotationProperties(int offset, float ratio)
           
 
Method Summary
protected  boolean annotationIsVisible(Fig annotation)
           
 FigLine getConnectingLine()
           
 java.awt.Color getLineColor()
           
 int getLineVisibilityDuration()
           
 int getOffset()
           
 float getRatio()
           
 boolean hasFixedOffset()
           
 boolean hasFixedRatio()
           
protected  boolean lineIsVisible(Fig annotation)
           
 void removeLine()
           
 void setLineColor(java.awt.Color c)
           
 void setLineVisibilityDuration(int millis)
           
 void setOffset(int offset, boolean fixedOffset)
           
 void setRatio(float ratio, boolean fixedRatio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationProperties

public AnnotationProperties()

AnnotationProperties

public AnnotationProperties(boolean fixedOffset,
                            int offset,
                            boolean fixedRatio,
                            float ratio)

AnnotationProperties

public AnnotationProperties(int offset,
                            float ratio)
Method Detail

setLineColor

public void setLineColor(java.awt.Color c)

getLineColor

public java.awt.Color getLineColor()

setLineVisibilityDuration

public void setLineVisibilityDuration(int millis)

getLineVisibilityDuration

public int getLineVisibilityDuration()

hasFixedRatio

public boolean hasFixedRatio()

hasFixedOffset

public boolean hasFixedOffset()

getRatio

public float getRatio()

setRatio

public void setRatio(float ratio,
                     boolean fixedRatio)

getOffset

public int getOffset()

setOffset

public void setOffset(int offset,
                      boolean fixedOffset)

getConnectingLine

public FigLine getConnectingLine()

lineIsVisible

protected boolean lineIsVisible(Fig annotation)

annotationIsVisible

protected boolean annotationIsVisible(Fig annotation)

removeLine

public void removeLine()