phenote.datamodel
Interface CharacterListI

All Known Implementing Classes:
CharacterList, ValueCharacterList

public interface CharacterListI

holds a list of Characters - rename phenotype? i dont think so - can have multiple genotypes in it - transfreable allows it to be plopped on the clipboard hmmm isnt this just a List?


Method Summary
 void add(CharacterI c)
           
 void add(int order, CharacterI c)
           
 void clear()
           
 boolean equals(CharacterListI cl)
           
 CharacterI get(int i)
           
 ca.odell.glazedlists.EventList<CharacterI> getList()
           
 CharacterListI getNonBlankCharList()
           
 ca.odell.glazedlists.EventList<CharacterI> getNonBlankList()
          return all characters that arent blanks.
 int indexOf(CharacterI c)
           
 boolean isEmpty()
           
 void remove(CharacterI c)
           
 void remove(int i)
           
 int size()
           
 

Method Detail

get

CharacterI get(int i)

add

void add(CharacterI c)

add

void add(int order,
         CharacterI c)

remove

void remove(int i)

remove

void remove(CharacterI c)

clear

void clear()

size

int size()

isEmpty

boolean isEmpty()

indexOf

int indexOf(CharacterI c)

getList

ca.odell.glazedlists.EventList<CharacterI> getList()

getNonBlankList

ca.odell.glazedlists.EventList<CharacterI> getNonBlankList()
return all characters that arent blanks. this is handy as blanks are really just an artifact of the gui. a character that has auto-generated fields filled in is still considered blank (like date_created). uses hasNoContent()


getNonBlankCharList

CharacterListI getNonBlankCharList()

equals

boolean equals(CharacterListI cl)