public class ColumnGroupReorderLayer extends AbstractLayerTransform implements IUniqueIndexLayer
layerPainter
DOT, VALUE_SEPARATOR
Constructor and Description |
---|
ColumnGroupReorderLayer(IUniqueIndexLayer underlyingLayer,
ColumnGroupModel model) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getColumnGroupPositions(int fromColumnIndex) |
int |
getColumnPositionByIndex(int columnIndex) |
ColumnGroupModel |
getModel() |
int |
getReorderFromColumnPosition() |
int |
getRowPositionByIndex(int rowIndex) |
ILayer |
getUnderlyingLayer() |
protected void |
registerCommandHandlers()
Layers should use this method to register their command handlers
and call it from their constructor.
|
boolean |
reorderColumnGroup(int fromColumnPosition,
int toColumnPosition) |
void |
setReorderFromColumnPosition(int fromColumnPosition) |
configure, dispose, doCommand, getCellByPosition, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, 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, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, hasLayerListener, isColumnPositionResizable, isRowPositionResizable, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistable
handleLayerEvent
loadState, saveState
public ColumnGroupReorderLayer(IUniqueIndexLayer underlyingLayer, ColumnGroupModel model)
public boolean reorderColumnGroup(int fromColumnPosition, int toColumnPosition)
public ColumnGroupModel getModel()
public ILayer getUnderlyingLayer()
getUnderlyingLayer
in class AbstractLayerTransform
protected void registerCommandHandlers()
AbstractLayer
registerCommandHandlers
in class AbstractLayer
public int getColumnPositionByIndex(int columnIndex)
getColumnPositionByIndex
in interface IUniqueIndexLayer
public int getRowPositionByIndex(int rowIndex)
getRowPositionByIndex
in interface IUniqueIndexLayer
public List<Integer> getColumnGroupPositions(int fromColumnIndex)
public int getReorderFromColumnPosition()
public void setReorderFromColumnPosition(int fromColumnPosition)
Copyright © 2013. All Rights Reserved.