org.gamenet.swing.controls
Class DataSectionTree.LeafDataSectionable

java.lang.Object
  extended byorg.gamenet.swing.controls.DataSectionTree.LeafDataSectionable
All Implemented Interfaces:
DataSectionable, DataSectionTree.NamedDataSectionable
Enclosing class:
DataSectionTree

static class DataSectionTree.LeafDataSectionable
extends Object
implements DataSectionTree.NamedDataSectionable


Field Summary
 Object data
           
 String label
           
 
Constructor Summary
DataSectionTree.LeafDataSectionable(Object data, String label)
           
 
Method Summary
 boolean equals(Object dataSectionable)
           
 Component getComponentForDataSection(TaskObserver taskObserver, String dataSectionName)
           
 Object getData()
           
 Object getDataForDataSection(DataSection dataSection)
           
 String getLabel()
           
 Component getListComponentForDataSection(TaskObserver taskObserver, String dataSectionName, List list, Iterator indexIterator)
           
 DataSection[] getStaticDataSections()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public Object data

label

public String label
Constructor Detail

DataSectionTree.LeafDataSectionable

public DataSectionTree.LeafDataSectionable(Object data,
                                           String label)
Method Detail

equals

public boolean equals(Object dataSectionable)

getLabel

public String getLabel()
Specified by:
getLabel in interface DataSectionTree.NamedDataSectionable

getStaticDataSections

public DataSection[] getStaticDataSections()
Specified by:
getStaticDataSections in interface DataSectionable

getData

public Object getData()
Specified by:
getData in interface DataSectionable

getDataForDataSection

public Object getDataForDataSection(DataSection dataSection)
Specified by:
getDataForDataSection in interface DataSectionable

getComponentForDataSection

public Component getComponentForDataSection(TaskObserver taskObserver,
                                            String dataSectionName)
                                     throws InterruptedException
Specified by:
getComponentForDataSection in interface DataSectionable
Throws:
InterruptedException

getListComponentForDataSection

public Component getListComponentForDataSection(TaskObserver taskObserver,
                                                String dataSectionName,
                                                List list,
                                                Iterator indexIterator)
                                         throws InterruptedException
Specified by:
getListComponentForDataSection in interface DataSectionable
Throws:
InterruptedException