Class NatTableFixture
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.nebula.widgets.nattable.NatTable
org.eclipse.nebula.widgets.nattable.test.fixture.NatTableFixture
- All Implemented Interfaces:
EventListener,ILayer,ILayerListener,IPersistable,IClientAreaProvider,org.eclipse.swt.events.PaintListener,org.eclipse.swt.graphics.Drawable,org.eclipse.swt.internal.SWTEventListener
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.NatTable
configurations, DEFAULT_STYLE_OPTIONS, eventListenerLock, id, INITIAL_PAINT_COMPLETE_FLAGFields inherited from class org.eclipse.swt.widgets.Control
handleFields inherited from interface org.eclipse.nebula.widgets.nattable.util.IClientAreaProvider
DEFAULTFields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
DOT, VALUE_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionNatTableFixture(ILayer underlyingLayer) NatTableFixture(ILayer underlyingLayer, boolean autoconfigure) NatTableFixture(ILayer underlyingLayer, int width, int height, boolean autoconfigure) NatTableFixture(org.eclipse.swt.widgets.Shell shell, ILayer underlyingLayer) NatTableFixture(org.eclipse.swt.widgets.Shell shell, ILayer underlyingLayer, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionvoidintvoidhandleLayerEvent(ILayerEvent event) Handle an event notification from anILayerbooleanvoidregisterLabelOnColumn(DataLayer bodyDataLayer, int columnIndex, String columnLabel) voidregisterLabelOnColumnHeader(DataLayer columnHeaderDataLayer, int columnIndex, String columnLabel) voidscrollToColumn(int gridColumnPosition) voidscrollToRow(int gridRowPosition) voidMethods inherited from class org.eclipse.nebula.widgets.nattable.NatTable
addConfiguration, addDragSupport, addDropSupport, addLayerListener, addOverlayPainter, checkSubclass, commitAndCloseActiveCellEditor, configure, configure, configureScaling, doCommand, fireLayerEvent, getActiveCellEditor, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getConfigLabelsByPosition, getConfigRegistry, getDataValueByPosition, getDisplayModeByPosition, getHeight, getID, getInternalCellClipboard, getLayer, getLayerPainter, getOverlayPainters, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getProvidedLabels, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUiBindingRegistry, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getVisualChangeEventConflater, getWidth, hasLayerListener, initInternalListener, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, paintControl, refresh, refresh, registerCommandHandler, registerPersistable, removeLayerListener, removeOverlayPainter, repaintCell, repaintColumn, repaintHorizontalLeftOver, repaintRow, repaintVerticalLeftOver, saveState, setClientAreaProvider, setConfigRegistry, setLayer, setLayerPainter, setTheme, setUiBindingRegistry, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistableMethods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIMEMethods inherited from class org.eclipse.swt.widgets.Composite
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListMethods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBarMethods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateMethods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.swt.graphics.Drawable
isAutoScalableMethods inherited from interface org.eclipse.nebula.widgets.nattable.util.IClientAreaProvider
getClientAreaMethods inherited from interface org.eclipse.nebula.widgets.nattable.layer.ILayer
dispose, isDynamicSizeLayer
-
Constructor Details
-
NatTableFixture
public NatTableFixture() -
NatTableFixture
-
NatTableFixture
-
NatTableFixture
public NatTableFixture(org.eclipse.swt.widgets.Shell shell, ILayer underlyingLayer, int width, int height) -
NatTableFixture
-
NatTableFixture
-
-
Method Details
-
handleLayerEvent
Description copied from interface:ILayerListenerHandle an event notification from anILayer- Specified by:
handleLayerEventin interfaceILayerListener- Overrides:
handleLayerEventin classNatTable- Parameters:
event- the event
-
updateResize
public void updateResize()- Overrides:
updateResizein classNatTable
-
getEventCount
public int getEventCount() -
isUpdated
public boolean isUpdated() -
registerLabelOnColumn
-
registerLabelOnColumnHeader
-
scrollToColumn
public void scrollToColumn(int gridColumnPosition) -
scrollToRow
public void scrollToRow(int gridRowPosition) -
enableEditingOnAllCells
public void enableEditingOnAllCells()
-