public class ColumnGroupExpandCollapseLayer extends AbstractColumnHideShowLayer implements IColumnGroupModelListener
underlyingLayerlayerPainterDOT, VALUE_SEPARATOR| Constructor and Description | 
|---|
ColumnGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer,
                              ColumnGroupModel model)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
columnGroupModelChanged()  | 
Collection<Integer> | 
getHiddenColumnIndexes()
Will collect and return all indexes of the columns that are hidden in this layer. 
 | 
ColumnGroupModel | 
getModel()  | 
boolean | 
isColumnIndexHidden(int columnIndex)
Will check if the column at the specified index is hidden or not. 
 | 
getColumnCount, getColumnIndexByPosition, getColumnPositionByIndex, getColumnPositionByX, getColumnPositionsByIndexes, getRowPositionByIndex, getStartXOfColumnPosition, getWidth, handleLayerEvent, invalidateCache, localToUnderlyingColumnPosition, underlyingToLocalColumnPosition, underlyingToLocalColumnPositionsconfigure, dispose, doCommand, getCellByPosition, getCellPainter, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartYOfRowPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingRowPosition, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalRowPosition, underlyingToLocalRowPositionsaddConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLayerListener, configure, dispose, doCommand, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, hasLayerListener, isColumnPositionResizable, isRowPositionResizable, localToUnderlyingRowPosition, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalRowPosition, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistableloadState, saveStatepublic ColumnGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer, ColumnGroupModel model)
public ColumnGroupModel getModel()
public boolean isColumnIndexHidden(int columnIndex)
AbstractColumnHideShowLayerColumnGroupModel.ColumnGroups are created index based, this method only
                 works correctly with indexes rather than positions.isColumnIndexHidden in class AbstractColumnHideShowLayercolumnIndex - The column index of the column whose visibility state
                        should be checked.true if the column at the specified index is hidden,
                        false if it is visible.public Collection<Integer> getHiddenColumnIndexes()
AbstractColumnHideShowLayergetHiddenColumnIndexes in class AbstractColumnHideShowLayerpublic void columnGroupModelChanged()
columnGroupModelChanged in interface IColumnGroupModelListenerCopyright © 2013. All Rights Reserved.