public static interface ColumnSelectionSearchableListPanel.ListModifier
ColumnSelectionSearchableListPanel.update(DataTableSpec)
or
ColumnSelectionSearchableListPanel.update(DataTableSpec, ColumnFilter)
and provides the functions to
add/remove additional DataColumnSpec
s. An additional column is one which is not part of the actual
DataTableSpec, which also indicates that it is possible to remove them. A special variant of additional columns
are the 'invalid' ones created by DataColumnSpecListCellRenderer.createInvalidSpec(String, DataType)
indicating columns which are previously configured but actually do not exist in the input table. These columns
are rendered with a red border on default. Other types of additional columns and a customized
ListCellRenderer
may be used for a arbitrary highlighting of certain additional columns.ColumnSelectionSearchableListPanel.ListModifier addInvalidColumns(DataType type, String... columns)
ColumnSelectionSearchableListPanel.ListModifier
for more information about invalid columns.type
- the type of the invalud columncolumns
- the column namesIllegalArgumentException
- if one column does already exist in the list, including as well as the
additional columns as well as the original DataTableSpec
IllegalStateException
- if this modfier is invalidDataColumnSpecListCellRenderer.createInvalidSpec(String, DataType)
ColumnSelectionSearchableListPanel.ListModifier addInvalidColumns(String... columns)
ColumnSelectionSearchableListPanel.ListModifier
for more
information about invalid columns.columns
- the column namesIllegalArgumentException
- if one column does already exist in the list, including as well as the
additional columns as well as the original DataTableSpec
IllegalStateException
- if this modfier is invalidDataColumnSpecListCellRenderer.createInvalidSpec(String)
ColumnSelectionSearchableListPanel.ListModifier addAdditionalColumns(Iterable<DataColumnSpec> columns)
ColumnSelectionSearchableListPanel.ListModifier
for more information about additional columns.columns
- the columns to addIllegalArgumentException
- if the column does already exist in the list, including as well as the
additional columns as well as the original DataTableSpec
IllegalStateException
- if this modfier is invalidColumnSelectionSearchableListPanel.ListModifier addAdditionalColumns(DataColumnSpec... columns)
ColumnSelectionSearchableListPanel.ListModifier
for more information about additional columns.columns
- the columns to addIllegalArgumentException
- if one column does already exist in the list, including as well as the
additional columns as well as the original DataTableSpec
IllegalStateException
- if this modfier is invalidColumnSelectionSearchableListPanel.ListModifier addAdditionalColumn(DataColumnSpec column)
ColumnSelectionSearchableListPanel.ListModifier
for more information about additional
columns.column
- the column to addIllegalArgumentException
- if one column does already exist in the list, including as well as the
additional columns as well as the original DataTableSpec
IllegalStateException
- if this modfier is invalidColumnSelectionSearchableListPanel.ListModifier removeAdditionalColumns(String... columns)
ColumnSelectionSearchableListPanel.ListModifier
for more information about additional
columns.columns
- the columns to removeIllegalStateException
- if this modfier is invalidIllegalArgumentException
- if one column is contained in the original DataTableSpec
ColumnSelectionSearchableListPanel.ListModifier removeAdditionalColumns(Iterable<String> columns)
ColumnSelectionSearchableListPanel.ListModifier
for more information about additional
columns.columns
- the columns to removeIllegalStateException
- if this modfier is invalidIllegalArgumentException
- if one column is contained in the original DataTableSpec
ColumnSelectionSearchableListPanel.ListModifier removeAdditionalColumn(String column)
ColumnSelectionSearchableListPanel.ListModifier
for more information about additional
columns.column
- the column to removeIllegalStateException
- if this modfier is invalidIllegalArgumentException
- if the column is contained in the original DataTableSpec
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.