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/Matchersfor 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 classAbstractEventList<E>A convenience class that implements common functionality for allEventLists.classBasicEventList<E>classCollectionList<S,E>A list that acts like a tree in that it contains child elements to nodes contained in another list.classCompositeList<E>classDebugList<E>DebugList is meant to be used as a drop-in replacement forBasicEventListat the root of pipelines ofEventLists during development.classFilterList<E>classFreezableList<E>classFunctionList<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.classGroupingList<E>A grouping list contains elements which are themselves Lists.classObservableElementList<E>A list that fires update events whenever elements are modified in place.classPluggableList<E>AnEventListwhich delegates all List methods to a given sourceEventListthat may be replaced at runtime usingPluggableList.setSource(EventList).classPopularityList<E>classRangeList<E>classSeparatorList<E>A list that adds separator objects before each group of elements.classSequenceList<E>A SequenceList contains values in adjacent indices which occur at predictable intervals from each other.classSortedList<E>classThresholdList<E>classTransactionList<E>A list transformation that presents traditional transaction semantics.classTransformedList<S,E>classUniqueList<E>Fields in ca.odell.glazedlists declared as EventList Modifier and Type Field Description protected EventList<S>TransformedList. sourcethe event list to transformMethods in ca.odell.glazedlists that return EventList Modifier and Type Method Description <E> EventList<E>CompositeList. createMemberList()Creates a newEventListthat shares itsReadWriteLockandListEventPublisherwith thisCompositeList.EventList<E>PluggableList. createSourceList()Creates a newEventListthat shares itsReadWriteLockandListEventPublisherwith thisPluggableList.static <E> EventList<E>GlazedLists. eventList(ListEventPublisher publisher, ReadWriteLock lock, java.util.Collection<? extends E> contents)Creates a newEventListwith the givenListEventPublisherandReadWriteLockwhich contains the contents of the specifiedCollection.static <E> EventList<E>GlazedLists. eventList(java.util.Collection<? extends E> contents)Creates a newEventListwhich contains the contents of the specifiedCollection.static <E> EventList<E>GlazedLists. eventListOf(ListEventPublisher publisher, ReadWriteLock lock, E... contents)Creates a newEventListwith the givenListEventPublisherandReadWriteLockwhich contains the given elements.static <E> EventList<E>GlazedLists. eventListOf(E... contents)Creates a newEventListwhich contains the given elements.EventList<E>ListSelection. getDeselected()Gets anEventListthat contains only deselected values add modifies the source list on mutation.EventList<E>ListSelection. getSelected()Gets anEventListthat contains only selected values and modifies the source list on mutation.EventList<E>ListSelection. getSource()Get theEventListthat selection is being managed for.EventList<E>ListSelection. getTogglingDeselected()Gets anEventListthat contains only deselected values and modifies the selection state on mutation.EventList<E>ListSelection. getTogglingSelected()Gets anEventListthat 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 voidCompositeList. addMemberList(EventList<E> member)Adds the specifiedEventListas a source to thisCompositeList.static <E extends java.lang.Comparable<? super E>>
GroupingList<E>GroupingList. create(EventList<E> source)Creates aGroupingListthat determines groupings via theComparableinterface which all elements of thesourceare assumed to implement.static <E extends java.lang.Comparable<? super E>>
PopularityList<E>PopularityList. create(EventList<E> source)Creates a newPopularityListthat provides frequency-ranking for the specifiedEventList.static <E extends java.lang.Comparable<? super E>>
SortedList<E>SortedList. create(EventList<E> source)Creates aSortedListthat sorts the specifiedEventList.static <E extends java.lang.Comparable<? super E>>
UniqueList<E>UniqueList. create(EventList<E> source)Creates aUniqueListthat determines uniqueness via theComparableinterface.static <E> UndoRedoSupportUndoRedoSupport. 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 anEventListthat does not allow writing operations.voidCompositeList. removeMemberList(EventList<E> list)static <E> voidGlazedLists. replaceAll(EventList<E> target, java.util.List<E> source, boolean updates)static <E> voidGlazedLists. 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 aComparatorto determine equality rather thanequals().static <E> voidGlazedLists. replaceAllSorted(EventList<E> target, java.util.Collection<E> source, boolean updates, java.util.Comparator<E> comparator)Replace the complete contents of the targetEventListwith the complete contents of the sourceCollectionwhile making as few list changes as possible.voidPluggableList. 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 specifiedEventListto the specifiedList.static <K,V>
DisposableMap<K,V>GlazedLists. syncEventListToMap(EventList<V> source, FunctionList.Function<V,K> keyMaker)Synchronize the specifiedEventListto 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 specifiedEventListto 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 specifiedEventListto a MultiMap that is returned from this method.static <E> TransformedList<E,E>GlazedLists. threadSafeList(EventList<? extends E> source)Wraps the source in anEventListthat obtains aReadWritLockfor all operations.static <S,E>
TransformedList<S,E>GlazedLists. transformByFunction(EventList<S> source, FunctionList.Function<S,E> function)Returns aTransformedListthat 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 aCollectionListwith its contents being the children of the elements in the specified sourceEventList.FilterList(EventList<E> source)Creates aFilterListthat includes a subset of the specified sourceEventList.FilterList(EventList<E> source, Matcher<? super E> matcher)Convenience constructor for creating aFilterListand setting itsMatcher.FilterList(EventList<E> source, MatcherEditor<? super E> matcherEditor)Convenience constructor for creating aFilterListand setting itsMatcherEditor.FreezableList(EventList<E> source)Creates aFreezableListthat can freeze the view of the specified sourceEventList.FunctionList(EventList<S> source, FunctionList.Function<S,E> forward)Construct aFunctionListwhich 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 aFunctionListwhich stores the result of transforming each source element using the given forwardFunctionList.Function.GroupingList(EventList<E> source)Creates aGroupingListthat determines groupings via theComparableinterface which all elements of thesourceare assumed to implement.GroupingList(EventList<E> source, java.util.Comparator<? super E> comparator)Creates aGroupingListthat 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 anObservableElementListwhich wraps the givensourceand uses the givenelementConnectorto 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 newPopularityListthat provides frequency-ranking for the specifiedEventList.PopularityList(EventList<E> source, java.util.Comparator<E> uniqueComparator)Creates a newPopularityListthat 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 thesourcelist by using the givencomparatorto compute groups of similar source items.SequenceList(EventList<E> source, SequenceList.Sequencer<E> sequencer)Constructs a SequenceList containing a sequence of values produced by thesequencerwhich 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 thesequencerwhich cover the range of values contained within thesource.SortedList(EventList<E> source)Creates aSortedListthat sorts the specifiedEventList.SortedList(EventList<E> source, java.util.Comparator<? super E> comparator)Creates aSortedListthat sorts the specifiedEventListusing the specifiedComparatorto determine sort order.ThresholdList(EventList<E> source, ThresholdList.Evaluator<E> evaluator)Creates aThresholdListthat provides range-filtering on the specifiedEventListusing the specifiedThresholdList.Evaluator.ThresholdList(EventList<E> source, java.lang.String propertyName)Creates aThresholdListthat provides range-filtering based on the specifiedEventListbased on the specified integer JavaBean property.TransactionList(EventList<E> source)Constructs aTransactionListthat provides traditional transaction semantics over the givensource.TransformedList(EventList<S> source)Creates aTransformedListto transform the specifiedEventList.UniqueList(EventList<E> source)Creates aUniqueListthat determines uniqueness via theComparableinterface.UniqueList(EventList<E> source, java.util.Comparator<? super E> comparator)Creates aUniqueListthat 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. sourceListthe list that has changedprotected EventList<E>ListEventAssembler. sourceListthe 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 voidListEventPublisher. 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 goalvoidListEventPublisher. 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 classCachingListclassFileListAnEventListthat is persisted to disk.classNetworkList<E>AnEventListthat 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 aCachingListthat 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 aCompositeMatcherEditorthat creates Matchers from the union of the specifiedEventListofMatcherEditors. -
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. sourcethe source EventListprotected EventList<E>DefaultEventTableModel. sourcethe source of data for this TableModel, which may or may not be#swingThreadSourceMethods in ca.odell.glazedlists.swing that return EventList Modifier and Type Method Description EventList<E>AdvancedListSelectionModel. getDeselected()Gets anEventListthat contains only deselected values and modifies the source list on mutation.EventList<E>DefaultEventSelectionModel. getDeselected()Gets anEventListthat contains only deselected values and modifies the source list on mutation.EventList<E>EventSelectionModel. getDeselected()Deprecated.Gets anEventListthat 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 filteredEventListof items which backs theComboBoxModelof the autocompletingJComboBox.EventList<E>AdvancedListSelectionModel. getSelected()Gets anEventListthat contains only selected values and modifies the source list on mutation.EventList<E>DefaultEventSelectionModel. getSelected()Gets anEventListthat contains only selected values and modifies the source list on mutation.EventList<E>EventSelectionModel. getSelected()Deprecated.Gets anEventListthat contains only selected values and modifies the source list on mutation.EventList<E>AdvancedListSelectionModel. getTogglingDeselected()Gets anEventListthat contains only deselected values and modifies the selection state on mutation.EventList<E>DefaultEventSelectionModel. getTogglingDeselected()Gets anEventListthat contains only deselected values and modifies the selection state on mutation.EventList<E>EventSelectionModel. getTogglingDeselected()Deprecated.Gets anEventListthat contains only deselected values and modifies the selection state on mutation.EventList<E>AdvancedListSelectionModel. getTogglingSelected()Gets anEventListthat contains only selected values and modifies the selection state on mutation.EventList<E>DefaultEventSelectionModel. getTogglingSelected()Gets anEventListthat contains only selected values and modifies the selection state on mutation.EventList<E>EventSelectionModel. getTogglingSelected()Deprecated.Gets anEventListthat 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.AutoCompleteCellEditorwhich adapts an autocompletingJComboBoxfor 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.AutoCompleteCellEditorwhich adapts an autocompletingJComboBoxfor 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.AutoCompleteCellEditorwhich adapts an autocompletingJComboBoxfor 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 givensourceand 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 givensourceand 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 givensourceand 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 givensourceand 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 givensourceusing 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 givensourceusing 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 thecomboBoxand 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 thecomboBoxand 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 thecomboBoxand returns the support object that is actually providing those facilities.static <E> UndoSupportUndoSupport. install(javax.swing.undo.UndoManager undoManager, EventList<E> source)Installs support for undoing/redoing edits on the givensource.static <E> UndoSupportUndoSupport. 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 booleanGlazedListsSwing. isSwingThreadProxyList(EventList list)Returns true ifflistis anEventListthat 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 anEventListthat 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 givensourceand tracks further changes made to it.DefaultEventComboBoxModel(EventList<E> source, boolean disposeSource)Creates a new combo box model that contains the elements of the givensourceand tracks further changes made to it.DefaultEventListModel(EventList<E> source)Creates a new model that contains all objects located in the givensourceand reacts to any changes in the givensource.DefaultEventListModel(EventList<E> source, boolean disposeSource)Creates a new model that contains all objects located in the givensourceand 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 givensourceusing the the giventableFormat.DefaultEventTableModel(EventList<E> source, TableFormat<? super E> tableFormat)Creates a new table model that extracts column data from the givensourceusing the the giventableFormat.EventComboBoxModel(EventList<E> source)Deprecated.Creates a new combo box model that contains the elements of the givensourceand tracks further changes made to it.EventListModel(EventList<E> source)Deprecated.Creates a new model that contains all objects located in the givensourceand 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 theTableColumnobjects 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
-