|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.utils.GraphicsUtil
public class GraphicsUtil
Util class for rendering UI
Field Summary | |
---|---|
static int |
DROPDOWN_HINT_WIDTH
Width of the hint that is drawn on select box |
static int |
HINT_HEIGHT
Height of the hint that is drawn on list item |
static int |
HINT_MARGIN
Margin for the hint that is drawn on list item |
static int |
HINT_WIDTH
Width of the hint that is drawn on list item |
static int |
SHADOW_BORDER_WIDTH
Width of the shadowed border |
Constructor Summary | |
---|---|
GraphicsUtil()
|
Method Summary | |
---|---|
static void |
drawDropDownHint(int x,
int y,
int color,
net.rim.device.api.ui.Graphics g)
Draw the drop down indicator for select box |
static void |
drawHint(int x,
int y,
int color,
net.rim.device.api.ui.Graphics g)
Draw the hint to show a list item was assigned an action |
static void |
drawRoundRectWithShadow(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
int color,
net.rim.device.api.ui.Graphics g)
Draw a round rectangle with shadow |
static void |
drawShadowText(java.lang.String text,
int x,
int y,
int style,
int width,
net.rim.device.api.ui.Graphics g)
Draw text with shadow |
static void |
renderHighlight(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
net.rim.device.api.ui.Graphics g)
Draw the highlight effect |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SHADOW_BORDER_WIDTH
public static final int HINT_WIDTH
public static final int HINT_HEIGHT
public static final int HINT_MARGIN
public static final int DROPDOWN_HINT_WIDTH
Constructor Detail |
---|
public GraphicsUtil()
Method Detail |
---|
public static void drawRoundRectWithShadow(int x, int y, int width, int height, int arcWidth, int arcHeight, int color, net.rim.device.api.ui.Graphics g)
x
- y
- width
- height
- arcWidth
- arcHeight
- color
- g
- public static void drawHint(int x, int y, int color, net.rim.device.api.ui.Graphics g)
x
- y
- color
- g
- public static void renderHighlight(int x, int y, int width, int height, int arcWidth, int arcHeight, net.rim.device.api.ui.Graphics g)
x
- y
- width
- height
- arcWidth
- arcHeight
- g
- public static void drawShadowText(java.lang.String text, int x, int y, int style, int width, net.rim.device.api.ui.Graphics g)
text
- x
- y
- style
- width
- g
- public static void drawDropDownHint(int x, int y, int color, net.rim.device.api.ui.Graphics g)
x
- y
- color
- g
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |