|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.common.data.tabulardata.DataTableHeader
uk.ac.ebi.adfconverter.common.data.tabulardata.CorrectableDataTableHeader
This Class represents the list of data table headers which can be modify
| Constructor Summary | |
CorrectableDataTableHeader()
Constructor of the headerItem class |
|
CorrectableDataTableHeader(int capacity)
Constructor of the headerItem class with an initial capacity for the header list |
|
| Method Summary | |
void |
addItem(CorrectableHeaderItem item)
Adds an item to the header list |
void |
addItem(CorrectableHeaderItem item,
int index)
Adds an item to the header list |
int |
getFirstItemColumnByType(java.lang.String itemType)
retrieve the column of the first item in the header list with a given type |
java.util.ArrayList |
getItemColumnByFieldType(java.lang.String fieldType)
retrieve all items from the header list with a given field type |
java.util.ArrayList |
getItemColumnByType(java.lang.String itemType)
retrieve all items from the header list with a given type |
java.util.ArrayList |
getItemsByLabel(java.lang.String label)
retrieve all items from the header list with a given label |
void |
removeItem(CorrectableHeaderItem item)
Removes an given item from the header list |
void |
removeItem(int index)
Removes an item at a given position from the header list |
| Methods inherited from class uk.ac.ebi.adfconverter.common.data.tabulardata.DataTableHeader |
addItem, addItem, clear, contains, getItem, getItem, getItemColumn, getItemColumnByLabel, getItems, getLineNumber, InitNextItem, nextItem, removeItem, setLineNumber, size, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CorrectableDataTableHeader()
public CorrectableDataTableHeader(int capacity)
capacity - the initial capacity of the list| Method Detail |
public void addItem(CorrectableHeaderItem item)
item - the new item to add
public void addItem(CorrectableHeaderItem item,
int index)
item - the new item to addindex - the position of the item in the header filepublic int getFirstItemColumnByType(java.lang.String itemType)
itemType - the type of wanted items
public java.util.ArrayList getItemColumnByFieldType(java.lang.String fieldType)
fieldType - the field type of wanted items
public java.util.ArrayList getItemColumnByType(java.lang.String itemType)
itemType - the type of wanted items
public java.util.ArrayList getItemsByLabel(java.lang.String label)
label - the label of wanted items
public void removeItem(CorrectableHeaderItem item)
item - the new item to removepublic void removeItem(int index)
removeItem in class DataTableHeaderindex - the item position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||