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_FLAG
Fields inherited from class org.eclipse.swt.widgets.Control
handle
Fields inherited from interface org.eclipse.nebula.widgets.nattable.util.IClientAreaProvider
DEFAULT
Fields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
DOT, VALUE_SEPARATOR
-
Constructor Summary
ConstructorDescriptionNatTableFixture
(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 TypeMethodDescriptionvoid
int
void
handleLayerEvent
(ILayerEvent event) Handle an event notification from anILayer
boolean
void
registerLabelOnColumn
(DataLayer bodyDataLayer, int columnIndex, String columnLabel) void
registerLabelOnColumnHeader
(DataLayer columnHeaderDataLayer, int columnIndex, String columnLabel) void
scrollToColumn
(int gridColumnPosition) void
scrollToRow
(int gridRowPosition) void
Methods 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, unregisterPersistable
Methods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME
Methods 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, setTabList
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
Methods 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, update
Methods 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.swt.graphics.Drawable
isAutoScalable
Methods inherited from interface org.eclipse.nebula.widgets.nattable.util.IClientAreaProvider
getClientArea
Methods 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:ILayerListener
Handle an event notification from anILayer
- Specified by:
handleLayerEvent
in interfaceILayerListener
- Overrides:
handleLayerEvent
in classNatTable
- Parameters:
event
- the event
-
updateResize
public void updateResize()- Overrides:
updateResize
in 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()
-