com.incrediblesoft.redjey.borders
Class SkinnedBorder

java.lang.Object
  extended by com.incrediblesoft.redjey.borders.AbstractBorder
      extended by com.incrediblesoft.redjey.borders.SkinnedBorder

public class SkinnedBorder
extends AbstractBorder


Constructor Summary
SkinnedBorder(java.util.Hashtable styleDesc)
           
 
Method Summary
 AbstractBorder clone()
           
 int getBottomBorderWidth()
           
 int getLeftBorderWidth()
           
 int getMinHeight()
           
 int getMinWidth()
           
 int getPreferredSize()
           
 int getRightBorderWidth()
           
 int getTopBorderWidth()
           
 void paint(javax.microedition.lcdui.Graphics g, int x, int y, int width, int height)
          Paints this border.
 
Methods inherited from class com.incrediblesoft.redjey.borders.AbstractBorder
tick
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinnedBorder

public SkinnedBorder(java.util.Hashtable styleDesc)
Method Detail

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

getPreferredSize

public int getPreferredSize()

getMinHeight

public int getMinHeight()
Specified by:
getMinHeight in class AbstractBorder

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 point
y - the vertical start point
width - the width of the border
height - the height of the border

clone

public AbstractBorder clone()
Specified by:
clone in class AbstractBorder