|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHandle
This class represents a Handle.
Field Summary | |
private java.awt.Point |
startPoint
|
Constructor Summary | |
Handle(java.awt.Point p)
The constructor of the class. |
Method Summary | |
void |
draw(java.awt.Graphics g)
This method is called to draw the object. |
boolean |
isClickedOn(java.awt.Point p)
This method decides whether the object is clicked on or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.awt.Point startPoint
Constructor Detail |
public Handle(java.awt.Point p)
p
- The startpoint for the object.Method Detail |
public void draw(java.awt.Graphics g)
g
- The graphics used to draw the object.public boolean isClickedOn(java.awt.Point p)
p
- The point where the user has clicked.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |