org.pentaho.reporting.engine.classic.core.layout.model
Class Border

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.model.Border
All Implemented Interfaces:
Cloneable

public final class Border
extends Object
implements Cloneable

Creation-Date: 03.04.2007, 13:54:17

Author:
Thomas Morgner

Field Summary
static Border EMPTY_BORDER
           
 
Constructor Summary
Border(BorderEdge top, BorderEdge left, BorderEdge bottom, BorderEdge right, BorderEdge splittingEdge, BorderCorner topLeft, BorderCorner topRight, BorderCorner bottomLeft, BorderCorner bottomRight)
           
 
Method Summary
 Object clone()
           
 BorderEdge getBottom()
           
 BorderCorner getBottomLeft()
           
 BorderCorner getBottomRight()
           
 BorderEdge getLeft()
           
 BorderEdge getRight()
           
 BorderEdge getSplittingEdge()
           
 BorderEdge getTop()
           
 BorderCorner getTopLeft()
           
 BorderCorner getTopRight()
           
 boolean isEmpty()
           
 boolean isSameForAllSides()
           
 Border[] splitHorizontally(Border[] borders)
           
 Border[] splitVertically(Border[] borders)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_BORDER

public static final Border EMPTY_BORDER
Constructor Detail

Border

public Border(BorderEdge top,
              BorderEdge left,
              BorderEdge bottom,
              BorderEdge right,
              BorderEdge splittingEdge,
              BorderCorner topLeft,
              BorderCorner topRight,
              BorderCorner bottomLeft,
              BorderCorner bottomRight)
Method Detail

getTop

public BorderEdge getTop()

getLeft

public BorderEdge getLeft()

getBottom

public BorderEdge getBottom()

getRight

public BorderEdge getRight()

getSplittingEdge

public BorderEdge getSplittingEdge()

getTopLeft

public BorderCorner getTopLeft()

getTopRight

public BorderCorner getTopRight()

getBottomLeft

public BorderCorner getBottomLeft()

getBottomRight

public BorderCorner getBottomRight()

splitVertically

public Border[] splitVertically(Border[] borders)

splitHorizontally

public Border[] splitHorizontally(Border[] borders)

clone

public Object clone()
Overrides:
clone in class Object

isSameForAllSides

public boolean isSameForAllSides()

isEmpty

public boolean isEmpty()

toString

public String toString()
Overrides:
toString in class Object