org.qriterium.dogma.gui
Class DogmaTable

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.eclipse.swt.widgets.Canvas
                      extended by de.kupzog.ktable.KTable
                          extended by org.qriterium.dogma.gui.DogmaTable
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class DogmaTable
extends de.kupzog.ktable.KTable

DogmaTable is a subclass of KTable that gives the user possibility to retain selected rows on rightclick. It also shows scrollbars only when needed. Refer to the KTable javadoc/code for more information about how it works.


Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
DogmaTable(org.eclipse.swt.widgets.Composite parent, int style)
           
 
Method Summary
 void updateScrollbarVisibility()
          Updates the scrollbarvisibility.
 
Methods inherited from class de.kupzog.ktable.KTable
addCellDoubleClickListener, addCellResizeListener, addCellSelectionListener, calcColumnNum, clearSelection, dispose, getCellForCoordinates, getCellRect, getCellSelection, getModel, getRowSelection, getStyle, getToolTipText, getValidCell, getVisibleCells, getVisibleRowCount, isCellFullyVisible, isCellSelected, isCellVisible, isFixedCell, isHeaderCell, isMultiSelectMode, isRowFullyVisible, isRowSelected, isRowSelectMode, isRowVisible, openEditorInFocus, redraw, redraw, removeCellResizeListener, removeCellSelectionListener, removeDoubleClickListener, resizeColumnOptimal, scroll, setDefaultColumnResizeCursor, setDefaultCursor, setDefaultRowResizeCursor, setModel, setSelection, setSelection, setStyle, setToolTipText, updateCell
 
Methods inherited from class org.eclipse.swt.widgets.Canvas
getCaret, scroll, setCaret, setFont
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, computeSize, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, getData, getData, getDisplay, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DogmaTable

public DogmaTable(org.eclipse.swt.widgets.Composite parent,
                  int style)
Method Detail

updateScrollbarVisibility

public void updateScrollbarVisibility()
Updates the scrollbarvisibility. On call the function checks if the scrollbars should be visible and if needed, removes or adds them.

Overrides:
updateScrollbarVisibility in class de.kupzog.ktable.KTable