|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EventList | |
---|---|
ca.odell.glazedlists | |
ca.odell.glazedlists.event | |
ca.odell.glazedlists.io | |
ca.odell.glazedlists.matchers | Implementations and classes useful for creating implementations of
MatcherEditor /Matchers
for use with FilterLists . |
ca.odell.glazedlists.swing |
Uses of EventList in ca.odell.glazedlists |
---|
Classes in ca.odell.glazedlists that implement EventList | |
---|---|
class |
AbstractEventList<E>
A convenience class that implements common functionality for all EventList s. |
class |
BasicEventList<E>
An EventList that wraps any simple List , such as ArrayList
or LinkedList . |
class |
CollectionList<S,E>
A list that acts like a tree in that it contains child elements to nodes contained in another list. |
class |
CompositeList<E>
An EventList composed of multiple source EventList s. |
class |
DebugList<E>
DebugList is meant to be used as a drop-in replacement for BasicEventList at the root of pipelines of EventList s during
development. |
class |
FilterList<E>
An EventList that shows a subset of the elements of a source
EventList . |
class |
FreezableList<E>
An EventList that shows the current contents of its source EventList . |
class |
FunctionList<S,E>
This List is meant to simplify the task of transforming each element of a source list to an element stored at the same index in this FunctionList. |
class |
GroupingList<E>
A grouping list contains elements which are themselves Lists. |
class |
ObservableElementList<E>
A list that fires update events whenever elements are modified in place. |
class |
PopularityList<E>
An EventList that shows the unique elements from its source
EventList ordered by the frequency of their appearance. |
class |
RangeList<E>
This EventList shows values from a continuous range of indices from
a source EventList . |
class |
SeparatorList<E>
A list that adds separator objects before each group of elements. |
class |
SequenceList<E>
A SequenceList contains values in adjacent indices which occur at predictable intervals from each other. |
class |
SortedList<E>
An EventList that shows its source EventList in sorted order. |
class |
ThresholdList<E>
An EventList that shows a range of the elements of the source
EventList . |
class |
TransactionList<E>
A list transformation that presents traditional transaction semantics. |
class |
TransformedList<S,E>
A convenience class for EventList s that decorate another EventList . |
class |
UniqueList<E>
An EventList that shows the unique elements from its source
EventList . |
Fields in ca.odell.glazedlists declared as EventList | |
---|---|
protected EventList<S> |
TransformedList.source
the event list to transform |
Methods in ca.odell.glazedlists that return EventList | ||
---|---|---|
|
CompositeList.createMemberList()
Creates a new EventList that shares its ReadWriteLock with
this CompositeList . |
|
static
|
GlazedLists.eventList(java.util.Collection<? extends E> contents)
Creates a new EventList which contains the contents of the specified
Collection . |
|
static
|
GlazedLists.eventListOf(E... contents)
Creates a new EventList which contains the given elements. |
|
EventList<E> |
ListSelection.getDeselected()
Gets an EventList that contains only deselected values add
modifies the source list on mutation. |
|
EventList<E> |
ListSelection.getSelected()
Gets an EventList that contains only selected values and modifies
the source list on mutation. |
|
EventList<E> |
ListSelection.getSource()
Get the EventList that selection is being managed for. |
|
EventList<E> |
ListSelection.getTogglingDeselected()
Gets an EventList that contains only deselected values and
modifies the selection state on mutation. |
|
EventList<E> |
ListSelection.getTogglingSelected()
Gets an EventList that contains only selected values and modifies
the selection state on mutation. |
Methods in ca.odell.glazedlists with parameters of type EventList | ||
---|---|---|
void |
CompositeList.addMemberList(EventList<E> list)
Adds the specified EventList as a source to this CompositeList . |
|
static
|
PopularityList.create(EventList<E> source)
Creates a new PopularityList that provides frequency-ranking
for the specified EventList . |
|
static
|
SortedList.create(EventList<E> source)
Creates a SortedList that sorts the specified EventList . |
|
static
|
GroupingList.create(EventList<E> source)
Creates a GroupingList that determines groupings via the
Comparable interface which all elements of the source
are assumed to implement. |
|
static
|
UniqueList.create(EventList<E> source)
Creates a UniqueList that determines uniqueness via the
Comparable interface. |
|
static
|
UndoRedoSupport.install(EventList<E> source)
Installs support for undoing and redoing changes to the given source . |
|
static
|
GlazedLists.readOnlyList(EventList<E> source)
Wraps the source in an EventList that does not allow writing operations. |
|
void |
CompositeList.removeMemberList(EventList<E> list)
Removes the specified EventList as a source EventList
to this CompositeList . |
|
static
|
GlazedLists.replaceAll(EventList<E> target,
java.util.List<E> source,
boolean updates)
Replace the complete contents of the target EventList with the complete
contents of the source EventList while making as few list changes
as possible. |
|
static
|
GlazedLists.replaceAll(EventList<E> target,
java.util.List<E> source,
boolean updates,
java.util.Comparator<E> comparator)
Overloaded version of GlazedLists.replaceAll(EventList,List,boolean) that uses
a Comparator to determine equality rather than
equals() . |
|
static
|
GlazedLists.replaceAllSorted(EventList<E> target,
java.util.Collection<E> source,
boolean updates,
java.util.Comparator<E> comparator)
Replace the complete contents of the target EventList with the complete
contents of the source Collection while making as few list changes
as possible. |
|
static
|
GlazedLists.syncEventListToList(EventList<E> source,
java.util.List<E> target)
Synchronize the specified EventList to the specified List . |
|
static
|
GlazedLists.syncEventListToMap(EventList<V> source,
FunctionList.Function<V,K> keyMaker)
Synchronize the specified EventList to a Map that is returned
from this method. |
|
static
|
GlazedLists.syncEventListToMultiMap(EventList<V> source,
FunctionList.Function<V,? extends K> keyMaker)
Synchronize the specified EventList to a MultiMap that is
returned from this method. |
|
static
|
GlazedLists.syncEventListToMultiMap(EventList<V> source,
FunctionList.Function<V,? extends K> keyMaker,
java.util.Comparator<? super K> keyGrouper)
Synchronize the specified EventList to a MultiMap that is
returned from this method. |
|
static
|
GlazedLists.threadSafeList(EventList<E> source)
Wraps the source in an EventList that obtains a
ReadWritLock for all
operations. |
|
static
|
GlazedLists.typeSafetyListener(EventList<E> source,
java.util.Set<java.lang.Class> types)
Check list elements for type safety after they are added to an EventList using a ListEventListener . |
|
static
|
GlazedLists.weakReferenceProxy(EventList<E> source,
ListEventListener<E> target)
Provides a proxy to another ListEventListener that may go out of scope without explicitly removing itself from the source list's set of listeners. |
Constructors in ca.odell.glazedlists with parameters of type EventList | |
---|---|
CollectionList(EventList<S> source,
CollectionList.Model<S,E> model)
Create a CollectionList with its contents being the children of
the elements in the specified source EventList . |
|
FilterList(EventList<E> source)
Creates a FilterList that includes a subset of the specified
source EventList . |
|
FilterList(EventList<E> source,
Matcher<? super E> matcher)
Convenience constructor for creating a FilterList and setting its
Matcher . |
|
FilterList(EventList<E> source,
MatcherEditor<? super E> matcherEditor)
Convenience constructor for creating a FilterList and setting its
MatcherEditor . |
|
FreezableList(EventList<E> source)
Creates a FreezableList that can freeze the view of the specified
source EventList . |
|
FunctionList(EventList<S> source,
FunctionList.Function<S,E> forward)
Construct a FunctionList which stores the result of transforming
each source element using the given forward FunctionList.Function . |
|
FunctionList(EventList<S> source,
FunctionList.Function<S,E> forward,
FunctionList.Function<E,S> reverse)
Construct a FunctionList which stores the result of transforming
each source element using the given forward FunctionList.Function . |
|
GroupingList(EventList<E> source)
Creates a GroupingList that determines groupings via the
Comparable interface which all elements of the source
are assumed to implement. |
|
GroupingList(EventList<E> source,
java.util.Comparator<? super E> comparator)
Creates a GroupingList that determines groups using the specified
Comparator . |
|
ListSelection(EventList<E> source)
Creates a new ListSelection that listens to changes on the given source. |
|
ListSelection(EventList<E> source,
int[] initialSelection)
Creates a new ListSelection that listens to changes on the given source and initializes selection with the given array of indices. |
|
ObservableElementList(EventList<E> source,
ObservableElementList.Connector<? super E> elementConnector)
Constructs an ObservableElementList which wraps the given
source and uses the given elementConnector to
register/unregister change listeners on elements of the
source . |
|
PopularityList(EventList<E> source)
Creates a new PopularityList that provides frequency-ranking
for the specified EventList . |
|
PopularityList(EventList<E> source,
java.util.Comparator<E> uniqueComparator)
Creates a new PopularityList that provides frequency-ranking
for the specified EventList . |
|
RangeList(EventList<E> source)
Create a new RangeList that limits the specified EventList
to a desired range. |
|
SeparatorList(EventList<E> source,
java.util.Comparator<? super E> comparator,
int minimumSizeForSeparator,
int defaultLimit)
Construct a SeparatorList overtop of the source list by
using the given comparator to compute groups of similar
source items. |
|
SequenceList(EventList<E> source,
SequenceList.Sequencer<E> sequencer)
Constructs a SequenceList containing a sequence of values produced by the sequencer which cover the range of values contained
within the source . |
|
SequenceList(EventList<E> source,
SequenceList.Sequencer<E> sequencer,
java.util.Comparator<? super E> comparator)
Constructs a SequenceList containing a sequence of values produced by the sequencer which cover the range of values contained
within the source . |
|
SortedList(EventList<E> source)
Creates a SortedList that sorts the specified EventList . |
|
SortedList(EventList<E> source,
java.util.Comparator<? super E> comparator)
Creates a SortedList that sorts the specified EventList
using the specified Comparator to determine sort order. |
|
ThresholdList(EventList<E> source,
java.lang.String propertyName)
Creates a ThresholdList that provides range-filtering based on the
specified EventList based on the specified integer JavaBean property. |
|
ThresholdList(EventList<E> source,
ThresholdList.Evaluator<E> evaluator)
Creates a ThresholdList that provides range-filtering on the
specified EventList using the specified ThresholdList.Evaluator . |
|
TransactionList(EventList<E> source)
Constructs a TransactionList that provides traditional
transaction semantics over the given source . |
|
TransformedList(EventList<S> source)
Creates a TransformedList to transform the specified EventList . |
|
UniqueList(EventList<E> source)
Creates a UniqueList that determines uniqueness via the
Comparable interface. |
|
UniqueList(EventList<E> source,
java.util.Comparator<? super E> comparator)
Creates a UniqueList that determines uniqueness using the
specified Comparator . |
Uses of EventList in ca.odell.glazedlists.event |
---|
Fields in ca.odell.glazedlists.event declared as EventList | |
---|---|
protected EventList<E> |
ListEvent.sourceList
the list that has changed |
protected EventList<E> |
ListEventAssembler.sourceList
the list that this tracks changes for |
Methods in ca.odell.glazedlists.event that return EventList | |
---|---|
EventList<E> |
ListEvent.getSourceList()
Gets the List where this event originally occured. |
Methods in ca.odell.glazedlists.event with parameters of type EventList | |
---|---|
void |
ListEventPublisher.addDependency(EventList dependency,
ListEventListener listener)
Deprecated. replaced with ListEventPublisher.setRelatedSubject(java.lang.Object, java.lang.Object) , which has different
semantics and takes different arguments, but accomplishes the same goal |
void |
ListEventPublisher.removeDependency(EventList dependency,
ListEventListener listener)
Deprecated. replaced with ListEventPublisher.clearRelatedSubject(java.lang.Object) , which has different
semantics and takes different arguments, but accomplishes the same goal |
Constructors in ca.odell.glazedlists.event with parameters of type EventList | |
---|---|
ListEventAssembler(EventList<E> sourceList,
ListEventPublisher publisher)
Creates a new ListEventAssembler that tracks changes for the specified list. |
Uses of EventList in ca.odell.glazedlists.io |
---|
Classes in ca.odell.glazedlists.io that implement EventList | |
---|---|
class |
CachingList
An EventList that caches elements from its source EventList . |
class |
FileList
An EventList that is persisted to disk. |
class |
NetworkList<E>
An EventList that is either published to the network or subscribed from
the network. |
Methods in ca.odell.glazedlists.io with parameters of type EventList | ||
---|---|---|
|
ListPeer.publish(EventList<E> source,
java.lang.String path,
ByteCoder byteCoder)
Publish the specified EventList with the specified name. |
Constructors in ca.odell.glazedlists.io with parameters of type EventList | |
---|---|
CachingList(EventList source,
int maxSize)
Creates a CachingList that caches elements from the specified source
EventList . |
Uses of EventList in ca.odell.glazedlists.matchers |
---|
Methods in ca.odell.glazedlists.matchers that return EventList | |
---|---|
EventList<MatcherEditor<E>> |
CompositeMatcherEditor.getMatcherEditors()
Get the EventList of MatcherEditor s that make up this
CompositeMatcherEditor . |
Constructors in ca.odell.glazedlists.matchers with parameters of type EventList | |
---|---|
CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
Create a CompositeMatcherEditor that creates Matchers from the union
of the specified EventList of MatcherEditor s. |
Uses of EventList in ca.odell.glazedlists.swing |
---|
Fields in ca.odell.glazedlists.swing declared as EventList | |
---|---|
protected EventList<E> |
EventTableModel.source
the source of data for this TableModel, which may or may not be EventTableModel.swingThreadSource |
Methods in ca.odell.glazedlists.swing that return EventList | |
---|---|
EventList<E> |
EventSelectionModel.getDeselected()
Gets an EventList that contains only deselected values and
modifies the source list on mutation. |
EventList<E> |
EventSelectionModel.getEventList()
Deprecated. As of 2005/02/18, the naming of this method became ambiguous. Please use EventSelectionModel.getSelected() . |
EventList<E> |
AutoCompleteSupport.getItemList()
Returns the filtered EventList of items which backs the
ComboBoxModel of the autocompleting JComboBox . |
EventList<E> |
EventSelectionModel.getSelected()
Gets an EventList that contains only selected
values and modifies the source list on mutation. |
EventList<E> |
EventSelectionModel.getTogglingDeselected()
Gets an EventList that contains only deselected values and
modifies the selection state on mutation. |
EventList<E> |
EventSelectionModel.getTogglingSelected()
Gets an EventList that contains only selected
values and modifies the selection state on mutation. |
Methods in ca.odell.glazedlists.swing with parameters of type EventList | ||
---|---|---|
protected TransformedList<E,E> |
EventTableModel.createSwingThreadProxyList(EventList<E> source)
This method exists as a hook for subclasses that may have custom threading needs within their EventTableModels. |
|
static
|
AutoCompleteSupport.createTableCellEditor(java.util.Comparator uniqueComparator,
TableFormat<E> tableFormat,
EventList<E> tableData,
int columnIndex)
This factory method creates and returns a AutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompleting JComboBox for use as a Table
Cell Editor. |
|
static
|
AutoCompleteSupport.createTableCellEditor(EventList<E> source)
This factory method creates and returns a AutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompleting JComboBox for use as a Table
Cell Editor. |
|
static
|
AutoCompleteSupport.createTableCellEditor(TableFormat<E> tableFormat,
EventList<E> tableData,
int columnIndex)
This factory method creates and returns a AutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompleting JComboBox for use as a Table
Cell Editor. |
|
static
|
AutoCompleteSupport.install(javax.swing.JComboBox comboBox,
EventList<E> items)
Installs support for autocompletion into the comboBox and
returns the support object that is actually providing those facilities. |
|
static
|
AutoCompleteSupport.install(javax.swing.JComboBox comboBox,
EventList<E> items,
TextFilterator<? super E> filterator)
Installs support for autocompletion into the comboBox and
returns the support object that is actually providing those facilities. |
|
static
|
AutoCompleteSupport.install(javax.swing.JComboBox comboBox,
EventList<E> items,
TextFilterator<? super E> filterator,
java.text.Format format)
Installs support for autocompletion into the comboBox and
returns the support object that is actually providing those facilities. |
|
static
|
UndoSupport.install(javax.swing.undo.UndoManager undoManager,
EventList<E> source)
Installs support for undoing/redoing edits on the given source . |
|
static
|
UndoSupport.install(javax.swing.undo.UndoManager undoManager,
EventList<E> source,
FunctionList.Function<UndoRedoSupport.Edit,javax.swing.undo.UndoableEdit> editAdapter)
Installs support for undoing/redoing edits on the given source . |
|
static boolean |
GlazedListsSwing.isSwingThreadProxyList(EventList list)
Returns true iff list is an EventList that fires
all of its update events from the Swing event dispatch thread. |
|
static
|
GlazedListsSwing.swingThreadProxyList(EventList<E> source)
Wraps the source in an EventList that fires all of its update
events from the Swing event dispatch thread. |
Constructors in ca.odell.glazedlists.swing with parameters of type EventList | |
---|---|
EventComboBoxModel(EventList<E> source)
Creates a new combo box model that contains the elements of the given source and tracks further changes made to it. |
|
EventListModel(EventList<E> source)
Creates a new model that contains all objects located in the given source and reacts to any changes in the given
source . |
|
EventSelectionModel(EventList<E> source)
Creates a new selection model that also presents a list of the selection. |
|
EventTableColumnModel(EventList<T> source)
Creates a new model that contains the TableColumn objects from
the given source . |
|
EventTableModel(EventList<E> source,
java.lang.String[] propertyNames,
java.lang.String[] columnLabels,
boolean[] writable)
Creates a new table that renders the specified list with an automatically generated TableFormat . |
|
EventTableModel(EventList<E> source,
TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the given source using the the given tableFormat . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |