synergynetframework.appsystem.contentsystem.items.utils
Class Border

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.items.utils.Border
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Border
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

The Class Border.

See Also:
Serialized Form

Constructor Summary
Border(java.awt.Color borderColour, int borderSize)
          Instantiates a new border.
 
Method Summary
 java.lang.Object clone()
           
 java.awt.Color getBorderColour()
          Gets the border colour.
 int getBorderSize()
          Gets the border size.
 void setBorderColour(java.awt.Color borderColour)
          Sets the border colour.
 void setBorderSize(int borderSize)
          Sets the border size.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Border

public Border(java.awt.Color borderColour,
              int borderSize)
Instantiates a new border.

Parameters:
borderColour - the border colour
borderSize - the border size
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getBorderColour

public java.awt.Color getBorderColour()
Gets the border colour.

Returns:
the border colour

getBorderSize

public int getBorderSize()
Gets the border size.

Returns:
the border size

setBorderColour

public void setBorderColour(java.awt.Color borderColour)
Sets the border colour.

Parameters:
borderColour - the new border colour

setBorderSize

public void setBorderSize(int borderSize)
Sets the border size.

Parameters:
borderSize - the new border size