public class LayerSelection extends org.eclipse.nebula.widgets.nattable.selection.SelectionLayer implements CTComponent
Constructor and Description |
---|
LayerSelection(org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingLayer,
CTConfiguration config)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
CTConfiguration |
getConfig() |
boolean |
isCellPositionSelected(int columnPosition,
int rowPosition) |
boolean |
isColumnPositionFullySelected(int columnPosition) |
boolean |
isColumnPositionSelected(int columnPosition) |
boolean |
isRowPositionFullySelected(int rowPosition) |
boolean |
isRowPositionSelected(int rowPosition) |
addSelection, clear, clear, clearSelection, clearSelection, doCommand, fireCellSelectionEvent, getConfigLabelsByPosition, getDisplayModeByPosition, getFullySelectedColumnPositions, getFullySelectedRowPositions, getLastSelectedCellPosition, getLastSelectedRegion, getLayerPainter, getSelectedCellPositions, getSelectedCells, getSelectedColumnPositions, getSelectedRowCount, getSelectedRowPositions, getSelectionAnchor, getSelectionModel, hasColumnSelection, hasRowSelection, moveSelectionAnchor, selectAll, selectCell, selectColumn, selectRegion, selectRow, setLastSelectedCell, setSelectedCell, setSelectionModel
configure, dispose, getCellByPosition, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByIndex, getColumnPositionByX, getColumnWidthByPosition, getDataValueByPosition, getHeight, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByIndex, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public LayerSelection(org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingLayer, CTConfiguration config)
underlyingLayer
- config
- public CTConfiguration getConfig()
getConfig
in interface CTComponent
public boolean isCellPositionSelected(int columnPosition, int rowPosition)
isCellPositionSelected
in class org.eclipse.nebula.widgets.nattable.selection.SelectionLayer
public boolean isColumnPositionFullySelected(int columnPosition)
isColumnPositionFullySelected
in class org.eclipse.nebula.widgets.nattable.selection.SelectionLayer
public boolean isColumnPositionSelected(int columnPosition)
isColumnPositionSelected
in class org.eclipse.nebula.widgets.nattable.selection.SelectionLayer
public boolean isRowPositionFullySelected(int rowPosition)
isRowPositionFullySelected
in class org.eclipse.nebula.widgets.nattable.selection.SelectionLayer
public boolean isRowPositionSelected(int rowPosition)
isRowPositionSelected
in class org.eclipse.nebula.widgets.nattable.selection.SelectionLayer