org.gamenet.swing.controls
Class DataSectionTree.ListItemDataSectionable

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

static class DataSectionTree.ListItemDataSectionable
extends Object
implements DataSectionTree.NamedDataSectionable


Field Summary
private  int index
           
private  String listID
           
private  DataSectionable parentDataSectionable
           
 
Constructor Summary
DataSectionTree.ListItemDataSectionable(DataSectionable parentDataSectionable, String listID, int index)
           
 
Method Summary
 boolean equals(Object dataSectionableObject)
           
 Component getComponentForDataSection(TaskObserver taskObserver, String dataSectionName)
           
 Object getData()
           
 Object getDataForDataSection(DataSection dataSection)
           
 DataSectionTree.NamedDataSectionable getDataSectionable()
           
 int getIndex()
           
 String getLabel()
           
 List getList()
           
 Component getListComponentForDataSection(TaskObserver taskObserver, String dataSectionName, List list, Iterator indexIterator)
           
 String getListID()
           
 DataSectionable getParentDataSectionable()
           
 DataSection[] getStaticDataSections()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parentDataSectionable

private DataSectionable parentDataSectionable

listID

private String listID

index

private int index
Constructor Detail

DataSectionTree.ListItemDataSectionable

public DataSectionTree.ListItemDataSectionable(DataSectionable parentDataSectionable,
                                               String listID,
                                               int index)
Method Detail

equals

public boolean equals(Object dataSectionableObject)

toString

public String toString()

getParentDataSectionable

public DataSectionable getParentDataSectionable()

getIndex

public int getIndex()

getLabel

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

getListID

public String getListID()

getList

public List getList()
Returns:
list

getDataSectionable

public DataSectionTree.NamedDataSectionable getDataSectionable()

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