Class SwingTable<R,​C,​V>

  • All Implemented Interfaces:
    com.macrofocus.crossplatform.CPComponent<javax.swing.JComponent>, Table<javax.swing.JComponent,​java.awt.Color,​java.text.Format,​R,​C,​V>

    public class SwingTable<R,​C,​V>
    extends AbstractTable<javax.swing.JComponent,​java.awt.Color,​java.text.Format,​R,​C,​V>
    Created by luc on 27/07/15.
    • Constructor Detail

      • SwingTable

        public SwingTable()
      • SwingTable

        public SwingTable​(com.macrofocus.molap.dataframe.DataFrame<R,​C,​V> dataFrame,
                          com.macrofocus.visual.Visual<java.awt.Color,​R,​C> visual)
      • SwingTable

        public SwingTable​(com.macrofocus.molap.dataframe.DataFrame<R,​C,​V> filteredDataFrame,
                          com.macrofocus.molap.dataframe.DataFrame<R,​C,​V> completeDataFrame,
                          com.macrofocus.visual.Visual<java.awt.Color,​R,​C> visual)
    • Method Detail

      • getSortedDataFrame

        public com.macrofocus.molap.dataframe.DataFrame<R,​C,​V> getSortedDataFrame()
      • setStyleClass

        public void setStyleClass​(java.lang.String... styleClasses)
      • setModel

        public void setModel​(ShowFilteredDataFrame<R,​C,​V> dataFrame,
                             com.macrofocus.visual.Visual<java.awt.Color,​R,​C> visual,
                             com.macrofocus.high_d.axis.group.AxisGroupModel<R,​C> axisGroupModel)
      • getNativeComponent

        public javax.swing.JScrollPane getNativeComponent()
      • adjustColumns

        public void adjustColumns​(boolean columnHeaderIncluded,
                                  boolean dynamicAdjustment)
      • setColumnVisible

        public void setColumnVisible​(C column,
                                     boolean visible)
      • setHidable

        public void setHidable​(C column,
                               boolean hidable)
      • setSortKey

        public void setSortKey​(C column)
      • setFormat

        public void setFormat​(C column,
                              com.macrofocus.format.CPFormat format)
      • setLabel

        public void setLabel​(C column,
                             java.lang.String label)
      • setFrozenColumnCount

        public void setFrozenColumnCount​(int columnCount)
      • reset

        public void reset()
      • setShowFiltered

        public void setShowFiltered​(MutableProperty<java.lang.Boolean> showFiltered)
      • setCellRenderer

        public void setCellRenderer​(C column,
                                    Table.CellRenderer<javax.swing.JComponent,​R,​C,​V> renderer)
      • setDetailsFactory

        public void setDetailsFactory​(boolean alwaysVisible,
                                      Table.DetailsFactory<javax.swing.JComponent,​R> factory)
      • getJTable

        public javax.swing.JTable getJTable()