Package com.illumon.iris.gui.workspace
Class TableSerializer
java.lang.Object
com.illumon.iris.gui.workspace.TableSerializer
public class TableSerializer extends Object
-
Method Summary
Modifier and Type Method Description static void
convertTableColumns(org.jdom2.Element tableInfo, GuiTable table)
static org.jdom2.Element
getTableSettings(GuiTable table)
static void
loadTableColumns(GuiTable table, HiddenColumnModel columnModel, org.jdom2.Element tableInfo, boolean hideUnmentionedColumns)
Configure the table according to the tableInfo settings.static void
setTableSettings(GuiTable table, org.jdom2.Element tableInfo)
-
Method Details
-
convertTableColumns
-
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 modifycolumnModel
- the table's columnModeltableInfo
- XML representation of the desired table configurationhideUnmentionedColumns
- if true, columns in table that are not shown or hidden in tableInfo will be hidden.
-
getTableSettings
-
setTableSettings
-