|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JaxoHandle
A handle for a JaxoObject.
Method Summary | |
---|---|
boolean |
contains(int handleX,
int handleY,
int x,
int y)
Determines whether the given point is contained in this handle. |
Rectangle |
getBounds(int x,
int y)
Return an enclosing Rectangle that completely contains this handle at the given position. |
void |
paint(JaxoGraphics2D g2,
int x,
int y,
boolean marked,
boolean secondary)
Paint the handle at a given position. |
Method Detail |
---|
void paint(JaxoGraphics2D g2, int x, int y, boolean marked, boolean secondary)
g2
- The graphics context to paint to.x
- The x position of the handle.y
- The y position of the handle.marked
- True if the handle should be painted as marked.
A marked handle is one that has been selected, eg for an edit operation.secondary
- True if this is a secondary handle. A secondary handle
is one that cannot be selected in the current context.boolean contains(int handleX, int handleY, int x, int y)
handleX
- The x position of the handle.handleY
- The y position of the handle.x
- The x position of the point to check.y
- The y position of the point to check.
Rectangle getBounds(int x, int y)
x
- the x position of this handle.y
- the x position of this handle.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |