EspressChart
v 5.5

quadbase.util
Interface IReferenceObj

All Known Subinterfaces:
IControlLine, IDataLine, IFunctionLine, IHorzVertLine, ITrendLine

public interface IReferenceObj


Method Summary
 void addAnnotation(IAnnotation annoObj)
          This function adds an annotation object
 java.util.Vector getAnnotations()
          This function returns the annotation objects
 Position getReferencePosition()
          This function returns the reference position of this object.
 boolean isVisible()
          This function returns the state of the object.
 boolean removeAnnotation(IAnnotation annoObj)
          This function removes an annotation object
 

Method Detail

isVisible

public boolean isVisible()
This function returns the state of the object.
Returns:
visible or not

getAnnotations

public java.util.Vector getAnnotations()
This function returns the annotation objects
Returns:
The annotation objects

addAnnotation

public void addAnnotation(IAnnotation annoObj)
This function adds an annotation object
Parameters:
annoObj - The annotation object

removeAnnotation

public boolean removeAnnotation(IAnnotation annoObj)
This function removes an annotation object
Parameters:
annoObj - The annotation object
Returns:
The object is removed or not

getReferencePosition

public Position getReferencePosition()
This function returns the reference position of this object. Every coordinate value of the position is always between 0 and 1, inclusive. That is relative to the canvas size of the chart. Position (0, 0) represents the lower-left corner of the canvas.
Returns:
The reference position

EspressChart
v 5.5