Class TableViewViewSettings
java.lang.Object
org.knime.core.webui.node.view.table.TableViewViewSettings
- All Implemented Interfaces:
DefaultNodeSettings,PersistableSettings
- Author:
- Konrad Amtenbrink, KNIME GmbH, Berlin, Germany, Christian Albrecht, KNIME GmbH, Konstanz, Germany
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.knime.core.webui.node.dialog.defaultdialog.DefaultNodeSettings
DefaultNodeSettings.DefaultNodeSettingsContext -
Field Summary
FieldsModifier and TypeFieldDescriptionorg.knime.core.webui.node.view.table.TableViewViewSettings.AUTO_SIZE_COLUMNSIf the column widths should be calculated from the first rowsintThe selected columns to be displayed.booleanIf cell selection + copying should be enabledbooleanIf column search is enabledbooleanIf global search is enabledbooleanIf true only a certain number of rows is shownbooleanbooleanIf sorting should be enabledintThe page size, i.e., number of rows to be displayed.The mode of the row height.Whether selection should be shown and/or interactivebooleanWhether to show the data type of every column in the header or notbooleanIf true only the selected rows are shownbooleanIf true only the selected rows are shownbooleanIf the row numbers should be displayedbooleanIf the rows keys should be displayedbooleanWhether to show the number of rows and columns above the table or or notbooleanIf there should be a limit on rendered ColumnsThe title of the table -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate a newTableViewViewSettingswith default valuesTableViewViewSettings(org.knime.core.data.DataTableSpec spec) protected -
Method Summary
Modifier and TypeMethodDescriptionString[]getDisplayedColumns(org.knime.core.data.DataTableSpec spec)
-
Field Details
-
m_displayedColumns
The selected columns to be displayed. -
m_showRowIndices
public boolean m_showRowIndicesIf the row numbers should be displayed -
m_showRowKeys
public boolean m_showRowKeysIf the rows keys should be displayed -
m_title
The title of the table -
m_showTableSize
public boolean m_showTableSizeWhether to show the number of rows and columns above the table or or not -
m_showColumnDataType
public boolean m_showColumnDataTypeWhether to show the data type of every column in the header or not -
m_enablePagination
public boolean m_enablePaginationIf true only a certain number of rows is shown -
m_pageSize
public int m_pageSizeThe page size, i.e., number of rows to be displayed. -
m_autoSizeColumnsToContent
public org.knime.core.webui.node.view.table.TableViewViewSettings.AUTO_SIZE_COLUMNS m_autoSizeColumnsToContentIf the column widths should be calculated from the first rows -
m_rowHeightMode
The mode of the row height. Either a compact small height, a default height or a custom larger height. -
m_customRowHeight
public int m_customRowHeight -
m_enableGlobalSearch
public boolean m_enableGlobalSearchIf global search is enabled -
m_enableColumnSearch
public boolean m_enableColumnSearchIf column search is enabled -
m_enableSortingByHeader
public boolean m_enableSortingByHeaderIf sorting should be enabled -
m_enableRendererSelection
public boolean m_enableRendererSelection -
m_enableCellCopying
public boolean m_enableCellCopyingIf cell selection + copying should be enabled -
m_selectionMode
Whether selection should be shown and/or interactive -
m_showOnlySelectedRows
public boolean m_showOnlySelectedRowsIf true only the selected rows are shown -
m_showOnlySelectedRowsConfigurable
public boolean m_showOnlySelectedRowsConfigurableIf true only the selected rows are shown -
m_skipRemainingColumns
public boolean m_skipRemainingColumnsIf there should be a limit on rendered Columns
-
-
Constructor Details
-
TableViewViewSettings
protected TableViewViewSettings()Create a newTableViewViewSettingswith default values -
TableViewViewSettings
- Parameters:
context-
-
TableViewViewSettings
public TableViewViewSettings(org.knime.core.data.DataTableSpec spec) - Parameters:
spec-
-
-
Method Details
-
getDisplayedColumns
-