com.jurismarches.vradi.models
Class ModifModel<E extends ModifModel.Modif>

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by com.jurismarches.vradi.models.ModifModel<E>
All Implemented Interfaces:
Serializable, ListModel
Direct Known Subclasses:
ModifThesaurusModel

public abstract class ModifModel<E extends ModifModel.Modif>
extends AbstractListModel

Author:
letellier
See Also:
Serialized Form

Nested Class Summary
static interface ModifModel.Modif
           
 
Field Summary
protected  List<E> values
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ModifModel()
           
 
Method Summary
 boolean add(E value)
           
 boolean addAll(Collection<? extends E> value)
           
 void clear()
           
protected  void fireAdd()
           
protected  void fireRemove()
           
 E get(int index)
           
 Object getElementAt(int index)
           
 int getSize()
           
 List<E> getValues()
           
 boolean remove(E value)
           
 boolean removeAll(Collection<? extends E> value)
           
protected  boolean revert(int index)
           
 boolean revert(int[] index)
           
 void setValues(List<E> values)
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

protected List<E extends ModifModel.Modif> values
Constructor Detail

ModifModel

public ModifModel()
Method Detail

fireAdd

protected void fireAdd()

fireRemove

protected void fireRemove()

revert

protected boolean revert(int index)

revert

public boolean revert(int[] index)

clear

public void clear()

remove

public boolean remove(E value)

removeAll

public boolean removeAll(Collection<? extends E> value)

add

public boolean add(E value)

addAll

public boolean addAll(Collection<? extends E> value)

get

public E get(int index)

getValues

public List<E> getValues()

setValues

public void setValues(List<E> values)

getSize

public int getSize()

getElementAt

public Object getElementAt(int index)


Copyright © 2009-2010 JurisMarches. All Rights Reserved.