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