cellborder-ag凯发旗舰厅



com.spire.xls
class cellborder

java.lang.object
  extended by com.spire.xls.cellborder
all implemented interfaces:
iborder

public class cellborder
extends java.lang.object
implements iborder

constructor summary
cellborder(iborder border)
           
 
method summary
 void copyfrom(cellborder srcborder)
          copies styles from source border.
 java.awt.color getcolor()
           
 excelcolors getknowncolor()
          read/write long.
 linestyletype getlinestyle()
          returns the line style for the border.
 ocolor getocolor()
          read/write excelcolors.
 java.lang.object getparent()
           
 boolean getshowdiagonalline()
          this property is used only by diagonal borders.
 void setcolor(java.awt.color color)
          sets color of the border.
 void setknowncolor(excelcolors excelcolors)
          sets a excel colors value that represents the color of the border.
 void setlinestyle(linestyletype linestyletype)
          sets the line style for the border.
 void setshowdiagonalline(boolean showdiagonalline)
          sets whether shows diagonal line.
 
constructor detail

cellborder

public cellborder(iborder border)
method detail

getknowncolor

public excelcolors getknowncolor()
description copied from interface: iborder
read/write long.
specified by:
getknowncolor in interface iborder
returns:
returns a excel colors value that represents the color of the border

setknowncolor

public void setknowncolor(excelcolors excelcolors)
sets a excel colors value that represents the color of the border.
specified by:
setknowncolor in interface iborder
parameters:
excelcolors -

getcolor

public java.awt.color getcolor()
specified by:
getcolor in interface iborder
returns:
returns the primary color of the border.

setcolor

public void setcolor(java.awt.color color)
sets color of the border.
specified by:
setcolor in interface iborder
parameters:
color -

getocolor

public ocolor getocolor()
description copied from interface: iborder
read/write excelcolors.
specified by:
getocolor in interface iborder
returns:
returns the primary color of the object.

getlinestyle

public linestyletype getlinestyle()
returns the line style for the border. read/write line style type.
specified by:
getlinestyle in interface iborder
returns:

setlinestyle

public void setlinestyle(linestyletype linestyletype)
sets the line style for the border. read/write line style type.
specified by:
setlinestyle in interface iborder
parameters:
linestyletype -

getshowdiagonalline

public boolean getshowdiagonalline()
description copied from interface: iborder
this property is used only by diagonal borders. for any other border index property will have no influence.
specified by:
getshowdiagonalline in interface iborder
returns:
indicates whether shows diagonal line.

setshowdiagonalline

public void setshowdiagonalline(boolean showdiagonalline)
sets whether shows diagonal line.
specified by:
setshowdiagonalline in interface iborder
parameters:
showdiagonalline -

getparent

public java.lang.object getparent()

copyfrom

public void copyfrom(cellborder srcborder)
copies styles from source border.
parameters:
srcborder - source border.


网站地图