|
DixShtix | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.dixshtix.awt11.DraggableRectangle
|
+--com.dixshtix.awt11.DraggablePolygon
| Field Summary | |
private java.awt.Polygon |
myShape
|
| Fields inherited from class com.dixshtix.awt11.DraggableRectangle |
deltaX, deltaY, myBounds, myPaint, myX, myY |
| Constructor Summary | |
DraggablePolygon(java.awt.Polygon 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 |
|
| Methods inherited from interface com.dixshtix.awt11.Drag11able |
computeBounds, getBounds, getPosition, setPosition |
| Field Detail |
private java.awt.Polygon myShape
| Constructor Detail |
public DraggablePolygon(java.awt.Polygon s,
java.awt.Color p,
int x,
int y)
| Method Detail |
public boolean contains(int x,
int y)
contains in interface Drag11ablecontains in class DraggableRectanglepublic void draw(java.awt.Graphics g)
draw in interface Drag11abledraw in class DraggableRectangle
public void drawAsOutline(java.awt.Graphics g,
java.awt.Point position)
drawAsOutline in interface Drag11abledrawAsOutline in class DraggableRectangle
|
DixShtix | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||