org.gamenet.swing.controls
Class DataSectionTree.ListDataSectionable

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

static class DataSectionTree.ListDataSectionable
extends Object
implements DataSectionTree.NamedDataSectionable


Field Summary
private  int endIndex
           
private  int indexStep
           
private  String listID
           
private  DataSectionable parentDataSectionable
           
private  int startIndex
           
 
Constructor Summary
private DataSectionTree.ListDataSectionable(DataSectionable parentDataSectionable, String listID, int startIndex, int endIndex, int indexStep)
           
 
Method Summary
 boolean equals(Object dataSectionable)
           
 DataSectionTree.NamedDataSectionable getChild(int index)
           
 Component getComponentForDataSection(TaskObserver taskObserver, String dataSectionName)
           
 Object getData()
           
 Object getDataForDataSection(DataSection dataSection)
           
 DataSectionTree.NamedDataSectionable getDataSectionableForIndex(int index)
           
 int getEndIndex()
           
 int getIndexStep()
           
 String getLabel()
           
 List getList()
           
 Component getListComponentForDataSection(TaskObserver taskObserver, String dataSectionName, List list, Iterator indexIterator)
           
 String getListID()
           
 DataSectionable getParentDataSectionable()
           
 int getStartIndex()
           
 DataSection[] getStaticDataSections()
           
 int size()
           
 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

startIndex

private int startIndex

endIndex

private int endIndex

indexStep

private int indexStep
Constructor Detail

DataSectionTree.ListDataSectionable

private DataSectionTree.ListDataSectionable(DataSectionable parentDataSectionable,
                                            String listID,
                                            int startIndex,
                                            int endIndex,
                                            int indexStep)
Method Detail

equals

public boolean equals(Object dataSectionable)

getLabel

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

getEndIndex

public int getEndIndex()

getIndexStep

public int getIndexStep()

getListID

public String getListID()

getStartIndex

public int getStartIndex()

size

public int size()

getChild

public DataSectionTree.NamedDataSectionable getChild(int index)

toString

public String toString()

getStaticDataSections

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

getList

public List getList()
Returns:
list

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

getParentDataSectionable

public DataSectionable getParentDataSectionable()

getDataSectionableForIndex

public DataSectionTree.NamedDataSectionable getDataSectionableForIndex(int index)