Package com.compomics.util.gui
Interface VisibleTableColumnsDialogParent
- All Known Implementing Classes:
XYPlottingDialog
public interface VisibleTableColumnsDialogParent
Interface for parents of VisibleTableColumnsDialog.
- Author:
- Harald Barsnes
-
Method Summary
Modifier and Type Method Description ArrayList<TableColumn>
getAllTableColumns()
Returns all the table columns, both visible and hidden.JTable
getTable()
Returns the JTable for which to hide/show the column for.HashMap<Integer,Boolean>
getVisibleColumns()
Returns the list of visible columns.void
setVisibleColumns(HashMap<Integer,Boolean> visibleColumns)
Sets the list of visible columns.
-
Method Details
-
setVisibleColumns
Sets the list of visible columns.- Parameters:
visibleColumns
- map of the visible columns, key: model column index
-
getVisibleColumns
Returns the list of visible columns.- Returns:
- the list of visible columns, key: model column index
-
getTable
JTable getTable()Returns the JTable for which to hide/show the column for.- Returns:
- the table
-
getAllTableColumns
ArrayList<TableColumn> getAllTableColumns()Returns all the table columns, both visible and hidden.- Returns:
- all the table columns
-