de.enough.polish.ui.borders
Class ImageBorder
java.lang.Object
de.enough.polish.ui.Border
de.enough.polish.ui.borders.ImageBorder
- All Implemented Interfaces:
- Serializable
public class ImageBorder
- extends Border
Paints an border with customizable images for each edge and each side.
Copyright (c) Enough Software 2007 - 2008
- Author:
- Michael Koch, michael.koch@enough.de
|
Constructor Summary |
ImageBorder(int borderWidth,
javax.microedition.lcdui.Image image)
|
ImageBorder(int borderWidth,
java.lang.String imageUrl)
|
|
Method Summary |
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this border. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageBorder
public ImageBorder(int borderWidth,
javax.microedition.lcdui.Image image)
ImageBorder
public ImageBorder(int borderWidth,
java.lang.String imageUrl)
paint
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
- Description copied from class:
Border
- Paints this border.
- Specified by:
paint in class Border
- Parameters:
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.