public class LayerViewport
extends org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
Constructor and Description |
---|
LayerViewport(org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingLayer,
CTContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
doCommand(org.eclipse.nebula.widgets.nattable.command.ILayerCommand command) |
protected boolean |
isLastColumnCompletelyDisplayed() |
protected boolean |
isLastRowCompletelyDisplayed() |
void |
moveCellPositionIntoViewport(int scrollableColumnPosition,
int scrollableRowPosition) |
void |
moveColumnPositionIntoViewport(int scrollableColumnPosition) |
void |
moveRowPositionIntoViewport(int scrollableRowPosition) |
protected void |
registerCommandHandlers() |
adjustOriginX, adjustOriginY, dispose, drag, fireScrollEvent, getBoundsByPosition, getClientAreaHeight, getClientAreaWidth, getColumnCount, getColumnPositionByIndex, getColumnPositionByX, getColumnWidthByPosition, getHeight, getMaxColumnPosition, getMaxHeight, getMaxRowPosition, getMaxWidth, getMinColumnPosition, getMinHorizontalStart, getMinimumOrigin, getMinimumOriginColumnPosition, getMinimumOriginRowPosition, getMinRowPosition, getMinVerticalStart, getOrigin, getRowCount, getRowHeightByPosition, getRowPositionByIndex, getRowPositionByY, getScrollableLayer, getStartXOfColumnPosition, getStartYOfRowPosition, getWidth, handleGridResize, handleLayerEvent, invalidateHorizontalStructure, invalidateVerticalStructure, isColumnPositionResizable, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, recalculateAvailableHeightAndRowCount, recalculateAvailableWidthAndColumnCount, recalculateScrollBars, resetOrigin, scrollVerticallyByAPage, scrollVerticallyByAPageCommand, setHorizontalScrollbarEnabled, setHorizontalScroller, setMaxColumnPosition, setMaxRowPosition, setMinColumnPosition, setMinimumOrigin, setMinimumOriginX, setMinimumOriginY, setMinRowPosition, setOriginX, setOriginY, setVerticalScrollbarEnabled, setVerticalScroller, toString, underlyingToLocalColumnPosition, underlyingToLocalRowPosition
configure, getCellByPosition, getCellPainter, getColumnIndexByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowIndexByPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, isRowPositionResizable, loadState, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalColumnPositions, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, unregisterCommandHandler, unregisterEventHandler, unregisterPersistable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLayerListener, configure, fireLayerEvent, getCellByPosition, getCellPainter, getClientAreaProvider, getColumnIndexByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowIndexByPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, hasLayerListener, isRowPositionResizable, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPositions, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistable
public LayerViewport(org.eclipse.nebula.widgets.nattable.layer.IUniqueIndexLayer underlyingLayer, CTContext context)
underlyingLayer
- context
- public boolean doCommand(org.eclipse.nebula.widgets.nattable.command.ILayerCommand command)
doCommand
in interface org.eclipse.nebula.widgets.nattable.layer.ILayer
doCommand
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
public void moveCellPositionIntoViewport(int scrollableColumnPosition, int scrollableRowPosition)
moveCellPositionIntoViewport
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
public void moveColumnPositionIntoViewport(int scrollableColumnPosition)
moveColumnPositionIntoViewport
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
public void moveRowPositionIntoViewport(int scrollableRowPosition)
moveRowPositionIntoViewport
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
protected boolean isLastColumnCompletelyDisplayed()
isLastColumnCompletelyDisplayed
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
protected boolean isLastRowCompletelyDisplayed()
isLastRowCompletelyDisplayed
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
protected void registerCommandHandlers()
registerCommandHandlers
in class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer