com.incrediblesoft.redjey.borders
Class SimpleBorder
java.lang.Object
com.incrediblesoft.redjey.borders.AbstractBorder
com.incrediblesoft.redjey.borders.SimpleBorder
public class SimpleBorder
- extends AbstractBorder
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleBorder
public SimpleBorder(int borderWidth,
int color)
SimpleBorder
public SimpleBorder(int borderWidth,
int color,
int arcWidth,
int arcHeight)
SimpleBorder
public SimpleBorder(java.util.Hashtable styleDesc)
getLeftBorderWidth
public int getLeftBorderWidth()
- Specified by:
getLeftBorderWidth
in class AbstractBorder
getTopBorderWidth
public int getTopBorderWidth()
- Specified by:
getTopBorderWidth
in class AbstractBorder
getRightBorderWidth
public int getRightBorderWidth()
- Specified by:
getRightBorderWidth
in class AbstractBorder
getBottomBorderWidth
public int getBottomBorderWidth()
- Specified by:
getBottomBorderWidth
in class AbstractBorder
getMinWidth
public int getMinWidth()
- Specified by:
getMinWidth
in class AbstractBorder
getMinHeight
public int getMinHeight()
- Specified by:
getMinHeight
in class AbstractBorder
getArcWidth
public int getArcWidth()
setArcWidth
public void setArcWidth(int arcWidth)
getArcHeight
public int getArcHeight()
setArcHeight
public void setArcHeight(int arcHeight)
paint
public void paint(javax.microedition.lcdui.Graphics g,
int x,
int y,
int width,
int height)
- Description copied from class:
AbstractBorder
- Paints this border.
- Specified by:
paint
in class AbstractBorder
- Parameters:
g
- the Graphics on which the border should be painted.x
- the horizontal start pointy
- the vertical start pointwidth
- the width of the borderheight
- the height of the border
clone
public AbstractBorder clone()
- Specified by:
clone
in class AbstractBorder