org.gamenet.swing.controls
Class DataSectionTree.ListDataSectionable
java.lang.Object
org.gamenet.swing.controls.DataSectionTree.ListDataSectionable
- All Implemented Interfaces:
- DataSectionable, DataSectionTree.NamedDataSectionable
- Enclosing class:
- DataSectionTree
- static class DataSectionTree.ListDataSectionable
- extends Object
- implements DataSectionTree.NamedDataSectionable
parentDataSectionable
private DataSectionable parentDataSectionable
listID
private String listID
startIndex
private int startIndex
endIndex
private int endIndex
indexStep
private int indexStep
DataSectionTree.ListDataSectionable
private DataSectionTree.ListDataSectionable(DataSectionable parentDataSectionable,
String listID,
int startIndex,
int endIndex,
int indexStep)
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)