Documentation of 'visad.bom.annotations.ScreenAnnotator' Java class
ScreenAnnotator
visad.bom.annotations

Class ScreenAnnotator

  • Direct Known Subclasses:
    ScreenAnnotatorJ3D


    public abstract class ScreenAnnotator
    extends java.lang.Object
    Take descriptions of geometry primatives in Screen Coordinates and draw them onto a VisAD display directly. The objects should then stay on the same screen position. Enables thing like scale bars, tables, logos, etc to be independent of data manipulation tranformations.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ScreenAnnotator()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(java.lang.Object object)
      Add the object to the list of items to be drawn.
      void clear()
      Remove all items from the list of things to draw.
      abstract void draw()
      Traverses all the data objects in the list and transforms them into viewable objects and then arranges to make them visible.
      abstract void makeVisible(boolean on)
      Set the visibility flag.
      void remove(java.lang.Object object)
      Remove the object from the list of items to be drawn.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScreenAnnotator

        public ScreenAnnotator()
        Default constructor.
    • Method Detail

      • makeVisible

        public abstract void makeVisible(boolean on)
        Set the visibility flag.
        Parameters:
        on - true to display, false to undisplay.
      • draw

        public abstract void draw()
                           throws VisADException
        Traverses all the data objects in the list and transforms them into viewable objects and then arranges to make them visible.
        Throws:
        VisADException - if if any problem creating the picture.
      • add

        public void add(java.lang.Object object)
        Add the object to the list of items to be drawn.
        Parameters:
        object - add this item to the list of things to draw.
      • remove

        public void remove(java.lang.Object object)
        Remove the object from the list of items to be drawn.
        Parameters:
        object - remove this item from the list of things to draw.
      • clear

        public void clear()
        Remove all items from the list of things to draw. to draw.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.