Uses of Interface
ca.odell.glazedlists.EventList
-
Packages that use EventList Package Description ca.odell.glazedlists ca.odell.glazedlists.event ca.odell.glazedlists.io ca.odell.glazedlists.matchers Implementations and classes useful for creating implementations ofMatcherEditor
/Matchers
for use withFilterLists
.ca.odell.glazedlists.swing -
-
Uses of EventList in ca.odell.glazedlists
Classes in ca.odell.glazedlists that implement EventList Modifier and Type Class Description class
AbstractEventList<E>
A convenience class that implements common functionality for allEventList
s.class
BasicEventList<E>
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>
class
DebugList<E>
DebugList is meant to be used as a drop-in replacement forBasicEventList
at the root of pipelines ofEventList
s during development.class
FilterList<E>
class
FreezableList<E>
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
PluggableList<E>
AnEventList
which delegates all List methods to a given sourceEventList
that may be replaced at runtime usingPluggableList.setSource(EventList)
.class
PopularityList<E>
class
RangeList<E>
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>
class
ThresholdList<E>
class
TransactionList<E>
A list transformation that presents traditional transaction semantics.class
TransformedList<S,E>
class
UniqueList<E>
Fields in ca.odell.glazedlists declared as EventList Modifier and Type Field Description protected EventList<S>
TransformedList. source
the event list to transformMethods in ca.odell.glazedlists that return EventList Modifier and Type Method Description <E> EventList<E>
CompositeList. createMemberList()
Creates a newEventList
that shares itsReadWriteLock
andListEventPublisher
with thisCompositeList
.EventList<E>
PluggableList. createSourceList()
Creates a newEventList
that shares itsReadWriteLock
andListEventPublisher
with thisPluggableList
.static <E> EventList<E>
GlazedLists. eventList(ListEventPublisher publisher, ReadWriteLock lock, java.util.Collection<? extends E> contents)
Creates a newEventList
with the givenListEventPublisher
andReadWriteLock
which contains the contents of the specifiedCollection
.static <E> EventList<E>
GlazedLists. eventList(java.util.Collection<? extends E> contents)
Creates a newEventList
which contains the contents of the specifiedCollection
.static <E> EventList<E>
GlazedLists. eventListOf(ListEventPublisher publisher, ReadWriteLock lock, E... contents)
Creates a newEventList
with the givenListEventPublisher
andReadWriteLock
which contains the given elements.static <E> EventList<E>
GlazedLists. eventListOf(E... contents)
Creates a newEventList
which contains the given elements.EventList<E>
ListSelection. getDeselected()
Gets anEventList
that contains only deselected values add modifies the source list on mutation.EventList<E>
ListSelection. getSelected()
Gets anEventList
that contains only selected values and modifies the source list on mutation.EventList<E>
ListSelection. getSource()
Get theEventList
that selection is being managed for.EventList<E>
ListSelection. getTogglingDeselected()
Gets anEventList
that contains only deselected values and modifies the selection state on mutation.EventList<E>
ListSelection. getTogglingSelected()
Gets anEventList
that contains only selected values and modifies the selection state on mutation.Methods in ca.odell.glazedlists with parameters of type EventList Modifier and Type Method Description void
CompositeList. addMemberList(EventList<E> member)
Adds the specifiedEventList
as a source to thisCompositeList
.static <E extends java.lang.Comparable<? super E>>
GroupingList<E>GroupingList. create(EventList<E> source)
Creates aGroupingList
that determines groupings via theComparable
interface which all elements of thesource
are assumed to implement.static <E extends java.lang.Comparable<? super E>>
PopularityList<E>PopularityList. create(EventList<E> source)
Creates a newPopularityList
that provides frequency-ranking for the specifiedEventList
.static <E extends java.lang.Comparable<? super E>>
SortedList<E>SortedList. create(EventList<E> source)
Creates aSortedList
that sorts the specifiedEventList
.static <E extends java.lang.Comparable<? super E>>
UniqueList<E>UniqueList. create(EventList<E> source)
Creates aUniqueList
that determines uniqueness via theComparable
interface.static <E> UndoRedoSupport
UndoRedoSupport. install(EventList<E> source)
Installs support for undoing and redoing changes to the givensource
.static <E> TransformedList<E,E>
GlazedLists. readOnlyList(EventList<? extends E> source)
Wraps the source in anEventList
that does not allow writing operations.void
CompositeList. removeMemberList(EventList<E> list)
static <E> void
GlazedLists. replaceAll(EventList<E> target, java.util.List<E> source, boolean updates)
static <E> void
GlazedLists. replaceAll(EventList<E> target, java.util.List<E> source, boolean updates, java.util.Comparator<E> comparator)
Overloaded version ofGlazedLists.replaceAll(EventList,List,boolean)
that uses aComparator
to determine equality rather thanequals()
.static <E> void
GlazedLists. replaceAllSorted(EventList<E> target, java.util.Collection<E> source, boolean updates, java.util.Comparator<E> comparator)
Replace the complete contents of the targetEventList
with the complete contents of the sourceCollection
while making as few list changes as possible.void
PluggableList. setSource(EventList<E> source)
Sets the source EventList to which this PluggableList will delegate all calls.static <E> ListEventListener<E>
GlazedLists. syncEventListToList(EventList<E> source, java.util.List<E> target)
Synchronize the specifiedEventList
to the specifiedList
.static <K,V>
DisposableMap<K,V>GlazedLists. syncEventListToMap(EventList<V> source, FunctionList.Function<V,K> keyMaker)
Synchronize the specifiedEventList
to a Map that is returned from this method.static <K extends java.lang.Comparable,V>
DisposableMap<K,java.util.List<V>>GlazedLists. syncEventListToMultiMap(EventList<V> source, FunctionList.Function<V,? extends K> keyMaker)
Synchronize the specifiedEventList
to a MultiMap that is returned from this method.static <K,V>
DisposableMap<K,java.util.List<V>>GlazedLists. syncEventListToMultiMap(EventList<V> source, FunctionList.Function<V,? extends K> keyMaker, java.util.Comparator<? super K> keyGrouper)
Synchronize the specifiedEventList
to a MultiMap that is returned from this method.static <E> TransformedList<E,E>
GlazedLists. threadSafeList(EventList<? extends E> source)
Wraps the source in anEventList
that obtains aReadWritLock
for all operations.static <S,E>
TransformedList<S,E>GlazedLists. transformByFunction(EventList<S> source, FunctionList.Function<S,E> function)
Returns aTransformedList
that maps each element of the source list to a target element by use of a specifiedFunctionList.Function
.static <E> ListEventListener<E>
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 aListEventListener
.static <E> ListEventListener<E>
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 Constructor Description CollectionList(EventList<S> source, CollectionList.Model<S,E> model)
Create aCollectionList
with its contents being the children of the elements in the specified sourceEventList
.FilterList(EventList<E> source)
Creates aFilterList
that includes a subset of the specified sourceEventList
.FilterList(EventList<E> source, Matcher<? super E> matcher)
Convenience constructor for creating aFilterList
and setting itsMatcher
.FilterList(EventList<E> source, MatcherEditor<? super E> matcherEditor)
Convenience constructor for creating aFilterList
and setting itsMatcherEditor
.FreezableList(EventList<E> source)
Creates aFreezableList
that can freeze the view of the specified sourceEventList
.FunctionList(EventList<S> source, FunctionList.Function<S,E> forward)
Construct aFunctionList
which stores the result of transforming each source element using the given forwardFunctionList.Function
.FunctionList(EventList<S> source, FunctionList.Function<S,E> forward, FunctionList.Function<E,S> reverse)
Construct aFunctionList
which stores the result of transforming each source element using the given forwardFunctionList.Function
.GroupingList(EventList<E> source)
Creates aGroupingList
that determines groupings via theComparable
interface which all elements of thesource
are assumed to implement.GroupingList(EventList<E> source, java.util.Comparator<? super E> comparator)
Creates aGroupingList
that determines groups using the specifiedComparator
.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 anObservableElementList
which wraps the givensource
and uses the givenelementConnector
to register/unregister change listeners on elements of thesource
.PluggableList(EventList<E> source)
Constructs a PluggableList which delegates all List methods to the givensource
.PopularityList(EventList<E> source)
Creates a newPopularityList
that provides frequency-ranking for the specifiedEventList
.PopularityList(EventList<E> source, java.util.Comparator<E> uniqueComparator)
Creates a newPopularityList
that provides frequency-ranking for the specifiedEventList
.RangeList(EventList<E> source)
SeparatorList(EventList<E> source, java.util.Comparator<? super E> comparator, int minimumSizeForSeparator, int defaultLimit)
Construct a SeparatorList overtop of thesource
list by using the givencomparator
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 thesequencer
which cover the range of values contained within thesource
.SequenceList(EventList<E> source, SequenceList.Sequencer<E> sequencer, java.util.Comparator<? super E> comparator)
Constructs a SequenceList containing a sequence of values produced by thesequencer
which cover the range of values contained within thesource
.SortedList(EventList<E> source)
Creates aSortedList
that sorts the specifiedEventList
.SortedList(EventList<E> source, java.util.Comparator<? super E> comparator)
Creates aSortedList
that sorts the specifiedEventList
using the specifiedComparator
to determine sort order.ThresholdList(EventList<E> source, ThresholdList.Evaluator<E> evaluator)
Creates aThresholdList
that provides range-filtering on the specifiedEventList
using the specifiedThresholdList.Evaluator
.ThresholdList(EventList<E> source, java.lang.String propertyName)
Creates aThresholdList
that provides range-filtering based on the specifiedEventList
based on the specified integer JavaBean property.TransactionList(EventList<E> source)
Constructs aTransactionList
that provides traditional transaction semantics over the givensource
.TransformedList(EventList<S> source)
Creates aTransformedList
to transform the specifiedEventList
.UniqueList(EventList<E> source)
Creates aUniqueList
that determines uniqueness via theComparable
interface.UniqueList(EventList<E> source, java.util.Comparator<? super E> comparator)
Creates aUniqueList
that determines uniqueness using the specifiedComparator
. -
Uses of EventList in ca.odell.glazedlists.event
Fields in ca.odell.glazedlists.event declared as EventList Modifier and Type Field Description protected EventList<E>
ListEvent. sourceList
the list that has changedprotected EventList<E>
ListEventAssembler. sourceList
the list that this tracks changes forMethods in ca.odell.glazedlists.event that return EventList Modifier and Type Method Description EventList<E>
ListEvent. getSourceList()
Gets the List where this event originally occured.Methods in ca.odell.glazedlists.event with parameters of type EventList Modifier and Type Method Description void
ListEventPublisher. addDependency(EventList dependency, ListEventListener listener)
Deprecated.replaced withListEventPublisher.setRelatedSubject(java.lang.Object, java.lang.Object)
, which has different semantics and takes different arguments, but accomplishes the same goalvoid
ListEventPublisher. removeDependency(EventList dependency, ListEventListener listener)
Deprecated.replaced withListEventPublisher.clearRelatedSubject(java.lang.Object)
, which has different semantics and takes different arguments, but accomplishes the same goalConstructors in ca.odell.glazedlists.event with parameters of type EventList Constructor Description 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 Modifier and Type Class Description class
CachingList
class
FileList
AnEventList
that is persisted to disk.class
NetworkList<E>
AnEventList
that is either published to the network or subscribed from the network.Methods in ca.odell.glazedlists.io with parameters of type EventList Modifier and Type Method Description <E> NetworkList<E>
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 Constructor Description CachingList(EventList source, int maxSize)
Creates aCachingList
that caches elements from the specified sourceEventList
. -
Uses of EventList in ca.odell.glazedlists.matchers
Methods in ca.odell.glazedlists.matchers that return EventList Modifier and Type Method Description EventList<MatcherEditor<E>>
CompositeMatcherEditor. getMatcherEditors()
Constructors in ca.odell.glazedlists.matchers with parameters of type EventList Constructor Description CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
Create aCompositeMatcherEditor
that creates Matchers from the union of the specifiedEventList
ofMatcherEditor
s. -
Uses of EventList in ca.odell.glazedlists.swing
Fields in ca.odell.glazedlists.swing declared as EventList Modifier and Type Field Description protected EventList<E>
DefaultEventListModel. source
the source EventListprotected EventList<E>
DefaultEventTableModel. source
the source of data for this TableModel, which may or may not be#swingThreadSource
Methods in ca.odell.glazedlists.swing that return EventList Modifier and Type Method Description EventList<E>
AdvancedListSelectionModel. getDeselected()
Gets anEventList
that contains only deselected values and modifies the source list on mutation.EventList<E>
DefaultEventSelectionModel. getDeselected()
Gets anEventList
that contains only deselected values and modifies the source list on mutation.EventList<E>
EventSelectionModel. getDeselected()
Deprecated.Gets anEventList
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.EventList<E>
AutoCompleteSupport. getItemList()
Returns the filteredEventList
of items which backs theComboBoxModel
of the autocompletingJComboBox
.EventList<E>
AdvancedListSelectionModel. getSelected()
Gets anEventList
that contains only selected values and modifies the source list on mutation.EventList<E>
DefaultEventSelectionModel. getSelected()
Gets anEventList
that contains only selected values and modifies the source list on mutation.EventList<E>
EventSelectionModel. getSelected()
Deprecated.Gets anEventList
that contains only selected values and modifies the source list on mutation.EventList<E>
AdvancedListSelectionModel. getTogglingDeselected()
Gets anEventList
that contains only deselected values and modifies the selection state on mutation.EventList<E>
DefaultEventSelectionModel. getTogglingDeselected()
Gets anEventList
that contains only deselected values and modifies the selection state on mutation.EventList<E>
EventSelectionModel. getTogglingDeselected()
Deprecated.Gets anEventList
that contains only deselected values and modifies the selection state on mutation.EventList<E>
AdvancedListSelectionModel. getTogglingSelected()
Gets anEventList
that contains only selected values and modifies the selection state on mutation.EventList<E>
DefaultEventSelectionModel. getTogglingSelected()
Gets anEventList
that contains only selected values and modifies the selection state on mutation.EventList<E>
EventSelectionModel. getTogglingSelected()
Deprecated.Gets anEventList
that contains only selected values and modifies the selection state on mutation.Methods in ca.odell.glazedlists.swing with parameters of type EventList Modifier and Type Method Description protected TransformedList<E,E>
EventTableModel. createSwingThreadProxyList(EventList<E> source)
Deprecated.This method exists as a hook for subclasses that may have custom threading needs within their EventTableModels.static <E> AutoCompleteSupport.AutoCompleteCellEditor<E>
AutoCompleteSupport. createTableCellEditor(EventList<E> source)
This factory method creates and returns aAutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompletingJComboBox
for use as a Table Cell Editor.static <E> AutoCompleteSupport.AutoCompleteCellEditor<E>
AutoCompleteSupport. createTableCellEditor(TableFormat<E> tableFormat, EventList<E> tableData, int columnIndex)
This factory method creates and returns aAutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompletingJComboBox
for use as a Table Cell Editor.static <E> AutoCompleteSupport.AutoCompleteCellEditor<E>
AutoCompleteSupport. createTableCellEditor(java.util.Comparator uniqueComparator, TableFormat<E> tableFormat, EventList<E> tableData, int columnIndex)
This factory method creates and returns aAutoCompleteSupport.AutoCompleteCellEditor
which adapts an autocompletingJComboBox
for use as a Table Cell Editor.static <E> DefaultEventComboBoxModel<E>
GlazedListsSwing. eventComboBoxModel(EventList<E> source)
Creates a new combobox model that contains all objects located in the givensource
and reacts to any changes in the givensource
.static <E> DefaultEventComboBoxModel<E>
GlazedListsSwing. eventComboBoxModelWithThreadProxyList(EventList<E> source)
Creates a new combobox model that contains all objects located in the givensource
and reacts to any changes in the givensource
.static <E> DefaultEventListModel<E>
GlazedListsSwing. eventListModel(EventList<E> source)
Creates a new list model that contains all objects located in the givensource
and reacts to any changes in the givensource
.static <E> DefaultEventListModel<E>
GlazedListsSwing. eventListModelWithThreadProxyList(EventList<E> source)
Creates a new list model that contains all objects located in the givensource
and reacts to any changes in the givensource
.static <E> AdvancedListSelectionModel<E>
GlazedListsSwing. eventSelectionModel(EventList<E> source)
Creates a new selection model that also presents a list of the selection.static <E> AdvancedListSelectionModel<E>
GlazedListsSwing. eventSelectionModelWithThreadProxyList(EventList<E> source)
Creates a new selection model that also presents a list of the selection.static <E> AdvancedTableModel<E>
GlazedListsSwing. eventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.static <E> AdvancedTableModel<E>
GlazedListsSwing. eventTableModel(EventList<E> source, java.lang.String[] propertyNames, java.lang.String[] columnLabels, boolean[] writable)
Creates a new table model that renders the specified list with an automatically generatedTableFormat
.static <E> AdvancedTableModel<E>
GlazedListsSwing. eventTableModelWithThreadProxyList(EventList<E> source, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.static <E> AdvancedTableModel<E>
GlazedListsSwing. eventTableModelWithThreadProxyList(EventList<E> source, java.lang.String[] propertyNames, java.lang.String[] columnLabels, boolean[] writable)
Creates a new table model that renders the specified list with an automatically generatedTableFormat
.static <E> AutoCompleteSupport<E>
AutoCompleteSupport. install(javax.swing.JComboBox comboBox, EventList<E> items)
Installs support for autocompletion into thecomboBox
and returns the support object that is actually providing those facilities.static <E> AutoCompleteSupport<E>
AutoCompleteSupport. install(javax.swing.JComboBox comboBox, EventList<E> items, TextFilterator<? super E> filterator)
Installs support for autocompletion into thecomboBox
and returns the support object that is actually providing those facilities.static <E> AutoCompleteSupport<E>
AutoCompleteSupport. install(javax.swing.JComboBox comboBox, EventList<E> items, TextFilterator<? super E> filterator, java.text.Format format)
Installs support for autocompletion into thecomboBox
and returns the support object that is actually providing those facilities.static <E> UndoSupport
UndoSupport. install(javax.swing.undo.UndoManager undoManager, EventList<E> source)
Installs support for undoing/redoing edits on the givensource
.static <E> UndoSupport
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 givensource
.static boolean
GlazedListsSwing. isSwingThreadProxyList(EventList list)
Returns true ifflist
is anEventList
that fires all of its update events from the Swing event dispatch thread.static <E> TransformedList<E,E>
GlazedListsSwing. swingThreadProxyList(EventList<E> source)
Wraps the source in anEventList
that fires all of its update events from the Swing event dispatch thread.Constructors in ca.odell.glazedlists.swing with parameters of type EventList Constructor Description DefaultEventComboBoxModel(EventList<E> source)
Creates a new combo box model that contains the elements of the givensource
and tracks further changes made to it.DefaultEventComboBoxModel(EventList<E> source, boolean disposeSource)
Creates a new combo box model that contains the elements of the givensource
and tracks further changes made to it.DefaultEventListModel(EventList<E> source)
Creates a new model that contains all objects located in the givensource
and reacts to any changes in the givensource
.DefaultEventListModel(EventList<E> source, boolean disposeSource)
Creates a new model that contains all objects located in the givensource
and reacts to any changes in the givensource
.DefaultEventSelectionModel(EventList<E> source)
Creates a new selection model that also presents a list of the selection.DefaultEventSelectionModel(EventList<E> source, boolean disposeSource)
Creates a new selection model that also presents a list of the selection.DefaultEventTableModel(EventList<E> source, boolean disposeSource, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.DefaultEventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)
Creates a new table model that extracts column data from the givensource
using the the giventableFormat
.EventComboBoxModel(EventList<E> source)
Deprecated.Creates a new combo box model that contains the elements of the givensource
and tracks further changes made to it.EventListModel(EventList<E> source)
Deprecated.Creates a new model that contains all objects located in the givensource
and reacts to any changes in the givensource
.EventSelectionModel(EventList<E> source)
Deprecated.Creates a new selection model that also presents a list of the selection.EventTableColumnModel(EventList<T> source)
Creates a new model that contains theTableColumn
objects from the givensource
.EventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)
Deprecated.EventTableModel(EventList<E> source, java.lang.String[] propertyNames, java.lang.String[] columnLabels, boolean[] writable)
Deprecated.UseGlazedListsSwing#createEventTableModel(EventList, String[], String[], boolean[])
andGlazedListsSwing.swingThreadProxyList(EventList)
instead
-