|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IControlXYDraw
Interface that provides APIs to draw an item
Method Summary | |
---|---|
void |
draw(net.rim.device.api.ui.Graphics g,
int relativeX,
int relativeY,
boolean isFocus)
Draws the item that implements the interface |
int |
getXPosition(boolean isFocus)
Gets the X coordinator of the drawing item |
int |
getYPosition(boolean isFocus)
Gets the Y coordinator of the drawing item |
void |
setXPosition(int xPos,
boolean isFocus)
Sets the X coordinator of the drawing item |
void |
setYPosition(int yPos,
boolean isFocus)
Sets the Y coordinator of the drawing item |
Method Detail |
---|
void setXPosition(int xPos, boolean isFocus)
xPos
- - X coordinatorisFocus
- - true means xPos is the position when the control is focusedvoid setYPosition(int yPos, boolean isFocus)
yPos
- - Y coordinatorisFocus
- - true means yPos is the position when the control is focusedint getXPosition(boolean isFocus)
isFocus
- - true means the method returns the position when the control is focused
int getYPosition(boolean isFocus)
isFocus
- - true means the method returns the position when the control is focused
void draw(net.rim.device.api.ui.Graphics g, int relativeX, int relativeY, boolean isFocus)
g
- - Graphics objectrelativeX
- - relative X coordinatorrelativeY
- - relative Y coordinatorisFocus
- - true means the control is focused
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |