|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDrawer
This interface defines a component able to draw a scrollbar.
Method Summary | |
---|---|
void |
drawArrow(javax.microedition.lcdui.Graphics g,
int end,
int from,
int to)
Draw an arrow. |
void |
drawBackground(javax.microedition.lcdui.Graphics g,
int size,
int width)
Draw the background. |
void |
drawBody(javax.microedition.lcdui.Graphics g,
int start,
int end,
int from,
int to)
Draw the body. |
void |
drawCursor(javax.microedition.lcdui.Graphics g,
int start,
int width,
int from,
int length)
Draw the cursor. |
Method Detail |
---|
void drawBody(javax.microedition.lcdui.Graphics g, int start, int end, int from, int to)
g
- the graphicsstart
- the offset where to start at perpendiculary of the axis of the scrollbarend
- the offset where to end at perpendiculary of the axis of the scrollbarfrom
- the offset where to start at on the axis of the scrollbarto
- the offset where to end at on the axis of the scrollbarvoid drawArrow(javax.microedition.lcdui.Graphics g, int end, int from, int to)
g
- the graphicsend
- the offset where to end at perpendiculary of the axis of the scrollbarfrom
- the offset where to start at on the axis of the scrollbarto
- the offset where to end at on the axis of the scrollbarvoid drawCursor(javax.microedition.lcdui.Graphics g, int start, int width, int from, int length)
g
- the graphicsstart
- the offset to start at perpendiculary of the axis of the scrollbarwidth
- the width of the cursorfrom
- the offset to start at on the axis of the scrollbarlength
- the length of the cursorvoid drawBackground(javax.microedition.lcdui.Graphics g, int size, int width)
g
- the graphicssize
- the size of the scrollbarwidth
- the width of the scrollbar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |