|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Label
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
String representation of this label |
Point |
getViewUpdate(int screenX,
int screenY,
int displayWidth,
int displayHeight)
Get pixels needed for proper label display. |
void |
labelClicked(int screenX,
int screenY,
int displayWidth,
int displayHeight,
int clickX,
int clickY)
Notify label about the click and click location on screen |
void |
paint(Graphics g,
int screenX,
int screenY,
int displayWidth,
int displayHeight)
Paint label to screen |
boolean |
pointOnLabel(int screenX,
int screenY,
int displayWidth,
int displayHeight,
int pointX,
int pointY)
Is given screen point on label |
| Method Detail |
|---|
java.lang.String getLabel()
void paint(Graphics g,
int screenX,
int screenY,
int displayWidth,
int displayHeight)
g - graphics object to be drawn onscreenX - place x location on screenscreenY - place y location on screendisplayWidth - available display widthdisplayHeight - available display height
boolean pointOnLabel(int screenX,
int screenY,
int displayWidth,
int displayHeight,
int pointX,
int pointY)
screenX - place x location on screenscreenY - place y location on screendisplayWidth - available display widthdisplayHeight - available display heightpointX - point location x on displaypointY - point location y on display
void labelClicked(int screenX,
int screenY,
int displayWidth,
int displayHeight,
int clickX,
int clickY)
screenX - place x location on screenscreenY - place y location on screendisplayWidth - available display widthdisplayHeight - available display heightclickX - click location x on displayclickY - click location y on display
Point getViewUpdate(int screenX,
int screenY,
int displayWidth,
int displayHeight)
screenX - object location x on screenscreenY - object location y on screendisplayWidth - available display widthdisplayHeight - available display height
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||