Class TableViewer

  • Direct Known Subclasses:
    EditDataSet

    public class TableViewer
    extends ChartPlugin
    Displays the all visible data sets inside a table on demand. Implements copy-paste functionality into system clip-board and *.csv file export to allow further processing in other applications. Also enables editing of values if the underlying DataSet allows it.
    Author:
    rstein, akrimm
    • Field Detail

      • editable

        protected boolean editable
    • Constructor Detail

      • TableViewer

        public TableViewer()
        Creates a new instance of DataSetTableViewer class and setup the required listeners.
    • Method Detail

      • getInteractorBar

        protected javafx.scene.layout.HBox getInteractorBar()
        Helper function to initialize the UI elements for the Interactor toolbar.
        Returns:
        HBox node with the toolbar elements
      • getTable

        public javafx.scene.control.TableView<?> getTable()
        Returns:
        The TableView JavaFX control element
      • exportGridToCSV

        public void exportGridToCSV()
        Show a FileChooser and export the (selected) Table Data to the choosen .csv File.
      • copySelectedToClipboard

        public void copySelectedToClipboard()
        Copies the (selected) table data to the clipboard in csv Format.