de.enough.polish.ui.backgrounds
Class BorderedRoundTabBackground
java.lang.Object
de.enough.polish.ui.Background
de.enough.polish.ui.backgrounds.BorderedRoundTabBackground
- All Implemented Interfaces:
- Serializable
public class BorderedRoundTabBackground
- extends Background
Paints a rectangle with top round corners and a border.
Copyright Enough Software 2005 - 2008
- Author:
- Robert Virkus, robert@enough.de
|
Constructor Summary |
BorderedRoundTabBackground(int color,
int arcWidth,
int arcHeight,
int borderColor,
int borderWidth)
Creates a new round rectangle background with a border. |
|
Method Summary |
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this background. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorderedRoundTabBackground
public BorderedRoundTabBackground(int color,
int arcWidth,
int arcHeight,
int borderColor,
int borderWidth)
- Creates a new round rectangle background with a border.
- Parameters:
color - the color of the backgroundarcWidth - 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
paint
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
- Description copied from class:
Background
- Paints this background.
- Specified by:
paint in class Background
- Parameters:
x - 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.