|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ui.Background
de.enough.polish.ui.backgrounds.BorderedRoundRectOpeningBackground
public class BorderedRoundRectOpeningBackground
Draws an expanding backround which will show a border when it is fully expanded.
Copyright Enough Software 2004 - 2008
history
09-Nov-2004 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ui.Background |
|---|
borderWidth |
| Constructor Summary | |
|---|---|
BorderedRoundRectOpeningBackground(int color,
int startHeight,
int speed,
int arcWidth,
int arcHeight,
int borderColor,
int borderWidth)
Creates a new opening background. |
|
| Method Summary | |
|---|---|
boolean |
animate()
Animates this background. |
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this background. |
void |
showNotify()
Informs the background that it is being shown shortly or that it is now applied to a new visible item. |
| Methods inherited from class de.enough.polish.ui.Background |
|---|
addRelativeToBackgroundRegion, animate, hideNotify, releaseResources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BorderedRoundRectOpeningBackground(int color,
int startHeight,
int speed,
int arcWidth,
int arcHeight,
int borderColor,
int borderWidth)
color - the color of the background.startHeight - the start height, default is 1speed - the constant speed in of pixels by which the background-height should be increased
at each animation-step, use -1 to acceleratearcWidth - the horizontal diameter of the arc at the four cornersarcHeight - the vertical diameter of the arc at the four cornersborderColor - the color of the borderborderWidth - the width of the border| Method Detail |
|---|
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Background
paint in class Backgroundx - the horizontal start pointy - the vertical start pointwidth - the width of the backgroundheight - the height of the backgroundg - the Graphics on which the background should be painted.public boolean animate()
Background
animate in class BackgroundBackground.animate(Screen, Item, long, ClippingRegion)public void showNotify()
Background
showNotify in class Background
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||