All Implemented Interfaces:
DynamicPropertyProvider, LoadingMonitor, CustomizableTable<AdvancedTableColumnAttributes>, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, EnabledEx, ExtensibleComponent, QualityMonitor, VisionComponent, ImageObserver, MenuContainer, Serializable, Accessible, ScrollPaneConstants

A Table component that features greater features like Drag and Drop rows, multi-column sorting, filtering, etc. Titled "Power Table" in the designer/documentation.
See Also:
  • Field Details

  • Constructor Details

    • VisionAdvancedTable

      public VisionAdvancedTable()
  • Method Details

    • localeChanged

      public void localeChanged(Locale newLocale)
      Specified by:
      localeChanged in interface LocaleListener
      Overrides:
      localeChanged in class AbstractVisionScrollPane
    • getViewDataset

      public Dataset getViewDataset()
    • setViewDataset

      public void setViewDataset(Dataset viewDataset)
    • onStartup

      protected void onStartup()
      Description copied from class: AbstractVisionScrollPane
      Subclasses should override this to provide startup logic.
      Overrides:
      onStartup in class AbstractVisionScrollPane
    • getSelectedRows

      public int[] getSelectedRows()
    • getSelectedColumns

      public int[] getSelectedColumns()
    • setColumnWidth

      public void setColumnWidth(int idx, int width)
    • getSelectedRow

      public int getSelectedRow()
    • getSelectedColumn

      public int getSelectedColumn()
    • setSelectedColumn

      public void setSelectedColumn(int col)
      Sets the selected column with respect to the underlying dataset. If the column is out of range, the selection is not changed.
      Parameters:
      col - Index number of column to be selected; zero-indexed.
    • rowIndexToModelIndex

      public int rowIndexToModelIndex(int viewRow)
    • columnIndexToModelIndex

      public int columnIndexToModelIndex(int columnIndex)
      Converts between a TableColumnModel index to the table model's column index
    • columnIndexToDatasetIndex

      public int columnIndexToDatasetIndex(int columnIndex)
      Converts between a TableColumnModel index and the underlying dataset's column index.
    • datasetIndexToColumnIndex

      public int datasetIndexToColumnIndex(int columnIndex)
    • setSelectedRow

      public void setSelectedRow(int row)
    • isHeaderResizeMenus

      public boolean isHeaderResizeMenus()
    • setHeaderResizeMenus

      public void setHeaderResizeMenus(boolean headerResizeMenus)
    • isHeaderColumnChooserMenus

      public boolean isHeaderColumnChooserMenus()
    • setHeaderColumnChooserMenus

      public void setHeaderColumnChooserMenus(boolean headerColumnChooserMenus)
    • isColumnReorderingAllowed

      public boolean isColumnReorderingAllowed()
    • setColumnReorderingAllowed

      public void setColumnReorderingAllowed(boolean columnReorderingAllowed)
    • isColumnResizingAllowed

      public boolean isColumnResizingAllowed()
    • setColumnResizingAllowed

      public void setColumnResizingAllowed(boolean columnResizingAllowed)
    • isHeaderVisible

      public boolean isHeaderVisible()
    • setHeaderVisible

      public void setHeaderVisible(boolean headerVisible)
    • setHeaderFont

      public void setHeaderFont(Font font)
    • getHeaderFont

      public Font getHeaderFont()
    • getData

      public Dataset getData()
      Specified by:
      getData in interface CustomizableTable<AdvancedTableColumnAttributes>
    • setData

      public void setData(Dataset data)
    • getCellSpanData

      public Dataset getCellSpanData()
    • setCellSpanData

      public void setCellSpanData(Dataset cellSpanData)
    • setFont

      public void setFont(Font font)
      Overrides:
      setFont in class JComponent
    • setForeground

      public void setForeground(Color fg)
      Overrides:
      setForeground in class JComponent
    • setBackground

      public void setBackground(Color bg)
      Overrides:
      setBackground in class JComponent
    • getClickCountToStart

      public int getClickCountToStart()
    • setClickCountToStart

      public void setClickCountToStart(int i)
    • getSelectionBackground

      public Color getSelectionBackground()
    • getSelectionForeground

      public Color getSelectionForeground()
    • setSelectionForeground

      public void setSelectionForeground(Color selectionForeground)
    • setSelectionBackground

      public void setSelectionBackground(Color selectionBackground)
    • 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)
    • isNonContiguousCellSelection

      public boolean isNonContiguousCellSelection()
    • setNonContiguousCellSelection

      public void setNonContiguousCellSelection(boolean b)
    • getShowHorizontalLines

      public boolean getShowHorizontalLines()
    • setShowHorizontalLines

      public void setShowHorizontalLines(boolean showHorizontalLines)
    • getShowVerticalLines

      public boolean getShowVerticalLines()
    • setShowVerticalLines

      public void setShowVerticalLines(boolean showVerticalLines)
    • getGridColor

      public Color getGridColor()
    • setGridColor

      public void setGridColor(Color gridColor)
    • setInterCellSpacing

      public void setInterCellSpacing(Dimension spacing)
    • getInterCellSpacing

      public Dimension getInterCellSpacing()
    • getAutoResizeMode

      public int getAutoResizeMode()
    • setAutoResizeMode

      public void setAutoResizeMode(int i)
    • getPropertiesLoading

      public int getPropertiesLoading()
      Specified by:
      getPropertiesLoading in interface LoadingMonitor
    • setPropertiesLoading

      public void setPropertiesLoading(int i)
      Specified by:
      setPropertiesLoading in interface LoadingMonitor
    • getRowHeight

      public int getRowHeight()
    • setRowHeight

      public void setRowHeight(int rowHeight)
    • isRowResizeEnabled

      public boolean isRowResizeEnabled()
    • setRowResizeEnabled

      public void setRowResizeEnabled(boolean resize)
    • isRowDragEnabled

      public boolean isRowDragEnabled()
    • setRowDragEnabled

      public void setRowDragEnabled(boolean en)
    • isSortingEnabled

      public boolean isSortingEnabled()
    • setSortingEnabled

      public void setSortingEnabled(boolean en)
    • getTable

      public com.jidesoft.grid.JideTable getTable()
    • getExtensionFunctions

      public Map<String,ExtensionFunction> getExtensionFunctions()
      Specified by:
      getExtensionFunctions in interface ExtensibleComponent
    • setExtensionFunctions

      public void setExtensionFunctions(Map<String,ExtensionFunction> map)
      Specified by:
      setExtensionFunctions in interface ExtensibleComponent
    • isComponentEnabled

      public boolean isComponentEnabled()
      Specified by:
      isComponentEnabled in interface EnabledEx
    • setComponentEnabled

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

      public void evaluateEnabled()
      Specified by:
      evaluateEnabled in interface EnabledEx
    • getDefaultColumnView

      public String getDefaultColumnView()
    • setDefaultColumnView

      public void setDefaultColumnView(String defaultColumnView)
    • setTest

      public void setTest(boolean test)
    • getTest

      public boolean getTest()
    • print

      public boolean print(org.python.core.PyObject[] pyArgs, String[] keywords)
    • updateWidths

      public boolean updateWidths()
      Description copied from interface: CustomizableTable
      make sure that the widths on the ColumnAttributes represent the currently configured widths of the actual columns
      Specified by:
      updateWidths in interface CustomizableTable<AdvancedTableColumnAttributes>
    • getColumnAttributes

      public Map<String,AdvancedTableColumnAttributes> getColumnAttributes()
      Specified by:
      getColumnAttributes in interface CustomizableTable<AdvancedTableColumnAttributes>
    • setColumnAttributes

      public void setColumnAttributes(Map<String,AdvancedTableColumnAttributes> attributes)
      Specified by:
      setColumnAttributes in interface CustomizableTable<AdvancedTableColumnAttributes>
    • getColumnAttributesData

      public Dataset getColumnAttributesData()
    • setColumnAttributesData

      public void setColumnAttributesData(Dataset d)