|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.BorderInfo
public class BorderInfo
Encapsulates the border info for the Table
,
Row
and Cell
.
Typical usages are the following:
Field Summary | |
---|---|
static CombinationStyle |
CombSty
|
Constructor Summary | |
---|---|
BorderInfo()
Constructor - initializes a new instance of the BorderInfo class. |
|
BorderInfo(int borderSide)
Constructor - initializes a new instance of the BorderInfo class. |
|
BorderInfo(int borderSide,
Color borderColor)
Constructor - initializes a new instance of the BorderInfo class. |
|
BorderInfo(int borderSide,
float borderWidth)
Constructor - initializes a new instance of the BorderInfo class. |
|
BorderInfo(int borderSide,
float borderWidth,
Color borderColor)
Constructor - initializes a new instance of the BorderInfo class. |
|
BorderInfo(int borderSide,
GraphInfo borderFormat)
Constructor - initializes a new instance of the BorderInfo class. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones a new BorderInfo object. |
GraphInfo |
getBottom()
Gets a GraphInfo object that indicates bottom of the border. |
static int |
getCombineStyle()
Gets value for CombinationStyle property. |
GraphInfo |
getLeft()
Gets a GraphInfo object that indicates left of the border. |
GraphInfo |
getRight()
Gets a GraphInfo object that indicates right of the border. |
GraphInfo |
getTop()
Gets a GraphInfo object that indicates top of the border. |
void |
setBorderStyle(int borderSide,
BorderStyle style)
Sets the style of borders. |
void |
setBottom(GraphInfo value)
Sets a GraphInfo object that indicates
bottom of the border. |
void |
setCombineStyle(CombinationStyle value)
Sets value for CombinationStyle property. |
void |
setLeft(GraphInfo value)
Sets a GraphInfo object that indicates left of the border. |
void |
setRight(GraphInfo value)
Sets a GraphInfo object that indicates
right of the border. |
void |
setTop(GraphInfo value)
Sets a GraphInfo object that indicates top of the border. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static CombinationStyle CombSty
Constructor Detail |
---|
public BorderInfo()
BorderInfo
class.
public BorderInfo(int borderSide)
BorderInfo
class.
borderSide
- Indicates the border sides info.
For example: BorderSide.Left.getValue() | BorderSide.Top.getValue().public BorderInfo(int borderSide, float borderWidth)
BorderInfo
class.
borderSide
- Indicates the border sides info.
For example: BorderSide.Left.getValue() | BorderSide.TopgetValue().borderWidth
- The width of the border.public BorderInfo(int borderSide, float borderWidth, Color borderColor)
BorderInfo
class.
borderSide
- Indicates the border sides info.
For example: BorderSide.Left.getValue() | BorderSide.Top.getValue().borderWidth
- The width of the border.borderColor
- The border color.public BorderInfo(int borderSide, GraphInfo borderFormat)
BorderInfo
class.
borderSide
- Indicates the border sides info.
For example: BorderSide.Left.getValue() | BorderSide.Top.getValue().borderFormat
- The border format info.public BorderInfo(int borderSide, Color borderColor)
BorderInfo
class.
borderSide
- Indicates the border sides info.
For example: BorderSide.Left.getValue() | BorderSide.Top.getValue().borderColor
- The border color.Method Detail |
---|
public GraphInfo getLeft()
GraphInfo
object that indicates left of the border.
GraphInfo
object.public void setLeft(GraphInfo value)
GraphInfo
object that indicates left of the border.
value
- A GraphInfo
object.public GraphInfo getRight()
GraphInfo
object that indicates right of the border.
GraphInfo
object.public void setRight(GraphInfo value)
GraphInfo
object that indicates
right of the border.
value
- A GraphInfo
object.public GraphInfo getTop()
GraphInfo
object that indicates top of the border.
GraphInfo
object.public void setTop(GraphInfo value)
GraphInfo
object that indicates top of the border.
value
- A GraphInfo
object.public GraphInfo getBottom()
GraphInfo
object that indicates bottom of the border.
GraphInfo
object.public void setBottom(GraphInfo value)
GraphInfo
object that indicates
bottom of the border.
value
- GraphInfo
object.public java.lang.Object clone()
BorderInfo
object.
clone
in class java.lang.Object
BorderInfo
object.public void setBorderStyle(int borderSide, BorderStyle style)
borderSide
- The border sides to be set.
For example, BorderSide.Top.getValue() | BorderSide.RightgetValue().style
- The style of the borders.
Typical usages are the following:
public static int getCombineStyle()
public void setCombineStyle(CombinationStyle value)
CombinationStyle
property.
value
- A CombinationStyle
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |