public class ColumnsEvent extends StyleChangedEvent
| Constructor and Description |
|---|
ColumnsEvent(java.lang.Object source,
int index,
int count,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> oldCellRegions,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> newCellRegions,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> oldColumnRegions,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> newColumnRegions,
java.lang.Object originalAutoFilter)
Initializes a new instance of the
ColumnsEvent class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Gets the number of inserted or deleted columns.
|
int |
getIndex()
Gets the index where the columns were inserted.
|
java.lang.Object |
getOriginalAutoFilter()
Gets the state of the worksheet autofilter before the event.
|
getNewCellRegions, getNewColumnRegions, getNewRowRegions, getOldCellRegions, getOldColumnRegions, getOldRowRegionspublic ColumnsEvent(java.lang.Object source,
int index,
int count,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> oldCellRegions,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> newCellRegions,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> oldColumnRegions,
java.lang.Iterable<com.mindfusion.spreadsheet.PlainRegion> newColumnRegions,
java.lang.Object originalAutoFilter)
ColumnsEvent class.public int getIndex()
public int getCount()
public java.lang.Object getOriginalAutoFilter()