fi.hut.tml.xsmiles.csslayout
Class Border

java.lang.Object
  extended byfi.hut.tml.xsmiles.csslayout.Border

public class Border
extends java.lang.Object

Author:
Alessandro

Field Summary
protected  java.awt.Color borderColor
           
protected  int thickness
           
 
Constructor Summary
Border()
          Creates a new instance of Border
Border(java.awt.Color color)
           
Border(java.awt.Color color, int thick)
           
Border(int thick)
           
 
Method Summary
 void paintBorder(java.awt.Graphics g, int x, int y, int width, int height)
           
 void setColor(java.awt.Color color)
           
 void setThickness(int thick)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thickness

protected int thickness

borderColor

protected java.awt.Color borderColor
Constructor Detail

Border

public Border()
Creates a new instance of Border


Border

public Border(java.awt.Color color)

Border

public Border(int thick)

Border

public Border(java.awt.Color color,
              int thick)
Method Detail

paintBorder

public void paintBorder(java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)

setThickness

public void setThickness(int thick)

setColor

public void setColor(java.awt.Color color)


X-Smiles 1.2