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
public class ViewportLayerFixture extends ViewportLayer
Viewport fixtures to enable testing with various configurations.
-
-
Field Summary
Fields Modifier and Type Field Description static org.eclipse.swt.graphics.Rectangle
DEFAULT_CLIENT_AREA
static IClientAreaProvider
DEFAULT_CLIENT_AREA_PROVIDER
static org.eclipse.swt.widgets.Scrollable
DEFAULT_SCROLLABLE
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayerTransform
underlyingLayer
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractLayer
commandHandlers, eventHandlers, eventHelperLock, layerPainter
-
Fields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
DOT, VALUE_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description ViewportLayerFixture()
ViewportLayerFixture(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, 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, underlyingToLocalRowPosition
-
Methods 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, underlyingToLocalRowPositions
-
Methods 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, unregisterPersistable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods 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, unregisterPersistable
-
Methods inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
loadState, saveState
-
-
-
-
Field Detail
-
DEFAULT_CLIENT_AREA
public static final org.eclipse.swt.graphics.Rectangle DEFAULT_CLIENT_AREA
-
DEFAULT_CLIENT_AREA_PROVIDER
public static final IClientAreaProvider DEFAULT_CLIENT_AREA_PROVIDER
-
DEFAULT_SCROLLABLE
public static final org.eclipse.swt.widgets.Scrollable DEFAULT_SCROLLABLE
-
-
Constructor Detail
-
ViewportLayerFixture
public ViewportLayerFixture()
-
ViewportLayerFixture
public ViewportLayerFixture(IUniqueIndexLayer underlingLayer)
-
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)
-
-