com.aspose.pdf.elements
Class BorderInfo

java.lang.Object
  extended by com.aspose.pdf.elements.BorderInfo
All Implemented Interfaces:
java.lang.Cloneable

public class BorderInfo
extends java.lang.Object
implements java.lang.Cloneable

Encapsulates the border info for the Table, Row and Cell.


Constructor Summary
BorderInfo()
          Initialize a new instance of the BorderInfo class.
BorderInfo(BorderSide borderSide)
          Initialize a new instance of the BorderInfo class.
BorderInfo(BorderSide borderSide, float borderWidth)
          Initialize a new instance of the BorderInfo class.
BorderInfo(BorderSide borderSide, float borderWidth, Color borderColor)
          Initialize a new instance of the BorderInfo class.
 
Method Summary
 java.lang.Object clone()
           
 int getBorderSide()
           
 GraphInfo getBottom()
          Gets a GraphInfo object that indicates bottom of the border.
 GraphInfo getLeft()
          Gets a GraphInfo object that indicates left of the border.
 GraphInfo getRight()
          Gets GraphInfo object that indicates right of the border.
 GraphInfo getTop()
          Gets a GraphInfo object that indicates the top border.
 void setAll(GraphInfo all)
          Sets a GraphInfo object that indicates all sides of the border
 void setBorderSide(BorderSide borderSide)
           
 void setBottom(GraphInfo bottom)
          Sets a GraphInfo object that indicates bottom of the border.
 void setLeft(GraphInfo left)
          Sets a GraphInfo object that indicates left of the border.
 void setRight(GraphInfo right)
          Sets a GraphInfo object that indicates right of the border.
 void setTop(GraphInfo top)
          Sets a GraphInfo object that indicates the top border.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderInfo

public BorderInfo()
Initialize a new instance of the BorderInfo class.


BorderInfo

public BorderInfo(BorderSide borderSide)
Initialize a new instance of the BorderInfo class.

Parameters:
borderSide - The BorderSide that Indicates the border sides info.
For example: (int)(BorderSide.Left | BorderSide.Top).

BorderInfo

public BorderInfo(BorderSide borderSide,
                  float borderWidth)
Initialize a new instance of the BorderInfo class.

Parameters:
borderSide - Indicates the border sides info. For example: (int)(BorderSide.Left | BorderSide.Top).
borderWidth - The width of the border.

BorderInfo

public BorderInfo(BorderSide borderSide,
                  float borderWidth,
                  Color borderColor)
Initialize a new instance of the BorderInfo class.

Parameters:
borderSide - Indicates the border sides info. For example: (int)(BorderSide.Left | BorderSide.Top).
borderWidth - The width of the border.
borderColor - The border color.
Method Detail

clone

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

getBottom

public GraphInfo getBottom()
Gets a GraphInfo object that indicates bottom of the border.


setBottom

public void setBottom(GraphInfo bottom)
               throws AsposeBaseException
Sets a GraphInfo object that indicates bottom of the border.

Throws:
AsposeBaseException

getLeft

public GraphInfo getLeft()
Gets a GraphInfo object that indicates left of the border.


setLeft

public void setLeft(GraphInfo left)
             throws AsposeBaseException
Sets a GraphInfo object that indicates left of the border.

Throws:
AsposeBaseException

setAll

public void setAll(GraphInfo all)
            throws AsposeBaseException
Sets a GraphInfo object that indicates all sides of the border

Throws:
AsposeBaseException

getRight

public GraphInfo getRight()
Gets GraphInfo object that indicates right of the border.


setRight

public void setRight(GraphInfo right)
              throws AsposeCloneNotSupportedException
Sets a GraphInfo object that indicates right of the border.

Throws:
AsposeCloneNotSupportedException

getTop

public GraphInfo getTop()
Gets a GraphInfo object that indicates the top border.


setTop

public void setTop(GraphInfo top)
            throws AsposeBaseException
Sets a GraphInfo object that indicates the top border.

Throws:
AsposeBaseException

getBorderSide

public int getBorderSide()

setBorderSide

public void setBorderSide(BorderSide borderSide)