maslab.vis
Class VisLabelledPoint

java.lang.Object
  extended by maslab.vis.VisObject
      extended by maslab.vis.VisLabelledPoint

public class VisLabelledPoint
extends VisObject

Labels an (x,y) point.


Field Summary
 java.awt.Color color
           
 java.lang.String label
           
 double labelSize
           
 double size
           
 double x
           
 double y
           
 
Fields inherited from class maslab.vis.VisObject
coordinateSpace, SCREENSPACE, WORLDSPACE
 
Constructor Summary
VisLabelledPoint(double x, double y, java.lang.String label)
           
 
Method Summary
 void paint(VisCanvas vc, java.awt.Graphics2D g, java.awt.image.BufferedImage bi)
          Overriden by each subclass to draw itself onto the provided graphics context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

size

public double size

labelSize

public double labelSize

label

public java.lang.String label

color

public java.awt.Color color
Constructor Detail

VisLabelledPoint

public VisLabelledPoint(double x,
                        double y,
                        java.lang.String label)
Method Detail

paint

public void paint(VisCanvas vc,
                  java.awt.Graphics2D g,
                  java.awt.image.BufferedImage bi)
Description copied from class: VisObject
Overriden by each subclass to draw itself onto the provided graphics context. Applications can choose to use either the Graphics2D (which has the correct transform already set up) or to draw to the buffered image directly.

Specified by:
paint in class VisObject