sortcolumns-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.sorting
class sortcolumns

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by com.spire.xls.core.spreadsheet.sorting.sortcolumns
all implemented interfaces:
com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, java.lang.iterable

public class sortcolumns
extends

represents the sort column collection.


constructor summary
sortcolumns(java.lang.object parent,  ds)
           
 
method summary
 sortcolumn add(int key, orderby orderby)
          adds the item in the collection.
 sortcolumn add(int key, sortcomparsiontype sortcomparsiontype, orderby orderby)
          adds the item in the collection.
 void clear()
           
 sortcolumn get(int fieldindex)
          gets object at the special field.
 sortcolumn getbyindex(int index)
          returns a single filter object from a collection.
 int getcapacity()
           
 int getcount()
           
 void remove(int key)
          remvoes the sort item in the collection.
 void remove(sortcolumn sortcolumn)
          removes the item in the collection.
 void removeat(int index)
           
 void setcapacity(int value)
           
 
constructor detail

sortcolumns

public sortcolumns(java.lang.object parent,
                    ds)
method detail

add

public sortcolumn add(int key,
                      sortcomparsiontype sortcomparsiontype,
                      orderby orderby)
adds the item in the collection.
parameters:
key - column index to sort the data.
sortcomparsiontype - compare value type.
orderby - to order the sorted data.
returns:
added sort column.

add

public sortcolumn add(int key,
                      orderby orderby)
adds the item in the collection.
parameters:
key - column index to sort the data.
orderby - to order the sorted data.
returns:
added sort column.

remove

public void remove(sortcolumn sortcolumn)
removes the item in the collection.
parameters:
sortcolumn - sort column to remove from the collection.

remove

public void remove(int key)
remvoes the sort item in the collection.
parameters:
key - field index to remove.

removeat

public void removeat(int index)
overrides:
removeat in class com.spire.ms.system.collections.collectionbase
parameters:
index -

getbyindex

public sortcolumn getbyindex(int index)
returns a single filter object from a collection.

get

public sortcolumn get(int fieldindex)
gets object at the special field.
parameters:
fieldindex - the integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0).
returns:
returens object.

clear

public void clear()
overrides:
clear in class com.spire.ms.system.collections.collectionbase

getcapacity

public int getcapacity()
overrides:
getcapacity in class com.spire.ms.system.collections.collectionbase

setcapacity

public void setcapacity(int value)
overrides:
setcapacity in class com.spire.ms.system.collections.collectionbase

getcount

public int getcount()


网站地图