Inherits org::openide::explorer::ExplorerPanel.
List of all members.
Detailed Description
MultiListExplorer is an explorer showing several lists linked together allowing to show several levels of depth at once. The first list shows the children of the root node, the second list shows the children of the selected node in the first list, and so on.
The number of lists is parameterizable.
It is possible to register a java.beans.PropertyChangeListener
to be notified of the selection in the different list. The method getExplorerManager(int)
allow to register such a listener on one particular list.
It is possible to customize the top and bottom component of each list by setting a ComponentCreator
for top or bottom before adding the explorer to the gui.
- Version:
- Revision:
- 1.2
- Date:
- 2006/09/25 08:52:36
- Author:
- Lionel Mestre
Constructor & Destructor Documentation
cern.gp.explorer.MultiListExplorer.MultiListExplorer |
( |
|
) |
|
cern.gp.explorer.MultiListExplorer.MultiListExplorer |
( |
SelectionListener |
selectionListener, |
|
|
int |
listCount | |
|
) |
| | |
cern.gp.explorer.MultiListExplorer.MultiListExplorer |
( |
SelectionListener |
selectionListener, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | |
cern.gp.explorer.MultiListExplorer.MultiListExplorer |
( |
SelectionListener |
selectionListener, |
|
|
int |
listCount, |
|
|
int |
width, |
|
|
int |
height, |
|
|
boolean |
twoRows | |
|
) |
| | |
Member Function Documentation
void cern.gp.explorer.MultiListExplorer.addNotify |
( |
|
) |
|
boolean cern.gp.explorer.MultiListExplorer.getAutomaticSelection |
( |
|
) |
|
Returns if the selection in one list triggers the selection in the subsequent lists.
- Returns:
- if the selection in one list triggers the selection in the subsequent lists.
ComponentCreator cern.gp.explorer.MultiListExplorer.getBottomComponentCreator |
( |
|
) |
|
Returns the bottomComponentCreator that is used to create the top component of each list in the explorer or null if none is set.
- Returns:
- the current bottomComponentCreator or null
ExplorerManager cern.gp.explorer.MultiListExplorer.getExplorerManager |
( |
int |
listIndex |
) |
[protected] |
int cern.gp.explorer.MultiListExplorer.getListCount |
( |
|
) |
|
Returns the number of lists in the explorer.
- Returns:
- the number of lists in the explorer.
Returns the topComponentCreator that is used to create the top component of each list in the explorer or null if none is set.
- Returns:
- the current topComponentCreator or null
void cern.gp.explorer.MultiListExplorer.removeNotify |
( |
|
) |
|
static void cern.gp.explorer.MultiListExplorer.selectNthChildren |
( |
ExplorerManager |
explorerManager, |
|
|
int |
n | |
|
) |
| | [static, protected] |
void cern.gp.explorer.MultiListExplorer.setAutomaticSelection |
( |
boolean |
automaticSelection |
) |
|
Sets if the selection in one list triggers the selection in the subsequent lists. This property is true by default.
- Parameters:
-
| automaticSelection | whether the selection in one list cascade to the others |
void cern.gp.explorer.MultiListExplorer.setBottomComponentCreator |
( |
ComponentCreator |
componentCreator |
) |
|
Sets the bottomComponentCreator that is used to create the top component of each list in the explorer. Null can be used to remove an existing creator. The bottomComponentCreator cannot be changed once the explorer has been included in a gui. It can only be changed after instantiation before adding the Explorer into a container.
- Parameters:
-
| componentCreator | the componentCreator to use to create the bottom components |
void cern.gp.explorer.MultiListExplorer.setListCount |
( |
int |
listCount |
) |
|
Sets the number of lists in the explorer. Cannot be inferior to 2. The number cannot be changed once the explorer has been included in a gui. The number can only be changed after instantiation before adding the Explorer into a container.
- Parameters:
-
| listCount | the number of ilst in the explorer |
void cern.gp.explorer.MultiListExplorer.setRootNode |
( |
GPNode |
node |
) |
|
void cern.gp.explorer.MultiListExplorer.setTopComponentCreator |
( |
ComponentCreator |
componentCreator |
) |
|
Sets the topComponentCreator that is used to create the top component of each list in the explorer. Null can be used to remove an existing creator. The topComponentCreator cannot be changed once the explorer has been included in a gui. It can only be changed after instantiation before adding the Explorer into a container.
- Parameters:
-
| componentCreator | the componentCreator to use to create the top components |
Member Data Documentation
The documentation for this class was generated from the following file: