|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a label with style information and screen coordinates, ready to be rendered to a view.
Method Summary | |
int |
getMaxX()
Returns the rightmost x-coordinate of the label's bounding box. |
int |
getMaxY()
Returns the lowermost y-coordinate of the label's bounding box. |
int |
getMinX()
Returns the leftmost x-coordinate of the label's bounding box. |
int |
getMinY()
Returns the uppermost x-coordinate of the label's bounding box. |
int |
getX()
Returns the x-coordinate of the label. |
int |
getY()
Returns the y-coordinate of the label. |
boolean |
intersects(Label that)
Determines if the label intersects with another label. |
void |
paint(java.awt.Graphics2D g)
Renders the label (including halo and other style information) to the submitted Graphics2D context. |
void |
paintBoundaries(java.awt.Graphics2D g)
Renders the label's boundaries to the submitted Graphics2D context. |
Method Detail |
public void paint(java.awt.Graphics2D g)
g
- Graphics2D context to be usedpublic void paintBoundaries(java.awt.Graphics2D g)
g
- Graphics2D context to be usedpublic boolean intersects(Label that)
that
- label to test
public int getX()
public int getY()
public int getMaxX()
public int getMaxY()
public int getMinX()
public int getMinY()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |