edu.davidson.display
Class MarkerThing

java.lang.Object
  |
  +--edu.davidson.display.Thing
        |
        +--edu.davidson.display.MarkerThing
All Implemented Interfaces:
SDataSource

public class MarkerThing
extends Thing


Constructor Summary
MarkerThing(SGraph o, int diameter, double x, double y)
           
 
Method Summary
 boolean isInsideThing(int xPix, int yPix)
           
 void paint(java.awt.Graphics g)
           
 void paintHighlight(java.awt.Graphics g)
           
 
Methods inherited from class edu.davidson.display.Thing
getColor, getID, getOwner, getSize, getVariables, getVarStrings, getX, getY, isNoDrag, isVisible, paintCoordinates, setColor, setDragable, setNoDrag, setOwner, setSize, setVisible, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkerThing

public MarkerThing(SGraph o,
                   int diameter,
                   double x,
                   double y)
Method Detail

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class Thing

paintHighlight

public void paintHighlight(java.awt.Graphics g)
Overrides:
paintHighlight in class Thing

isInsideThing

public final boolean isInsideThing(int xPix,
                                   int yPix)
Overrides:
isInsideThing in class Thing

Copyright Wolfgang Christian

Visit the Davidson CollegeSTools Documentation Page