phenote.datamodel
Class CharacterList

java.lang.Object
  extended by phenote.datamodel.CharacterList
All Implemented Interfaces:
CharacterListI

public class CharacterList
extends java.lang.Object
implements CharacterListI

i made this as a transferable when i didnt get the whole transferable thing and now i dont whether to scrap it or not. all it is at the moment is a wrapper of a List - but one could imagine this gaining some real functionality - i guess ill keep it for now


Constructor Summary
CharacterList()
           
 
Method Summary
 void add(CharacterI c)
           
 void add(int i, CharacterI c)
           
 void clear()
           
 boolean equals(CharacterListI cl)
           
 CharacterI get(int i)
           
 ca.odell.glazedlists.EventList<CharacterI> getList()
           
 int indexOf(CharacterI c)
           
 boolean isEmpty()
           
 void remove(CharacterI c)
           
 void remove(int i)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterList

public CharacterList()
Method Detail

get

public CharacterI get(int i)
Specified by:
get in interface CharacterListI

add

public void add(CharacterI c)
Specified by:
add in interface CharacterListI

add

public void add(int i,
                CharacterI c)
Specified by:
add in interface CharacterListI

remove

public void remove(int i)
Specified by:
remove in interface CharacterListI

remove

public void remove(CharacterI c)
Specified by:
remove in interface CharacterListI

clear

public void clear()
Specified by:
clear in interface CharacterListI

size

public int size()
Specified by:
size in interface CharacterListI

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface CharacterListI

indexOf

public int indexOf(CharacterI c)
Specified by:
indexOf in interface CharacterListI

getList

public ca.odell.glazedlists.EventList<CharacterI> getList()
Specified by:
getList in interface CharacterListI

equals

public boolean equals(CharacterListI cl)
Specified by:
equals in interface CharacterListI