DixShtix

com.dixshtix.awt11
Class DraggableOval

java.lang.Object
  |
  +--com.dixshtix.awt11.DraggableRectangle
        |
        +--com.dixshtix.awt11.DraggableOval
All Implemented Interfaces:
Drag11able

public class DraggableOval
extends DraggableRectangle


Fields inherited from class com.dixshtix.awt11.DraggableRectangle
deltaX, deltaY, myBounds, myPaint, myX, myY
 
Constructor Summary
DraggableOval(java.awt.Rectangle s, java.awt.Color p, int x, int y)
           
 
Method Summary
 boolean contains(int x, int y)
           
 void draw(java.awt.Graphics g)
           
 void drawAsOutline(java.awt.Graphics g, java.awt.Point position)
           
 
Methods inherited from class com.dixshtix.awt11.DraggableRectangle
computeBounds, getBounds, getPosition, setPosition
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

DraggableOval

public DraggableOval(java.awt.Rectangle s,
                     java.awt.Color p,
                     int x,
                     int y)
Method Detail

contains

public boolean contains(int x,
                        int y)
Overrides:
contains in class DraggableRectangle

draw

public void draw(java.awt.Graphics g)
Overrides:
draw in class DraggableRectangle

drawAsOutline

public void drawAsOutline(java.awt.Graphics g,
                          java.awt.Point position)
Overrides:
drawAsOutline in class DraggableRectangle

DixShtix