borderscollection-ag凯发旗舰厅



com.spire.xls.collections
class borderscollection

java.lang.object
  extended by com.spire.xls.collections.borderscollection
all implemented interfaces:
iborders, java.lang.iterable

public class borderscollection
extends java.lang.object
implements iborders

constructor summary
borderscollection(iborders borders)
           
 
method summary
 iborder getbyborderslinetype(borderslinetype index)
          gets border item.
 int getcount()
          gets count of borders.
 excelcolors getknowncolor()
          returns or sets the primary excel color of the object.
 linestyletype getlinestyle()
          returns or sets the line style for the border.
 java.lang.object getparent()
           
 linestyletype getvalue()
          gets or sets line style of borders.
 void setcolor(java.awt.color value)
          sets the primary color of the object.
 void setknowncolor(excelcolors value)
          returns or sets the primary excel color of the object.
 void setlinestyle(linestyletype linestyle)
          sets the line style for the border.
 void setvalue(linestyletype value)
          gets or sets line style of borders.
 
methods inherited from interface com.spire.xls.core.iborders
getcolor
 
constructor detail

borderscollection

public borderscollection(iborders borders)
method detail

getknowncolor

public excelcolors getknowncolor()
returns or sets the primary excel color of the object.
specified by:
getknowncolor in interface iborders
returns:
returns or sets the primary color of the object, as shown in the following table. use the rgb function to create a color value. read / write excelcolors.

setknowncolor

public void setknowncolor(excelcolors value)
returns or sets the primary excel color of the object.
specified by:
setknowncolor in interface iborders
parameters:
value - returns or sets the primary color of the object, as shown in the following table. use the rgb function to create a color value. read / write excelcolors.

setcolor

public void setcolor(java.awt.color value)
sets the primary color of the object.
specified by:
setcolor in interface iborders
parameters:
value - returns or sets the primary color of the object,as shown in the following table. use the rgb function to create a color value. read / write color.

getbyborderslinetype

public iborder getbyborderslinetype(borderslinetype index)
gets border item.
specified by:
getbyborderslinetype in interface iborders
returns:
returns a border object that represents one of the borders of either a range of cells or a style.

getlinestyle

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

setlinestyle

public void setlinestyle(linestyletype linestyle)
sets the line style for the border.
specified by:
setlinestyle in interface iborders
parameters:
linestyle - returns or sets the line style for the border. read / write linestyletype.

getvalue

public linestyletype getvalue()
gets or sets line style of borders.
specified by:
getvalue in interface iborders
returns:
synonym for borders.linestyle. read / write.

setvalue

public void setvalue(linestyletype value)
gets or sets line style of borders.
specified by:
setvalue in interface iborders
parameters:
value - synonym for borders.linestyle. read / write.

getcount

public int getcount()
gets count of borders.
specified by:
getcount in interface iborders
returns:
returns the number of objects in the collection. read-only, long.

getparent

public java.lang.object getparent()


网站地图