modnlp.tec.client
public class ConcordanceVector extends java.util.Vector<ConcordanceObject> implements javax.swing.ListModel
ContextClient
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
SEPTOKEN |
static int |
UPDATE_INTERVAL |
Constructor and Description |
---|
ConcordanceVector() |
ConcordanceVector(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String inputString) |
void |
addListDataListener(javax.swing.event.ListDataListener l) |
void |
clear() |
void |
doneAdding() |
void |
dumpValues() |
protected void |
fireContentsChanged(int index0,
int index1) |
protected void |
fireIntervalAdded(int index0,
int index1) |
protected void |
fireIntervalRemoved(int index0,
int index1) |
java.lang.Object |
getElementAt(int index) |
int |
getHalfConcordance() |
int |
getLanguage() |
int |
getLengthLongestFname() |
<T extends java.util.EventListener> |
getListeners(java.lang.Class<T> listenerType) |
boolean |
getPunctuation() |
int |
getSize() |
int |
getSortContextHorizon() |
boolean |
isFireChangeContinuously() |
void |
notifyContentChange() |
void |
removeListDataListener(javax.swing.event.ListDataListener l) |
void |
setFireChangeContinuously(boolean v) |
void |
setHalfConcordance(int hc) |
void |
setLanguage(int l) |
void |
setPunctuation(boolean p) |
void |
setSortContextHorizon(int ch) |
add, add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
public static final java.lang.String SEPTOKEN
public static final int UPDATE_INTERVAL
public ConcordanceVector()
public ConcordanceVector(int size)
public final void setLanguage(int l)
public final int getLanguage()
public final void setPunctuation(boolean p)
public final boolean getPunctuation()
public final int getLengthLongestFname()
public final int getSortContextHorizon()
public final void setSortContextHorizon(int ch)
public final void setFireChangeContinuously(boolean v)
public final boolean isFireChangeContinuously()
public final void setHalfConcordance(int hc)
public final int getHalfConcordance()
public boolean add(java.lang.String inputString)
public void doneAdding()
public void clear()
clear
in interface java.util.Collection<ConcordanceObject>
clear
in interface java.util.List<ConcordanceObject>
clear
in class java.util.Vector<ConcordanceObject>
public int getSize()
getSize
in interface javax.swing.ListModel
public java.lang.Object getElementAt(int index)
getElementAt
in interface javax.swing.ListModel
public void dumpValues()
public void notifyContentChange()
public void addListDataListener(javax.swing.event.ListDataListener l)
addListDataListener
in interface javax.swing.ListModel
public void removeListDataListener(javax.swing.event.ListDataListener l)
removeListDataListener
in interface javax.swing.ListModel
protected void fireContentsChanged(int index0, int index1)
protected void fireIntervalAdded(int index0, int index1)
protected void fireIntervalRemoved(int index0, int index1)
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T> listenerType)