Class TableSerializer

java.lang.Object
com.illumon.iris.gui.workspace.TableSerializer

public class TableSerializer
extends Object
  • Method Details

    • convertTableColumns

      public static void convertTableColumns​(org.jdom2.Element tableInfo, GuiTable table)
    • loadTableColumns

      public static void loadTableColumns​(GuiTable table, HiddenColumnModel columnModel, org.jdom2.Element tableInfo, boolean hideUnmentionedColumns)
      Configure the table according to the tableInfo settings.
      Parameters:
      table - the table to modify
      columnModel - the table's columnModel
      tableInfo - XML representation of the desired table configuration
      hideUnmentionedColumns - if true, columns in table that are not shown or hidden in tableInfo will be hidden.
    • getTableSettings

      public static org.jdom2.Element getTableSettings​(GuiTable table)
    • setTableSettings

      public static void setTableSettings​(GuiTable table, org.jdom2.Element tableInfo)