public class RowGroupExpandCollapseLayer extends AbstractRowHideShowLayer
RowGroupHeaderLayer to support expand/collapse of row groups.underlyingLayercommandHandlers, eventHandlers, eventHelperLock, layerPainterDOT, VALUE_SEPARATOR| Constructor and Description |
|---|
RowGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doCommand(ILayerCommand command)
Opportunity to respond to a command as it flows down the stack.
|
Collection<Integer> |
getHiddenRowIndexes()
Will collect and return all indexes of the rows that are hidden in this
layer.
|
boolean |
isRowIndexHidden(int rowIndex)
Will check if the row at the specified index is hidden or not.
|
cacheVisibleRowIndexes, getCellByPosition, getColumnPositionByIndex, getHeight, getRowCount, getRowIndexByPosition, getRowPositionByIndex, getRowPositionByY, getRowPositionsByIndexes, getStartYOfRowPosition, handleLayerEvent, invalidateCache, localToUnderlyingRowPosition, underlyingToLocalRowPosition, underlyingToLocalRowPositionsconfigure, dispose, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowHeightByPosition, getStartXOfColumnPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isDynamicSizeLayer, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalColumnPosition, underlyingToLocalColumnPositionsaddConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getProvidedLabels, getRegionName, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLayerListener, configure, dispose, fireLayerEvent, getBoundsByPosition, 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, unregisterPersistableloadState, saveStatepublic RowGroupExpandCollapseLayer(IUniqueIndexLayer underlyingLayer)
public boolean doCommand(ILayerCommand command)
ILayerILayerCommand.convertToTargetLayer(ILayer)doCommand in interface ILayerdoCommand in class AbstractLayerTransformcommand - the command to performpublic boolean isRowIndexHidden(int rowIndex)
AbstractRowHideShowLayerisRowIndexHidden in class AbstractRowHideShowLayerrowIndex - 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()
AbstractRowHideShowLayergetHiddenRowIndexes in class AbstractRowHideShowLayerCopyright © 2019. All rights reserved.