Class PMITable

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PMITable.ColumnConfig
      Deprecated.
      • Nested classes/interfaces inherited from class javax.swing.JScrollPane

        javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int backgroundColorMode  
      static int BG_ALTERNATING  
      static int BG_CONSTANT  
      static int BG_MAPPED  
      protected int clickCountToStart  
      protected java.util.Map<java.lang.String,​ColumnAttributes> columnAttributes  
      protected Dataset columnAttributesData  
      protected PMITable.ColumnConfig columnConfiguration
      Deprecated.
      protected Dataset data
      This is the actual data that the table displays
      protected java.awt.Font headerFont  
      protected java.awt.Color headerForeground  
      protected boolean headerVisible
      Controls the visibility of the table's JTableHeader
      protected int initialRowSelection
      This is used to have the table automatically select a row upon 'first data', that is, whenever the data is set to a positive number of rows when it was previously zero
      protected javax.swing.event.EventListenerList listenerList  
      protected int mappingColumn
      Deprecated.
      protected java.lang.String mappingColumnId  
      protected ColorStateTable mappingTable  
      protected java.awt.Color oddBackground  
      protected boolean overlaysEnabled  
      protected com.inductiveautomation.factorypmi.application.components.PMITable.SelectionRelayListener relayListener  
      protected com.inductiveautomation.factorypmi.application.components.PMITable.HMITableCellRenderer renderer  
      protected boolean resizingAllowed  
      protected com.inductiveautomation.factorypmi.application.components.PMITable.DataSetTableModel rootModel
      This is the root TableModel for the table, which looks at the data variable.
      protected int selectionMode  
      protected SortTableModel sortModel
      This TableModel looks at the rootModel, providing sorting on top of it
      protected javax.swing.JTable table  
      static int TOUCH_SCREEN_MODE_AUTO  
      static int TOUCH_SCREEN_MODE_NONE  
      protected int touchscreenMode  
      • Fields inherited from class javax.swing.JScrollPane

        columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport
      • Fields inherited from class javax.swing.JComponent

        TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • Fields inherited from class java.awt.Component

        accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • Fields inherited from interface javax.swing.ScrollPaneConstants

        COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT
    • Constructor Summary

      Constructors 
      Constructor Description
      PMITable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addCellListener​(CellListener listener)  
      void addRow​(org.python.core.PySequence row)  
      void addTableSelectionListener​(TableSelectionListener l)
      Deprecated.
      int columnIndexToModelIndex​(int columnIndex)
      Converts between a TableColumnModel index to the underlying dataset's column index
      void deleteRow​(int row)  
      void evaluateEnabled()  
      java.lang.String exportCSV​(java.lang.String filename, boolean showHeaders)  
      java.lang.String exportHTML​(java.lang.String filename, java.lang.String title, int width)  
      void fireCellEditedEvent​(java.lang.Object oldValue, java.lang.Object newValue, int row, int column)  
      protected void fireColumnAttributesUpdated()  
      int getAutoResizeMode()  
      java.awt.Color getBackground()
      Table will be null on JScrollPane's constructor
      int getBackgroundColorMode()  
      CellListener[] getCellListeners()  
      int getClickCountToStart()  
      java.util.Map<java.lang.String,​ColumnAttributes> getColumnAttributes()  
      ColumnAttributes getColumnAttributes​(java.lang.Object id)
      Returns the ColumnAttributes object associated with the given ID.
      Dataset getColumnAttributesData()  
      java.lang.String getColumnId​(int idx)  
      boolean getColumnSelectionAllowed()  
      Dataset getData()  
      java.lang.String getDataAsHTML​(java.lang.String title, int width)  
      java.util.Map<java.lang.String,​ExtensionFunction> getExtensionFunctions()  
      java.awt.Font getFont()
      Table will be null on JScrollPane's constructor
      java.awt.Color getForeground()
      Table will be null on JScrollPane's constructor
      java.awt.Color getGridColor()  
      java.awt.Font getHeaderFont()  
      java.awt.Color getHeaderForeground()  
      int getInitialRowSelection()  
      java.lang.String getMappingColumnId()  
      ColorStateTable getMappingTable()  
      javax.swing.table.TableModel getModel()  
      java.awt.Color getOddBackground()  
      int getPropertiesLoading()  
      javax.swing.table.TableCellRenderer getRenderer()  
      int getRowHeight()  
      boolean getRowSelectionAllowed()  
      int[] getRowsInViewOrder()  
      int getSelectedColumn()  
      int getSelectedColumnCount()  
      int[] getSelectedColumns()  
      int getSelectedRow()  
      int getSelectedRowCount()  
      int[] getSelectedRows()  
      java.awt.Color getSelectionBackground()  
      java.awt.Color getSelectionForeground()  
      int getSelectionMode()  
      boolean getShowHorizontalLines()  
      boolean getShowVerticalLines()  
      javax.swing.JTable getTable()  
      javax.swing.table.JTableHeader getTableHeader()  
      TableSelectionListener[] getTableSelectionListeners()
      Deprecated.
      int getTouchscreenMode()  
      protected void initRenderers()  
      void insertRow​(org.python.core.PySequence row)  
      boolean isCellSelected​(int row, int column)  
      boolean isColumnSelected​(int column)  
      boolean isComponentEnabled()  
      boolean isHeaderVisible()  
      boolean isOverlaysEnabled()  
      boolean isResizingAllowed()  
      boolean isRowSelected​(int row)  
      boolean isTest()  
      void localeChanged​(java.util.Locale newLocale)  
      int modelIndexToColumnIndex​(int modelIndex)
      Converts between a column's model index to the TableColumnModel's index
      protected void onStartup()
      Subclasses should override this to provide startup logic.
      boolean print​(org.python.core.PyObject[] pyArgs, java.lang.String[] keywords)  
      void removeCellListener​(CellListener listener)  
      void removeRow​(int row)  
      void removeTableSelectionListener​(TableSelectionListener l)
      Deprecated.
      void setAutoResizeMode​(int i)  
      void setBackground​(java.awt.Color color)  
      void setBackgroundColorMode​(int i)  
      void setClickCountToStart​(int clickCountToStart)  
      void setColumnAttributes​(java.util.Map<java.lang.String,​ColumnAttributes> columnAttributes)  
      void setColumnAttributesData​(Dataset columnAttributesData)  
      void setColumnConfiguration​(PMITable.ColumnConfig config)
      Deprecated.
      void setColumnLabel​(int idx, java.lang.String label)  
      void setColumnSelectionAllowed​(boolean columnSelectionAllowed)  
      boolean setColumnSelectionInterval​(int index0, int index1)  
      void setColumnWidth​(int idx, int width)  
      void setComponentEnabled​(boolean componentEnabled)  
      void setData​(Dataset newDataset)  
      void setExtensionFunctions​(java.util.Map<java.lang.String,​ExtensionFunction> map)  
      void setFont​(java.awt.Font f)
      Table will be null on JScrollPane's constructor
      void setForeground​(java.awt.Color color)
      Table will be null on JScrollPane's constructor
      void setGridColor​(java.awt.Color gridColor)  
      void setHeaderFont​(java.awt.Font headerFont)  
      void setHeaderForeground​(java.awt.Color headerForeground)  
      void setHeaderVisible​(boolean headerVisible)  
      void setHideFirstColumn​(boolean b)
      Deprecated.
      void setInitialRowSelection​(int initialRowSelection)  
      void setMappingColumn​(int i)
      Deprecated.
      void setMappingColumnId​(java.lang.String mappingColumnId)  
      void setMappingTable​(ColorStateTable table)  
      void setName​(java.lang.String newName)  
      void setOddBackground​(java.awt.Color color)  
      void setOverlaysEnabled​(boolean overlaysEnabled)  
      void setPropertiesLoading​(int i)  
      void setResizingAllowed​(boolean resizingAllowed)  
      void setRowHeight​(int rowHeight)  
      void setRowSelectionAllowed​(boolean rowSelectionAllowed)  
      boolean setRowSelectionInterval​(int index0, int index1)  
      void setSelectedColumn​(int col)  
      void setSelectedRow​(int row)  
      void setSelectionBackground​(java.awt.Color selectionBackground)  
      void setSelectionForeground​(java.awt.Color selectionForeground)  
      void setSelectionMode​(int i)  
      void setShowHorizontalLines​(boolean showHorizontalLines)  
      void setShowVerticalLines​(boolean showVerticalLines)  
      void setTest​(boolean test)  
      void setTouchscreenMode​(int touchscreenMode)  
      void setValue​(int row, int col, org.python.core.PyObject value)  
      void setValue​(int row, java.lang.String col, org.python.core.PyObject value)  
      void sortByColumn​(java.lang.String columnName)  
      void sortByColumn​(java.lang.String columnName, boolean ascending)  
      void sortOriginal()  
      java.lang.String toString()  
      void updateRow​(int row, org.python.core.PyDictionary changes)  
      boolean updateWidths()
      make sure that the widths on the ColumnAttributes represent the currently configured widths of the actual columns
      • Methods inherited from class javax.swing.JScrollPane

        createHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • table

        protected javax.swing.JTable table
      • data

        protected Dataset data
        This is the actual data that the table displays
      • sortModel

        protected SortTableModel sortModel
        This TableModel looks at the rootModel, providing sorting on top of it
      • rootModel

        protected com.inductiveautomation.factorypmi.application.components.PMITable.DataSetTableModel rootModel
        This is the root TableModel for the table, which looks at the data variable.
      • renderer

        protected com.inductiveautomation.factorypmi.application.components.PMITable.HMITableCellRenderer renderer
      • oddBackground

        protected java.awt.Color oddBackground
      • backgroundColorMode

        protected int backgroundColorMode
      • mappingColumn

        @Deprecated
        protected int mappingColumn
        Deprecated.
        The mapping column number is now deprecated in favor of the mapping column ID
      • mappingColumnId

        protected java.lang.String mappingColumnId
      • headerVisible

        protected boolean headerVisible
        Controls the visibility of the table's JTableHeader
      • resizingAllowed

        protected boolean resizingAllowed
      • overlaysEnabled

        protected boolean overlaysEnabled
      • columnConfiguration

        @Deprecated
        protected PMITable.ColumnConfig columnConfiguration
        Deprecated.
        This is used ONLY for backwards compatibility. see setHideFirstColumn and setColumnConfiguration
      • columnAttributes

        protected java.util.Map<java.lang.String,​ColumnAttributes> columnAttributes
      • columnAttributesData

        protected Dataset columnAttributesData
      • initialRowSelection

        protected int initialRowSelection
        This is used to have the table automatically select a row upon 'first data', that is, whenever the data is set to a positive number of rows when it was previously zero
      • selectionMode

        protected int selectionMode
      • listenerList

        protected javax.swing.event.EventListenerList listenerList
      • headerFont

        protected java.awt.Font headerFont
      • headerForeground

        protected java.awt.Color headerForeground
      • touchscreenMode

        protected int touchscreenMode
      • clickCountToStart

        protected int clickCountToStart
      • relayListener

        protected com.inductiveautomation.factorypmi.application.components.PMITable.SelectionRelayListener relayListener
    • Constructor Detail

      • PMITable

        public PMITable()
    • Method Detail

      • initRenderers

        protected void initRenderers()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.awt.Component
      • getModel

        public javax.swing.table.TableModel getModel()
      • getColumnAttributes

        public ColumnAttributes getColumnAttributes​(java.lang.Object id)
        Returns the ColumnAttributes object associated with the given ID. If no attributes are associated with that id, the default attributes are returned.
      • getColumnAttributesData

        public Dataset getColumnAttributesData()
      • setColumnWidth

        public void setColumnWidth​(int idx,
                                   int width)
      • setColumnLabel

        public void setColumnLabel​(int idx,
                                   java.lang.String label)
      • getColumnId

        public java.lang.String getColumnId​(int idx)
      • getSelectedRow

        public int getSelectedRow()
      • setSelectedRow

        public void setSelectedRow​(int row)
      • setData

        public void setData​(Dataset newDataset)
      • print

        public boolean print​(org.python.core.PyObject[] pyArgs,
                             java.lang.String[] keywords)
      • sortByColumn

        public void sortByColumn​(java.lang.String columnName)
      • sortByColumn

        public void sortByColumn​(java.lang.String columnName,
                                 boolean ascending)
      • sortOriginal

        public void sortOriginal()
      • getDataAsHTML

        public java.lang.String getDataAsHTML​(java.lang.String title,
                                              int width)
      • exportHTML

        public java.lang.String exportHTML​(java.lang.String filename,
                                           java.lang.String title,
                                           int width)
      • getBackground

        public java.awt.Color getBackground()
        Table will be null on JScrollPane's constructor
        Overrides:
        getBackground in class java.awt.Component
      • getForeground

        public java.awt.Color getForeground()
        Table will be null on JScrollPane's constructor
        Overrides:
        getForeground in class java.awt.Component
      • getFont

        public java.awt.Font getFont()
        Table will be null on JScrollPane's constructor
        Specified by:
        getFont in interface java.awt.MenuContainer
        Overrides:
        getFont in class java.awt.Component
      • setBackground

        public void setBackground​(java.awt.Color color)
        Overrides:
        setBackground in class javax.swing.JComponent
      • setForeground

        public void setForeground​(java.awt.Color color)
        Table will be null on JScrollPane's constructor
        Overrides:
        setForeground in class javax.swing.JComponent
      • setComponentEnabled

        public void setComponentEnabled​(boolean componentEnabled)
        Specified by:
        setComponentEnabled in interface EnabledEx
      • getSelectionBackground

        public java.awt.Color getSelectionBackground()
      • getSelectionForeground

        public java.awt.Color getSelectionForeground()
      • setSelectionBackground

        public void setSelectionBackground​(java.awt.Color selectionBackground)
      • setSelectionForeground

        public void setSelectionForeground​(java.awt.Color selectionForeground)
      • setFont

        public void setFont​(java.awt.Font f)
        Table will be null on JScrollPane's constructor
        Overrides:
        setFont in class javax.swing.JComponent
      • getHeaderFont

        public java.awt.Font getHeaderFont()
      • setHeaderFont

        public void setHeaderFont​(java.awt.Font headerFont)
      • getHeaderForeground

        public java.awt.Color getHeaderForeground()
      • setHeaderForeground

        public void setHeaderForeground​(java.awt.Color headerForeground)
      • isTest

        public boolean isTest()
      • setTest

        public void setTest​(boolean test)
      • setHideFirstColumn

        @Deprecated
        public void setHideFirstColumn​(boolean b)
        Deprecated.
        This is included for backwards compatability. This will just set the 'hidden' property of the first column to true
      • fireColumnAttributesUpdated

        protected void fireColumnAttributesUpdated()
      • getBackgroundColorMode

        public int getBackgroundColorMode()
      • getOddBackground

        public java.awt.Color getOddBackground()
      • setBackgroundColorMode

        public void setBackgroundColorMode​(int i)
      • setOddBackground

        public void setOddBackground​(java.awt.Color color)
      • setMappingColumn

        @Deprecated
        public void setMappingColumn​(int i)
        Deprecated.
        Included for backwards compatability
      • getMappingColumnId

        public java.lang.String getMappingColumnId()
      • setMappingColumnId

        public void setMappingColumnId​(java.lang.String mappingColumnId)
      • getAutoResizeMode

        public int getAutoResizeMode()
      • setAutoResizeMode

        public void setAutoResizeMode​(int i)
      • setColumnAttributesData

        public void setColumnAttributesData​(Dataset columnAttributesData)
        Parameters:
        columnAttributesData - the columnAttributesData to set
      • getRenderer

        public javax.swing.table.TableCellRenderer getRenderer()
      • setColumnConfiguration

        @Deprecated
        public void setColumnConfiguration​(PMITable.ColumnConfig config)
        Deprecated.
        This sets the field so that
      • getSelectionMode

        public int getSelectionMode()
      • setSelectionMode

        public void setSelectionMode​(int i)
      • getColumnSelectionAllowed

        public boolean getColumnSelectionAllowed()
      • getRowSelectionAllowed

        public boolean getRowSelectionAllowed()
      • setColumnSelectionAllowed

        public void setColumnSelectionAllowed​(boolean columnSelectionAllowed)
      • setRowSelectionAllowed

        public void setRowSelectionAllowed​(boolean rowSelectionAllowed)
      • getShowHorizontalLines

        public boolean getShowHorizontalLines()
      • getShowVerticalLines

        public boolean getShowVerticalLines()
      • getGridColor

        public java.awt.Color getGridColor()
      • setShowHorizontalLines

        public void setShowHorizontalLines​(boolean showHorizontalLines)
      • setShowVerticalLines

        public void setShowVerticalLines​(boolean showVerticalLines)
      • setGridColor

        public void setGridColor​(java.awt.Color gridColor)
      • setClickCountToStart

        public void setClickCountToStart​(int clickCountToStart)
      • getSelectedColumn

        public int getSelectedColumn()
      • columnIndexToModelIndex

        public int columnIndexToModelIndex​(int columnIndex)
        Converts between a TableColumnModel index to the underlying dataset's column index
      • modelIndexToColumnIndex

        public int modelIndexToColumnIndex​(int modelIndex)
        Converts between a column's model index to the TableColumnModel's index
      • setSelectedColumn

        public void setSelectedColumn​(int col)
      • getSelectedColumnCount

        public int getSelectedColumnCount()
      • getSelectedColumns

        public int[] getSelectedColumns()
      • getSelectedRowCount

        public int getSelectedRowCount()
      • getRowsInViewOrder

        public int[] getRowsInViewOrder()
      • getInitialRowSelection

        public int getInitialRowSelection()
      • setInitialRowSelection

        public void setInitialRowSelection​(int initialRowSelection)
      • getSelectedRows

        public int[] getSelectedRows()
      • isCellSelected

        public boolean isCellSelected​(int row,
                                      int column)
      • isColumnSelected

        public boolean isColumnSelected​(int column)
      • isRowSelected

        public boolean isRowSelected​(int row)
      • setColumnSelectionInterval

        public boolean setColumnSelectionInterval​(int index0,
                                                  int index1)
      • setRowSelectionInterval

        public boolean setRowSelectionInterval​(int index0,
                                               int index1)
      • getRowHeight

        public int getRowHeight()
      • setRowHeight

        public void setRowHeight​(int rowHeight)
      • isHeaderVisible

        public boolean isHeaderVisible()
      • setHeaderVisible

        public void setHeaderVisible​(boolean headerVisible)
      • isResizingAllowed

        public boolean isResizingAllowed()
      • setResizingAllowed

        public void setResizingAllowed​(boolean resizingAllowed)
      • addTableSelectionListener

        @Deprecated
        public void addTableSelectionListener​(TableSelectionListener l)
        Deprecated.
        The table selection listener stuff isn't used since custom listeners don't seems to serialize correctly b/c of classloader issue
      • removeTableSelectionListener

        @Deprecated
        public void removeTableSelectionListener​(TableSelectionListener l)
        Deprecated.
        The table selection listener stuff isn't used since custom listeners don't seems to serialize correctly b/c of classloader issue
      • getTableSelectionListeners

        @Deprecated
        public TableSelectionListener[] getTableSelectionListeners()
        Deprecated.
        The table selection listener stuff isn't used since custom listeners don't seems to serialize correctly b/c of classloader issue
      • addCellListener

        public void addCellListener​(CellListener listener)
      • removeCellListener

        public void removeCellListener​(CellListener listener)
      • getCellListeners

        public CellListener[] getCellListeners()
      • fireCellEditedEvent

        public void fireCellEditedEvent​(java.lang.Object oldValue,
                                        java.lang.Object newValue,
                                        int row,
                                        int column)
      • addRow

        public void addRow​(org.python.core.PySequence row)
      • insertRow

        public void insertRow​(org.python.core.PySequence row)
      • deleteRow

        public void deleteRow​(int row)
      • removeRow

        public void removeRow​(int row)
      • updateRow

        public void updateRow​(int row,
                              org.python.core.PyDictionary changes)
      • setValue

        public void setValue​(int row,
                             int col,
                             org.python.core.PyObject value)
      • setValue

        public void setValue​(int row,
                             java.lang.String col,
                             org.python.core.PyObject value)
      • isOverlaysEnabled

        public boolean isOverlaysEnabled()
      • setOverlaysEnabled

        public void setOverlaysEnabled​(boolean overlaysEnabled)
      • exportCSV

        public java.lang.String exportCSV​(java.lang.String filename,
                                          boolean showHeaders)
      • getTable

        public javax.swing.JTable getTable()
      • getTableHeader

        public javax.swing.table.JTableHeader getTableHeader()
      • setTouchscreenMode

        public void setTouchscreenMode​(int touchscreenMode)