public class RowGroupExpandCollapseLayer<T> extends AbstractRowHideShowLayer implements IRowGroupModelListener
underlyingLayer
layerPainter
DOT, VALUE_SEPARATOR
Constructor and Description |
---|
RowGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer,
IRowGroupModel<T> model) |
Modifier and Type | Method and Description |
---|---|
Collection<Integer> |
getHiddenRowIndexes()
Will collect and return all indexes of the rows that are hidden in this layer.
|
IRowGroupModel<T> |
getModel() |
protected void |
invalidateCache()
Invalidate the cache to ensure that information is rebuild.
|
boolean |
isRowIndexHidden(int rowIndex)
Will check if the row at the specified index is hidden or not.
|
void |
rowGroupModelChanged() |
cacheVisibleRowIndexes, getColumnPositionByIndex, getHeight, getRowCount, getRowIndexByPosition, getRowPositionByIndex, getRowPositionByY, getRowPositionsByIndexes, getStartYOfRowPosition, handleLayerEvent, localToUnderlyingRowPosition, underlyingToLocalRowPosition, underlyingToLocalRowPositions
configure, dispose, doCommand, getCellByPosition, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowHeightByPosition, getStartXOfColumnPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions
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, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowHeightByPosition, getStartXOfColumnPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, hasLayerListener, isColumnPositionResizable, isRowPositionResizable, localToUnderlyingColumnPosition, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, unregisterCommandHandler, unregisterPersistable
loadState, saveState
public RowGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer, IRowGroupModel<T> model)
public IRowGroupModel<T> getModel()
public boolean isRowIndexHidden(int rowIndex)
AbstractRowHideShowLayer
isRowIndexHidden
in class AbstractRowHideShowLayer
rowIndex
- The row index of the row whose visibility state
should be checked.true
if the row at the specified index is hidden,
false
if it is visible.public Collection<Integer> getHiddenRowIndexes()
AbstractRowHideShowLayer
getHiddenRowIndexes
in class AbstractRowHideShowLayer
public void rowGroupModelChanged()
rowGroupModelChanged
in interface IRowGroupModelListener
protected void invalidateCache()
AbstractRowHideShowLayer
invalidateCache
in class AbstractRowHideShowLayer
Copyright © 2013. All Rights Reserved.