public class ColumnGroupExpandCollapseLayer extends AbstractColumnHideShowLayer implements IColumnGroupModelListener
underlyingLayer
layerPainter
DOT, 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, underlyingToLocalColumnPositions
configure, 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, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLayerListener, 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, unregisterPersistable
loadState, saveState
public ColumnGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer, ColumnGroupModel model)
public ColumnGroupModel getModel()
public boolean isColumnIndexHidden(int columnIndex)
AbstractColumnHideShowLayer
ColumnGroupModel.ColumnGroup
s are created index based, this method only
works correctly with indexes rather than positions.isColumnIndexHidden
in class AbstractColumnHideShowLayer
columnIndex
- 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()
AbstractColumnHideShowLayer
getHiddenColumnIndexes
in class AbstractColumnHideShowLayer
public void columnGroupModelChanged()
columnGroupModelChanged
in interface IColumnGroupModelListener
Copyright © 2013. All Rights Reserved.