com.aspose.pdf.elements
Class BorderInfo

java.lang.Object
  extended bycom.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(int borderSide)
          Initialize a new instance of the BorderInfo class.
BorderInfo(int borderSide, float borderWidth)
          Initialize a new instance of the BorderInfo class.
BorderInfo(int borderSide, float borderWidth, Color borderColor)
          Initialize a new instance of the BorderInfo class.
 
Method Summary
 java.lang.Object clone()
           
 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 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(int 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(int 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(int 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
Throws:
java.lang.CloneNotSupportedException
See Also:
java.lang.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

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