com.incrediblesoft.redjey.borders
Class AbstractBorder
java.lang.Object
com.incrediblesoft.redjey.borders.AbstractBorder
- Direct Known Subclasses:
- SimpleBorder, SkinnedBorder
public abstract class AbstractBorder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBorder
public AbstractBorder()
- Creates a new border.
The width of this border is set to the default value 1 here.
AbstractBorder
public AbstractBorder(java.util.Hashtable styleDesc)
getLeftBorderWidth
public abstract int getLeftBorderWidth()
getTopBorderWidth
public abstract int getTopBorderWidth()
getRightBorderWidth
public abstract int getRightBorderWidth()
getBottomBorderWidth
public abstract int getBottomBorderWidth()
getMinWidth
public abstract int getMinWidth()
getMinHeight
public abstract int getMinHeight()
tick
public void tick(int dt)
paint
public abstract void paint(javax.microedition.lcdui.Graphics g,
int x,
int y,
int width,
int height)
- Paints this 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.
clone
public abstract AbstractBorder clone()
- Overrides:
clone
in class java.lang.Object