medi.swing.expander
Class TreeNodeExpander

java.lang.Object
  |
  +--medi.swing.expander.TreeNodeExpander
Direct Known Subclasses:
AuthorNodeExpander, ContainerNodeExpander, DataFTCNodeExpander, DataNodeExpander, DataSetNodeExpander, EditorNodeExpander, GenreNodeExpander, ProgramFTCNodeExpander, ProgramNodeExpander, SessionNodeExpander, VolumeNodeExpander

public abstract class TreeNodeExpander
extends java.lang.Object

Generic tree node expander.


Field Summary
protected static int[] authorIDIndexes
          Indexes of key columns for an author.
protected static int[] authorIndexes
          Indexes of desired columns for an author.
protected static int[] containerIDIndexes
          Indexes of key columns for a container.
protected static int[] containerIndexes
          Indexes of desired columns for a container.
protected static int[] dataIDIndexes
          Indexes of key columns for a data item.
protected static int[] dataIndexes
          Indexes of desired columns for a data item.
protected static int[] dataSetIDIndexes
          Indexes of key columns for a data set.
protected static int[] dataSetIndexes
          Indexes of desired columns for a data set.
protected static int[] editorIDIndexes
          Indexes of key columns for an editor.
protected static int[] editorIndexes
          Indexes of desired columns for an editor.
protected static int[] fileTypeIDIndexes
          Indexes of key columns for a file type.
protected static int[] fileTypeIndexes
          Indexes of desired columns for a file type.
protected static int[] genreIDIndexes
          Indexes of key columns for a genre.
protected static int[] genreIndexes
          Indexes of desired columns for a genre.
protected static int[] programIDIndexes
          Indexes of key columns for a program.
protected static int[] programIndexes
          Indexes of desired columns for a program.
protected  Provider prv
          The provider to use.
protected static int[] sessionIDIndexes
          Indexes of key columns for a session.
protected static int[] sessionIndexes
          Indexes of desired columns for a session.
protected static int[] volumeIDIndexes
          Indexes of key columns for a volume.
protected static int[] volumeIndexes
          Indexes of desired columns for a volume.
 
Constructor Summary
TreeNodeExpander()
           
 
Method Summary
abstract  void expand(IndexedTypedTreeNode node)
          Expands a node.
 void setProvider(Provider pPrv)
          Sets the provider to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prv

protected Provider prv
The provider to use.


containerIndexes

protected static int[] containerIndexes
Indexes of desired columns for a container.


containerIDIndexes

protected static int[] containerIDIndexes
Indexes of key columns for a container.


volumeIndexes

protected static int[] volumeIndexes
Indexes of desired columns for a volume.


volumeIDIndexes

protected static int[] volumeIDIndexes
Indexes of key columns for a volume.


sessionIndexes

protected static int[] sessionIndexes
Indexes of desired columns for a session.


sessionIDIndexes

protected static int[] sessionIDIndexes
Indexes of key columns for a session.


dataIndexes

protected static int[] dataIndexes
Indexes of desired columns for a data item.


dataIDIndexes

protected static int[] dataIDIndexes
Indexes of key columns for a data item.


genreIndexes

protected static int[] genreIndexes
Indexes of desired columns for a genre.


genreIDIndexes

protected static int[] genreIDIndexes
Indexes of key columns for a genre.


authorIndexes

protected static int[] authorIndexes
Indexes of desired columns for an author.


authorIDIndexes

protected static int[] authorIDIndexes
Indexes of key columns for an author.


editorIndexes

protected static int[] editorIndexes
Indexes of desired columns for an editor.


editorIDIndexes

protected static int[] editorIDIndexes
Indexes of key columns for an editor.


fileTypeIndexes

protected static int[] fileTypeIndexes
Indexes of desired columns for a file type.


fileTypeIDIndexes

protected static int[] fileTypeIDIndexes
Indexes of key columns for a file type.


programIndexes

protected static int[] programIndexes
Indexes of desired columns for a program.


programIDIndexes

protected static int[] programIDIndexes
Indexes of key columns for a program.


dataSetIndexes

protected static int[] dataSetIndexes
Indexes of desired columns for a data set.


dataSetIDIndexes

protected static int[] dataSetIDIndexes
Indexes of key columns for a data set.

Constructor Detail

TreeNodeExpander

public TreeNodeExpander()
Method Detail

setProvider

public void setProvider(Provider pPrv)
Sets the provider to use.

Parameters:
pPrv - The provider to use.

expand

public abstract void expand(IndexedTypedTreeNode node)
Expands a node.

Parameters:
node - The node to expand.