de.enough.polish.ui.borders
Class MultiImageBorder
java.lang.Object
de.enough.polish.ui.Border
de.enough.polish.ui.borders.MultiImageBorder
- All Implemented Interfaces:
- Serializable
public class MultiImageBorder
- extends Border
Paints an border with customizable images for each edge and each side.
Copyright Enough Software 2007 - 2008
- Author:
- Michael Koch, michael.koch@enough.de
|
Constructor Summary |
MultiImageBorder(int borderWidth,
javax.microedition.lcdui.Image topLeft,
javax.microedition.lcdui.Image topCenter,
javax.microedition.lcdui.Image topRight,
javax.microedition.lcdui.Image middleLeft,
javax.microedition.lcdui.Image middleRight,
javax.microedition.lcdui.Image bottomLeft,
javax.microedition.lcdui.Image bottomCenter,
javax.microedition.lcdui.Image bottomRight)
|
MultiImageBorder(int borderWidth,
java.lang.String topLeft,
java.lang.String topCenter,
java.lang.String topRight,
java.lang.String middleLeft,
java.lang.String middleRight,
java.lang.String bottomLeft,
java.lang.String bottomCenter,
java.lang.String bottomRight)
|
|
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 |
MultiImageBorder
public MultiImageBorder(int borderWidth,
javax.microedition.lcdui.Image topLeft,
javax.microedition.lcdui.Image topCenter,
javax.microedition.lcdui.Image topRight,
javax.microedition.lcdui.Image middleLeft,
javax.microedition.lcdui.Image middleRight,
javax.microedition.lcdui.Image bottomLeft,
javax.microedition.lcdui.Image bottomCenter,
javax.microedition.lcdui.Image bottomRight)
MultiImageBorder
public MultiImageBorder(int borderWidth,
java.lang.String topLeft,
java.lang.String topCenter,
java.lang.String topRight,
java.lang.String middleLeft,
java.lang.String middleRight,
java.lang.String bottomLeft,
java.lang.String bottomCenter,
java.lang.String bottomRight)
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.