Package quadbase.util

Interface IReferenceObj

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

public interface IReferenceObj
  • Method Details

    • isVisible

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

      Vector getAnnotations()
      This function returns the annotation objects
      Returns:
      The annotation objects
    • addAnnotation

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

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

      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