edu.davidson.display
Class BoxThing

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

public class BoxThing
extends Thing


Constructor Summary
BoxThing(SGraph o, double x, double y, int width, int height)
           
 
Method Summary
 boolean isInsideThing(int xPix, int yPix)
           
 void paint(java.awt.Graphics osg)
           
 void paintHighlight(java.awt.Graphics osg)
           
 
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

BoxThing

public BoxThing(SGraph o,
                double x,
                double y,
                int width,
                int height)
Method Detail

paint

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

paintHighlight

public void paintHighlight(java.awt.Graphics osg)
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