iborder-ag凯发旗舰厅



com.spire.xls.core
interface iborder

all known implementing classes:
cellborder

public interface iborder

method summary
 java.awt.color getcolor()
           
 excelcolors getknowncolor()
          read/write long.
 linestyletype getlinestyle()
           
 ocolor getocolor()
          read/write excelcolors.
 boolean getshowdiagonalline()
          this property is used only by diagonal borders.
 void setcolor(java.awt.color color)
           
 void setknowncolor(excelcolors excelcolor)
           
 void setlinestyle(linestyletype linestyletype)
          sets the line style for the border.
 void setshowdiagonalline(boolean showdiagonalline)
           
 
method detail

getknowncolor

excelcolors getknowncolor()
read/write long.
returns:
returns or sets the primary color of the object. use the rgb function to create a color value.

setknowncolor

void setknowncolor(excelcolors excelcolor)
parameters:
excelcolor - sets the primary color of the object.

getocolor

ocolor getocolor()
read/write excelcolors.
returns:
returns or sets the primary color of the object.

getcolor

java.awt.color getcolor()
returns:
returns color of the border.

setcolor

void setcolor(java.awt.color color)
parameters:
color - set color of the border.

getlinestyle

linestyletype getlinestyle()
returns:
returns the line style for the border. read/write linestyletype.

setlinestyle

void setlinestyle(linestyletype linestyletype)
sets the line style for the border. write line style type.
parameters:
linestyletype -

getshowdiagonalline

boolean getshowdiagonalline()
this property is used only by diagonal borders. for any other border index property will have no influence.
returns:
flag for show diagonal line

setshowdiagonalline

void setshowdiagonalline(boolean showdiagonalline)
parameters:
showdiagonalline -


网站地图