Class TableViewPainted

    • Field Detail

      • hasGetScrollBarMode

        private static final boolean hasGetScrollBarMode
      • DIRECT_DRAW

        public static final boolean DIRECT_DRAW
      • expand_enabled_default

        private static final boolean expand_enabled_default
      • MENUKEY_IN_BLANK_AREA

        public static final java.lang.String MENUKEY_IN_BLANK_AREA
        See Also:
        Constant Field Values
      • MENUKEY_IS_HEADER

        public static final java.lang.String MENUKEY_IS_HEADER
        See Also:
        Constant Field Values
      • cTable

        private org.eclipse.swt.widgets.Composite cTable
      • loopFactor

        private int loopFactor
      • graphicsUpdate

        protected int graphicsUpdate
        How often graphic cells get updated
      • reOrderDelay

        protected int reOrderDelay
      • extendedErase

        protected boolean extendedErase
      • defaultRowHeight

        private int defaultRowHeight
      • lineHeight

        private int lineHeight
      • iHeightEM

        protected float iHeightEM
      • visibleRows

        java.util.LinkedHashSet<TableRowPainted> visibleRows
        Rows visible to user. We assume this list is always up to date
      • visibleRows_sync

        private final java.lang.Object visibleRows_sync
      • clientArea

        protected org.eclipse.swt.graphics.Rectangle clientArea
        Up to date table client area. So far, the best places to refresh this variable are in the PaintItem event and the scrollbar's events. Typically table.getClientArea() is time consuming
      • isVisible

        private boolean isVisible
      • shell

        private org.eclipse.swt.widgets.Shell shell
      • colorLine

        private org.eclipse.swt.graphics.Color colorLine
      • canvasImage

        private org.eclipse.swt.graphics.Image canvasImage
      • sDefaultSortOn

        private final java.lang.String sDefaultSortOn
      • isMultiSelect

        private boolean isMultiSelect
      • columnsWidth

        private int columnsWidth
      • menu

        private org.eclipse.swt.widgets.Menu menu
      • enableTabViews

        private boolean enableTabViews
      • tabViewsExpandedByDefault

        private boolean tabViewsExpandedByDefault
      • isDragging

        protected boolean isDragging
      • mainComposite

        private org.eclipse.swt.widgets.Composite mainComposite
      • heightChangeSync

        private java.lang.Object heightChangeSync
      • totalHeight

        private int totalHeight
      • redrawTableScheduled

        private boolean redrawTableScheduled
      • redrawTableDisabled

        private int redrawTableDisabled
      • hBar

        private org.eclipse.swt.widgets.ScrollBar hBar
      • vBar

        private org.eclipse.swt.widgets.ScrollBar vBar
      • sCanvasImage

        private org.eclipse.swt.widgets.Canvas sCanvasImage
      • filterSubRows

        private boolean filterSubRows
      • expandEnabled

        private boolean expandEnabled
      • mutationCount

        private java.util.concurrent.atomic.AtomicInteger mutationCount
      • lastMC

        private volatile int lastMC
      • dragSource

        private org.eclipse.swt.dnd.DragSource dragSource
      • dropTarget

        private org.eclipse.swt.dnd.DropTarget dropTarget
      • destroying

        private boolean destroying
      • isFocused

        protected boolean isFocused
      • in_swt_updateCanvasImage

        private boolean in_swt_updateCanvasImage
      • qdRowHeightChanged

        boolean qdRowHeightChanged
    • Constructor Detail

      • TableViewPainted

        public TableViewPainted​(java.lang.Class<?> pluginDataSourceType,
                                java.lang.String _sTableID,
                                java.lang.String _sPropertiesPrefix,
                                TableColumnCore[] _basicItems,
                                java.lang.String _sDefaultSortOn,
                                int _iTableStyle)
        Main Initializer
        Parameters:
        _sTableID - Which table to handle (see TableManager). Config settings are stored with the prefix of "Table.TableID"
        _sPropertiesPrefix - Prefix for retrieving text from the properties file (MessageText). Typically TableID + "View"
        _basicItems - Column Definitions
        _sDefaultSortOn - Column name to sort on if user hasn't chosen one yet
        _iTableStyle - SWT style constants used when creating the table