|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ui.Border
public abstract class Border
Provides an abstract border.
copyright Enough Software 2004 - 2008
| Field Summary | |
|---|---|
int |
borderWidth
general width of the border |
| Constructor Summary | |
|---|---|
Border()
Creates a new border. |
|
| Method Summary | |
|---|---|
boolean |
animate()
Animates this border. |
void |
animate(Screen screen,
Item parent,
long currentTime,
ClippingRegion repaintRegion)
Animates this background. |
void |
hideNotify()
Informs the border that it is being hidden shortly. |
abstract void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this border. |
void |
showNotify()
Informs the border that it is being shown shortly or that it is now applied to a new visible item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int borderWidth
| Constructor Detail |
|---|
public Border()
| Method Detail |
|---|
public abstract void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
x - 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.
public void animate(Screen screen,
Item parent,
long currentTime,
ClippingRegion repaintRegion)
screen - the parent screenparent - the parent item, can be null when the background belongs to a screencurrentTime - the current time in millisecondsrepaintRegion - the repaint area that needs to be updated when this item is animatedItem.addRelativeToContentRegion(ClippingRegion, int, int, int, int)public boolean animate()
animate(Screen, Item, long, ClippingRegion)public void hideNotify()
public void showNotify()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||