com.compomics.util.gui
Interface VisibleTableColumnsDialogParent

All Known Implementing Classes:
XYPlottingDialog

public interface VisibleTableColumnsDialogParent

Interface for parents of VisibleTableColumnsDialog.

Author:
Harald Barsnes

Method Summary
 java.util.ArrayList<javax.swing.table.TableColumn> getAllTableColumns()
          Returns all the table columns, both visible and hidden.
 javax.swing.JTable getTable()
          Returns the JTable for which to hide/show the column for.
 java.util.HashMap<java.lang.Integer,java.lang.Boolean> getVisibleColumns()
          Returns the list of visible columns.
 void setVisibleColumns(java.util.HashMap<java.lang.Integer,java.lang.Boolean> visibleColumns)
          Sets the list of visible columns.
 

Method Detail

setVisibleColumns

void setVisibleColumns(java.util.HashMap<java.lang.Integer,java.lang.Boolean> visibleColumns)
Sets the list of visible columns.

Parameters:
visibleColumns - map of the visible columns, key: model column index

getVisibleColumns

java.util.HashMap<java.lang.Integer,java.lang.Boolean> getVisibleColumns()
Returns the list of visible columns.

Returns:
the list of visible columns, key: model column index

getTable

javax.swing.JTable getTable()
Returns the JTable for which to hide/show the column for.

Returns:
the table

getAllTableColumns

java.util.ArrayList<javax.swing.table.TableColumn> getAllTableColumns()
Returns all the table columns, both visible and hidden.

Returns:
all the table columns


Copyright © 2013. All Rights Reserved.