org.netbeans.swing.outline 1.20

org.netbeans.swing.etable
Class TableColumnSelector

java.lang.Object
  extended by org.netbeans.swing.etable.TableColumnSelector

public abstract class TableColumnSelector
extends Object

This class allows to supply alternative implementation of the column selection functionality in ETable.


Nested Class Summary
static interface TableColumnSelector.TreeNode
          A node in the tree of available column names.
 
Constructor Summary
TableColumnSelector()
           
 
Method Summary
abstract  String[] selectVisibleColumns(String[] available, String[] selected)
          Presents the user vith a dialog allowing to select visible columns from the available column.
abstract  String[] selectVisibleColumns(TableColumnSelector.TreeNode root, String[] selected)
          Presents the user vith a dialog allowing to select visible columns from the available column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableColumnSelector

public TableColumnSelector()
Method Detail

selectVisibleColumns

public abstract String[] selectVisibleColumns(TableColumnSelector.TreeNode root,
                                              String[] selected)
Presents the user vith a dialog allowing to select visible columns from the available column. The available columns are presented as a tree.

Parameters:
root - root of the displayed tree of the available columns
selected - the originally selected columns
Returns:
column names that are selected as visible columns

selectVisibleColumns

public abstract String[] selectVisibleColumns(String[] available,
                                              String[] selected)
Presents the user vith a dialog allowing to select visible columns from the available column. The available columns are presented as a flat list.

Parameters:
available - all available column names
selected - the originally selected columns
Returns:
column names that are selected as visible columns

org.netbeans.swing.outline 1.20

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.