Class ViewportLayerFixture
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
org.eclipse.nebula.widgets.nattable.extension.glazedlists.fixture.ViewportLayerFixture
- All Implemented Interfaces:
ILayer,ILayerListener,IUniqueIndexLayer,IPersistable
Viewport fixtures to enable testing with various configurations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.swt.graphics.Rectanglestatic final IClientAreaProviderstatic final org.eclipse.swt.widgets.ScrollableFields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
underlyingLayerFields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
commandHandlers, eventHandlers, eventHelperLock, layerPainterFields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
DOT, VALUE_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionViewportLayerFixture(int width, int height) ViewportLayerFixture(int colCount, int rowCount, int defaultColWidth, int defaultRowHeight) ViewportLayerFixture(IUniqueIndexLayer underlingLayer) ViewportLayerFixture(org.eclipse.swt.graphics.Rectangle clientArea) -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer
adjustOriginX, adjustOriginY, dispose, doCommand, drag, drag, fireScrollEvent, getBoundsByPosition, getClientAreaHeight, getClientAreaWidth, getColumnCount, getColumnPositionByIndex, getColumnPositionByX, getHeight, getMaxColumnPosition, getMaxHeight, getMaxRowPosition, getMaxWidth, getMinColumnPosition, getMinHorizontalStart, getMinimumOrigin, getMinimumOriginColumnPosition, getMinimumOriginRowPosition, getMinRowPosition, getMinVerticalStart, getOrigin, getOriginColumnPosition, getOriginRowPosition, getRowCount, getRowPositionByIndex, getRowPositionByY, getScrollableLayer, getStartXOfColumnPosition, getStartYOfRowPosition, getWidth, handleGridResize, handleLayerEvent, invalidateHorizontalStructure, invalidateVerticalStructure, isColumnPositionResizable, isDynamicSizeLayer, isLastColumnCompletelyDisplayed, isLastRowCompletelyDisplayed, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, moveCellPositionIntoViewport, moveColumnPositionIntoViewport, moveRowPositionIntoViewport, recalculateAvailableHeightAndRowCount, recalculateAvailableWidthAndColumnCount, recalculateScrollBars, registerCommandHandlers, resetOrigin, scrollVerticallyByAPage, scrollVerticallyByAPageCommand, setHorizontalScrollbarEnabled, setHorizontalScroller, setKeepInViewportRowPosition, setMaxColumnPosition, setMaxRowPosition, setMinColumnPosition, setMinimumOrigin, setMinimumOriginX, setMinimumOriginY, setMinRowPosition, setOriginX, setOriginY, setVerticalScrollbarEnabled, setVerticalScroller, toString, underlyingToLocalColumnPosition, underlyingToLocalRowPositionMethods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
configure, getCellByPosition, getCellPainter, getColumnIndexByPosition, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowHeightByPosition, getRowIndexByPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, isRowPositionResizable, loadState, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalColumnPositions, underlyingToLocalRowPositionsMethods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getClientAreaProvider, getConfigLabelAccumulator, getProvidedLabels, getRegionName, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, unregisterCommandHandler, unregisterEventHandler, unregisterPersistableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.nebula.widgets.nattable.layer.ILayer
addLayerListener, configure, fireLayerEvent, getCellByPosition, getCellPainter, getClientAreaProvider, getColumnIndexByPosition, getColumnWidthByPosition, getConfigLabelsByPosition, getDataValueByPosition, getDisplayModeByPosition, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getProvidedLabels, getRegionLabelsByXY, getRowHeightByPosition, getRowIndexByPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, hasLayerListener, isRowPositionResizable, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPositions, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistableMethods inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
loadState, saveState
-
Field Details
-
DEFAULT_CLIENT_AREA
public static final org.eclipse.swt.graphics.Rectangle DEFAULT_CLIENT_AREA -
DEFAULT_CLIENT_AREA_PROVIDER
-
DEFAULT_SCROLLABLE
public static final org.eclipse.swt.widgets.Scrollable DEFAULT_SCROLLABLE
-
-
Constructor Details
-
ViewportLayerFixture
public ViewportLayerFixture() -
ViewportLayerFixture
-
ViewportLayerFixture
public ViewportLayerFixture(int width, int height) -
ViewportLayerFixture
public ViewportLayerFixture(int colCount, int rowCount, int defaultColWidth, int defaultRowHeight) -
ViewportLayerFixture
public ViewportLayerFixture(org.eclipse.swt.graphics.Rectangle clientArea)
-