public class CellBorderStyle
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
构造器和说明 |
---|
CellBorderStyle()
默认的构造函数
|
CellBorderStyle(java.awt.Color topColor,
int topStyle,
java.awt.Color leftColor,
int leftStyle,
java.awt.Color bottomColor,
int bottomStyle,
java.awt.Color rightColor,
int rightStyle,
java.awt.Color verticalColor,
int verticalStyle,
java.awt.Color horizontalColor,
int horizontalStyle)
指定了上下左右横竖边框颜色样式的单元格边框
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
java.awt.Color |
getBottomColor() |
int |
getBottomStyle() |
java.awt.Color |
getHorizontalColor() |
int |
getHorizontalStyle() |
int |
getInnerBorder() |
java.awt.Color |
getLeftColor() |
int |
getLeftStyle() |
int |
getOuterBorderStyle() |
java.awt.Color |
getRightColor() |
int |
getRightStyle() |
java.awt.Color |
getTopColor() |
int |
getTopStyle() |
java.awt.Color |
getVerticalColor() |
int |
getVerticalStyle() |
boolean |
isNoneBorderStyle() |
void |
setBottomColor(java.awt.Color bottomColor)
设置底部边框的颜色
|
void |
setBottomStyle(int bottomStyle)
设置底部边框的样式
|
void |
setHorizontalColor(java.awt.Color horizontalColor)
设置水平边框的颜色
|
void |
setHorizontalStyle(int horizontalStyle)
设置水平边框的样式
|
void |
setLeftColor(java.awt.Color leftColor)
设置左边边框颜色
|
void |
setLeftStyle(int leftStyle)
设置左边边框的样式
|
void |
setRightColor(java.awt.Color rightColor)
设置右侧边框的颜色
|
void |
setRightStyle(int rightStyle)
*设置右侧边框的样式
|
void |
setTopColor(java.awt.Color topColor)
设置顶部边框颜色
|
void |
setTopStyle(int topStyle)
设置顶部边框样式
|
void |
setVerticalColor(java.awt.Color verticalColor)
设置垂直边框的颜色
|
void |
setVerticalStyle(int verticalStyle)
设置垂直边框的样式
|
public CellBorderStyle()
public CellBorderStyle(java.awt.Color topColor, int topStyle, java.awt.Color leftColor, int leftStyle, java.awt.Color bottomColor, int bottomStyle, java.awt.Color rightColor, int rightStyle, java.awt.Color verticalColor, int verticalStyle, java.awt.Color horizontalColor, int horizontalStyle)
topColor
- 顶部边框颜色topStyle
- 顶部边框样式leftColor
- 左边边框颜色leftStyle
- 左边边框样式bottomColor
- 底部边框颜色bottomStyle
- 底部边框样式rightColor
- 右边边框颜色rightStyle
- 右边边框样式verticalColor
- 垂直边框颜色verticalStyle
- 垂直边框样式horizontalColor
- 水平边框样色horizontalStyle
- 水平边框样式public int getOuterBorderStyle()
public int getInnerBorder()
public java.awt.Color getTopColor()
public void setTopColor(java.awt.Color topColor)
topColor
- 颜色public int getTopStyle()
public void setTopStyle(int topStyle)
topStyle
- 样式public java.awt.Color getLeftColor()
public void setLeftColor(java.awt.Color leftColor)
leftColor
- 颜色public int getLeftStyle()
public void setLeftStyle(int leftStyle)
leftStyle
- 样式public java.awt.Color getBottomColor()
public void setBottomColor(java.awt.Color bottomColor)
bottomColor
- 颜色public int getBottomStyle()
public void setBottomStyle(int bottomStyle)
bottomStyle
- 样式public java.awt.Color getRightColor()
public void setRightColor(java.awt.Color rightColor)
rightColor
- 颜色public int getRightStyle()
public void setRightStyle(int rightStyle)
rightStyle
- 样式public java.awt.Color getVerticalColor()
public void setVerticalColor(java.awt.Color verticalColor)
verticalColor
- 颜色public int getVerticalStyle()
public void setVerticalStyle(int verticalStyle)
verticalStyle
- 样式public java.awt.Color getHorizontalColor()
public void setHorizontalColor(java.awt.Color horizontalColor)
horizontalColor
- 颜色public boolean isNoneBorderStyle()
public int getHorizontalStyle()
public void setHorizontalStyle(int horizontalStyle)
horizontalStyle
- 样式public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException