|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ui.Border
de.enough.polish.ui.borders.DropShadowBorder
public class DropShadowBorder
Paints a translucent shadow on MIDP 2.0 and Nokia-UI-API devices.
Copyright (c) Enough Software 2005 - 2008
history
22-Aug-2005 - rob creation
| Field Summary | |
|---|---|
static int |
ALL
paints the border at all sides of the corresponding item |
static int |
BOTTOM_LEFT
paints the border at the bottom and the left sides of the corresponding item |
static int |
BOTTOM_RIGHT
paints the border at the bottom and the right sides of the corresponding item |
static int |
TOP_LEFT
paints the border at the top and the left sides of the corresponding item |
static int |
TOP_RIGHT
paints the border at the top and the right sides of the corresponding item |
| Fields inherited from class de.enough.polish.ui.Border |
|---|
borderWidth |
| Constructor Summary | |
|---|---|
DropShadowBorder(int innerColor,
int outerColor,
int width,
int offset,
int orientation)
|
|
| Method Summary | |
|---|---|
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this border. |
| Methods inherited from class de.enough.polish.ui.Border |
|---|
animate, animate, hideNotify, showNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BOTTOM_RIGHT
public static final int TOP_RIGHT
public static final int BOTTOM_LEFT
public static final int TOP_LEFT
public static final int ALL
| Constructor Detail |
|---|
public DropShadowBorder(int innerColor,
int outerColor,
int width,
int offset,
int orientation)
| Method Detail |
|---|
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Border
paint in class Borderx - the horizontal start pointy - the vertical start pointwidth - the width of the borderheight - the height of the borderg - the Graphics on which the border should be painted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||