Package | Description |
---|---|
ca.odell.glazedlists | |
ca.odell.glazedlists.calculation | |
ca.odell.glazedlists.event | |
ca.odell.glazedlists.hibernate | |
ca.odell.glazedlists.io | |
ca.odell.glazedlists.jfreechart | |
ca.odell.glazedlists.matchers |
Implementations and classes useful for creating implementations of
MatcherEditor /Matchers
for use with FilterLists . |
ca.odell.glazedlists.swing | |
ca.odell.glazedlists.swt |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventList<E>
A convenience class that implements common functionality for all
EventList 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 for
BasicEventList at the root of pipelines of EventList 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>
An
EventList which delegates all List methods to a given source
EventList that may be replaced at runtime using
PluggableList.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 |
TreeList<E>
A hierarchial EventList that infers its structure from a flat list.
|
class |
UniqueList<E>
|
Modifier and Type | Field and Description |
---|---|
protected EventList<S> |
TransformedList.source
the event list to transform
|
Modifier and Type | Method and Description |
---|---|
<E> EventList<E> |
CompositeList.createMemberList()
Creates a new
EventList that shares its ReadWriteLock and
ListEventPublisher with this CompositeList . |
EventList<E> |
PluggableList.createSourceList()
Creates a new
EventList that shares its
ReadWriteLock and
ListEventPublisher with this
PluggableList . |
static <E> EventList<E> |
GlazedLists.eventList(java.util.Collection<? extends E> contents)
Creates a new
EventList which contains the contents of the specified
Collection . |
static <E> EventList<E> |
GlazedLists.eventList(ListEventPublisher publisher,
ReadWriteLock lock,
java.util.Collection<? extends E> contents)
Creates a new
EventList with the given ListEventPublisher and
ReadWriteLock which contains the contents of the specified
Collection . |
static <E> EventList<E> |
GlazedLists.eventListOf(E... contents)
Creates a new
EventList which contains the given elements. |
static <E> EventList<E> |
GlazedLists.eventListOf(ListEventPublisher publisher,
ReadWriteLock lock,
E... contents)
Creates a new
EventList with the given ListEventPublisher and
ReadWriteLock 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<TreeList.Node<E>> |
TreeList.getNodesList() |
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. |
Modifier and Type | Method and Description |
---|---|
void |
CompositeList.addMemberList(EventList<E> member)
Adds the specified
EventList as a source to this CompositeList . |
static <E extends java.lang.Comparable<? super E>> |
UniqueList.create(EventList<E> source)
Creates a
UniqueList that determines uniqueness via the
Comparable interface. |
static <E extends java.lang.Comparable<? super E>> |
PopularityList.create(EventList<E> source)
Creates a new
PopularityList that provides frequency-ranking
for the specified EventList . |
static <E extends java.lang.Comparable<? super E>> |
SortedList.create(EventList<E> source)
Creates a
SortedList that sorts the specified EventList . |
static <E extends java.lang.Comparable<? super E>> |
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 <E> UndoRedoSupport |
UndoRedoSupport.install(EventList<E> source)
Installs support for undoing and redoing changes to the given
source . |
static <E> TransformedList<E,E> |
GlazedLists.readOnlyList(EventList<? extends E> source)
Wraps the source in an
EventList 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 of
GlazedLists.replaceAll(EventList,List,boolean) that uses
a Comparator to determine equality rather than
equals() . |
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 target
EventList with the complete
contents of the source Collection 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 specified
EventList to the specified List . |
static <K,V> DisposableMap<K,V> |
GlazedLists.syncEventListToMap(EventList<V> source,
FunctionList.Function<V,K> keyMaker)
Synchronize the specified
EventList to a Map that is returned
from this method. |
static <K extends java.lang.Comparable,V> |
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 <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 specified
EventList to a MultiMap that is
returned from this method. |
static <E> TransformedList<E,E> |
GlazedLists.threadSafeList(EventList<? extends E> source)
Wraps the source in an
EventList that obtains a
ReadWritLock for all
operations. |
static <S,E> TransformedList<S,E> |
GlazedLists.transformByFunction(EventList<S> source,
FunctionList.Function<S,E> function)
Returns a
TransformedList that maps each element of the source list to a target
element by use of a specified FunctionList.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 a
ListEventListener . |
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.
|
Constructor and Description |
---|
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 . |
PluggableList(EventList<E> source)
Constructs a PluggableList which delegates all List methods to the given
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)
|
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 . |
TreeList(EventList<E> source,
TreeList.Format<E> format)
Deprecated.
use the constructor that takes an
TreeList.ExpansionModel |
TreeList(EventList<E> source,
TreeList.Format<E> format,
TreeList.ExpansionModel<E> expansionModel)
Create a new TreeList that adds hierarchy to the specified source list.
|
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 . |
Modifier and Type | Method and Description |
---|---|
static Calculation<java.lang.Integer> |
Calculations.count(EventList elements)
A Calculation that reports the number of
elements as an Integer. |
static <E> Calculation<java.lang.Integer> |
Calculations.count(EventList<E> elements,
Matcher<E> matcher)
A Calculation that reports the number of
elements that satisfy the given matcher as an Integer. |
static <E> Calculation<E> |
Calculations.elementAt(EventList<E> elements,
int index,
E defaultValue)
A Calculation that value at the given
index in the given elements . |
static Calculation<java.lang.Boolean> |
Calculations.manyElements(EventList elements)
A Calculation that reports true when the number of
elements is > 1 ; false otherwise. |
static Calculation<java.lang.Double> |
Calculations.meanDoubles(EventList<? extends java.lang.Number> numbers)
A Calculation that reports the mean average of all the
numbers as a Double. |
static Calculation<java.lang.Float> |
Calculations.meanFloats(EventList<? extends java.lang.Number> numbers)
A Calculation that reports the mean average of all the
numbers as a Float. |
static Calculation<java.lang.Boolean> |
Calculations.oneElement(EventList elements)
A Calculation that reports true when the number of
elements is 1 ; false otherwise. |
static Calculation<java.lang.Boolean> |
Calculations.oneOrMoreElements(EventList elements)
A Calculation that reports true when the number of
elements is > 0 ; false otherwise. |
static Calculation<java.lang.Double> |
Calculations.sumDoubles(EventList<? extends java.lang.Number> numbers)
A Calculation that sums the given
numbers as a Double. |
static Calculation<java.lang.Float> |
Calculations.sumFloats(EventList<? extends java.lang.Number> numbers)
A Calculation that sums the given
numbers as a Float. |
static Calculation<java.lang.Integer> |
Calculations.sumIntegers(EventList<? extends java.lang.Number> numbers)
A Calculation that sums the given
numbers as an Integer. |
static Calculation<java.lang.Long> |
Calculations.sumLongs(EventList<? extends java.lang.Number> numbers)
A Calculation that sums the given
numbers as a Long. |
static Calculation<java.lang.Boolean> |
Calculations.zeroElements(EventList elements)
A Calculation that reports true when the number of
elements is 0 ; false otherwise. |
Constructor and Description |
---|
AbstractEventListCalculation(N initialValue,
EventList<E> source) |
Modifier and Type | Field and Description |
---|---|
protected EventList<E> |
ListEvent.sourceList
the list that has changed
|
protected EventList<E> |
ListEventAssembler.sourceList
the list that this tracks changes for
|
Modifier and Type | Method and Description |
---|---|
EventList<E> |
ListEvent.getSourceList()
Gets the List where this event originally occured.
|
Modifier and Type | Method and Description |
---|---|
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 |
Constructor and Description |
---|
ListEventAssembler(EventList<E> sourceList,
ListEventPublisher publisher)
Creates a new ListEventAssembler that tracks changes for the specified list.
|
Modifier and Type | Class and Description |
---|---|
class |
PersistentEventList
A Hibernate persistent wrapper for an
EventList . |
Modifier and Type | Method and Description |
---|---|
EventList |
CategoryEventListFactory.createEventList()
Creates a new EventList.
|
EventList |
EventListFactory.createEventList()
Creates a new EventList.
|
EventList |
CategoryEventListFactory.createEventList(int initalCapacity)
Create a new EventList with an initial capacity.
|
EventList |
EventListFactory.createEventList(int initalCapacity)
Create a new EventList with an initial capacity.
|
Constructor and Description |
---|
PersistentEventList(SessionImplementor session,
EventList newList)
Constructor with session and EventList.
|
Modifier and Type | Class and Description |
---|---|
class |
CachingList
|
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. |
Modifier and Type | Method and Description |
---|---|
<E> NetworkList<E> |
ListPeer.publish(EventList<E> source,
java.lang.String path,
ByteCoder byteCoder)
Publish the specified EventList with the specified name.
|
Constructor and Description |
---|
CachingList(EventList source,
int maxSize)
Creates a
CachingList that caches elements from the specified source
EventList . |
Modifier and Type | Field and Description |
---|---|
protected EventList<C> |
SimpleEventCategoryDataset.columnKeys
An ordered list of keys identifying the chart's columns.
|
protected EventList<R> |
SimpleEventCategoryDataset.rowKeys
An ordered list of keys identifying the chart's rows.
|
Modifier and Type | Method and Description |
---|---|
EventList<C> |
SimpleEventCategoryDataset.Context.getColumnKeys() |
EventList<R> |
SimpleEventCategoryDataset.Context.getRowKeys() |
Constructor and Description |
---|
EventListCategoryDataset(EventList<ValueSegment<C,R>> source)
Constructs an implementation of
CategoryDataset which presents
the data contained in the given source . |
EventListPieDataset(EventList<E> source,
java.util.Comparator<E> groupingComparator,
FunctionList.Function<java.util.List<E>,java.lang.Comparable<K>> keyFunction,
FunctionList.Function<java.util.List<E>,java.lang.Number> valueFunction)
Adapts the given
source to the PieDataset interface by
applying the groupingComparator to forms groups to be
represented in the pie chart. |
EventListPieDataset(EventList<E> source,
FunctionList.Function<E,java.lang.Comparable<K>> keyFunction,
FunctionList.Function<E,java.lang.Number> valueFunction)
Adapts the given
source to the PieDataset interface. |
SimpleEventCategoryDataset.Context(EventList<R> rowKeys,
EventList<C> columnKeys) |
SimpleEventCategoryDataset.Context(EventList<R> rowKeys,
EventList<C> columnKeys) |
SimpleEventCategoryDataset(EventList<R> rowKeys,
EventList<C> columnKeys,
FunctionList.Function<SimpleEventCategoryDataset.Context<R,C>,java.lang.Number> valueMaker)
The given
rowKeys and columnKeys represent the
ordered lists of row and column keys presented by this
CategoryDataset . |
SimpleEventCategoryDataset(EventList<R> rowKeys,
EventList<C> columnKeys,
FunctionList.Function<SimpleEventCategoryDataset.Context<R,C>,java.lang.Number> valueMaker)
The given
rowKeys and columnKeys represent the
ordered lists of row and column keys presented by this
CategoryDataset . |
Modifier and Type | Method and Description |
---|---|
EventList<MatcherEditor<E>> |
CompositeMatcherEditor.getMatcherEditors()
|
Constructor and Description |
---|
CompositeMatcherEditor(EventList<MatcherEditor<E>> matcherEditors)
Create a
CompositeMatcherEditor that creates Matchers from the union
of the specified EventList of MatcherEditor s. |
Modifier and Type | Field and Description |
---|---|
protected EventList<E> |
DefaultEventListModel.source
the source EventList
|
protected EventList<E> |
DefaultEventTableModel.source
the source of data for this TableModel, which may or may not be
#swingThreadSource |
Modifier and Type | Method and Description |
---|---|
EventList<E> |
AdvancedListSelectionModel.getDeselected()
Gets an
EventList that contains only deselected values and
modifies the source list on mutation. |
EventList<E> |
EventSelectionModel.getDeselected()
Deprecated.
Gets an
EventList that contains only deselected values and
modifies the source list on mutation. |
EventList<E> |
DefaultEventSelectionModel.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> |
AdvancedListSelectionModel.getSelected()
Gets an
EventList that contains only selected
values and modifies the source list on mutation. |
EventList<E> |
EventSelectionModel.getSelected()
Deprecated.
Gets an
EventList that contains only selected
values and modifies the source list on mutation. |
EventList<E> |
DefaultEventSelectionModel.getSelected()
Gets an
EventList that contains only selected
values and modifies the source list on mutation. |
EventList<E> |
AdvancedListSelectionModel.getTogglingDeselected()
Gets an
EventList that contains only deselected values and
modifies the selection state on mutation. |
EventList<E> |
EventSelectionModel.getTogglingDeselected()
Deprecated.
Gets an
EventList that contains only deselected values and
modifies the selection state on mutation. |
EventList<E> |
DefaultEventSelectionModel.getTogglingDeselected()
Gets an
EventList that contains only deselected values and
modifies the selection state on mutation. |
EventList<E> |
AdvancedListSelectionModel.getTogglingSelected()
Gets an
EventList that contains only selected
values and modifies the selection state on mutation. |
EventList<E> |
EventSelectionModel.getTogglingSelected()
Deprecated.
Gets an
EventList that contains only selected
values and modifies the selection state on mutation. |
EventList<E> |
DefaultEventSelectionModel.getTogglingSelected()
Gets an
EventList that contains only selected
values and modifies the selection state on mutation. |
Modifier and Type | Method and 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(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 <E> AutoCompleteSupport.AutoCompleteCellEditor<E> |
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 <E> AutoCompleteSupport.AutoCompleteCellEditor<E> |
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 <E> DefaultEventComboBoxModel<E> |
GlazedListsSwing.eventComboBoxModel(EventList<E> source)
Creates a new combobox model that contains all objects located in the given
source and reacts to any changes in the given source . |
static <E> DefaultEventComboBoxModel<E> |
GlazedListsSwing.eventComboBoxModelWithThreadProxyList(EventList<E> source)
Creates a new combobox model that contains all objects located in the given
source and reacts to any changes in the given source . |
static <E> DefaultEventListModel<E> |
GlazedListsSwing.eventListModel(EventList<E> source)
Creates a new list model that contains all objects located in the given
source and reacts to any changes in the given source . |
static <E> DefaultEventListModel<E> |
GlazedListsSwing.eventListModelWithThreadProxyList(EventList<E> source)
Creates a new list model that contains all objects located in the given
source and reacts to any changes in the given source . |
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,
java.lang.String[] propertyNames,
java.lang.String[] columnLabels,
boolean[] writable)
Creates a new table model that renders the specified list with an automatically
generated
TableFormat . |
static <E> AdvancedTableModel<E> |
GlazedListsSwing.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 . |
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
generated
TableFormat . |
static <E> AdvancedTableModel<E> |
GlazedListsSwing.eventTableModelWithThreadProxyList(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 . |
static <E> AutoCompleteSupport<E> |
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 <E> AutoCompleteSupport<E> |
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 <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 the
comboBox 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 given
source . |
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 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 <E> TransformedList<E,E> |
GlazedListsSwing.swingThreadProxyList(EventList<E> source)
Wraps the source in an
EventList that fires all of its update
events from the Swing event dispatch thread. |
Constructor and Description |
---|
DefaultEventComboBoxModel(EventList<E> source)
Creates a new combo box model that contains the elements of the given
source 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 given
source and tracks further changes made to it. |
DefaultEventListModel(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 . |
DefaultEventListModel(EventList<E> source,
boolean disposeSource)
Creates a new model that contains all objects located in the given
source and reacts to any changes in the given
source . |
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 given
source using the the given tableFormat . |
DefaultEventTableModel(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 . |
EventComboBoxModel(EventList<E> source)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Use
GlazedListsSwing#createEventTableModel(EventList, String[], String[], boolean[])
and GlazedListsSwing.swingThreadProxyList(EventList) instead |
EventTableModel(EventList<E> source,
TableFormat<? super E> tableFormat)
Deprecated.
|
JEventListPanel(EventList<E> source,
JEventListPanel.Format<E> format)
|
Modifier and Type | Field and Description |
---|---|
protected EventList<E> |
DefaultEventListViewer.source
the proxy moves events to the SWT user interface thread
|
protected EventList<E> |
DefaultEventTableViewer.source
the actual EventList to which this EventTableViewer is listening
|
protected EventList<E> |
DefaultEventComboViewer.source
the EventList to respond to
|
protected EventList<E> |
EventTableViewer.swtThreadSource
Deprecated.
the ThreadProxyEventList to which this EventTableViewer is listening
|
Modifier and Type | Method and Description |
---|---|
EventList<E> |
DefaultEventListViewer.getDeselected()
Provides access to an
EventList that contains items from the
viewed Table that are not currently selected. |
EventList<E> |
DefaultEventTableViewer.getDeselected()
Provides access to an
EventList that contains items from the
viewed Table that are not currently selected. |
EventList<E> |
DefaultEventListViewer.getSelected()
Provides access to an
EventList that contains items from the
viewed Table that are currently selected. |
EventList<E> |
DefaultEventTableViewer.getSelected()
Provides access to an
EventList that contains items from the
viewed Table that are currently selected. |
EventList<E> |
DefaultEventTableViewer.getSourceList()
Get the source of this
DefaultEventTableViewer . |
EventList<E> |
DefaultEventListViewer.getTogglingDeselected()
Gets an
EventList that contains only deselected values and
modifies the selection state on mutation. |
EventList<E> |
DefaultEventTableViewer.getTogglingDeselected()
Gets an
EventList that contains only deselected values and
modifies the selection state on mutation. |
EventList<E> |
DefaultEventListViewer.getTogglingSelected()
Gets an
EventList that contains only selected
values and modifies the selection state on mutation. |
EventList<E> |
DefaultEventTableViewer.getTogglingSelected()
Gets an
EventList that contains only selected
values and modifies the selection state on mutation. |
Modifier and Type | Method and Description |
---|---|
static <E> DefaultEventComboViewer<E> |
GlazedListsSWT.eventComboViewer(EventList<E> source,
Combo combo)
Binds the contents of a
Combo component to an EventList
source. |
static <E> DefaultEventComboViewer<E> |
GlazedListsSWT.eventComboViewer(EventList<E> source,
Combo combo,
ItemFormat<? super E> itemFormat)
Binds the contents of a
Combo component to an EventList
source. |
static <E> DefaultEventComboViewer<E> |
GlazedListsSWT.eventComboViewerWithThreadProxyList(EventList<E> source,
Combo combo)
Binds the contents of a
Combo component to an EventList
source. |
static <E> DefaultEventComboViewer<E> |
GlazedListsSWT.eventComboViewerWithThreadProxyList(EventList<E> source,
Combo combo,
ItemFormat<? super E> itemFormat)
Binds the contents of a
Combo component to an EventList
source. |
static <E> DefaultEventListViewer<E> |
GlazedListsSWT.eventListViewer(EventList<E> source,
List list)
Creates a new List that displays and responds to changes in the source list.
|
static <E> DefaultEventListViewer<E> |
GlazedListsSWT.eventListViewer(EventList<E> source,
List list,
ItemFormat<? super E> itemFormat)
Creates a new List that displays and responds to changes in the source list.
|
static <E> DefaultEventListViewer<E> |
GlazedListsSWT.eventListViewerWithThreadProxyList(EventList<E> source,
List list)
Creates a new List that displays and responds to changes in the source list.
|
static <E> DefaultEventListViewer<E> |
GlazedListsSWT.eventListViewerWithThreadProxyList(EventList<E> source,
List list,
ItemFormat<? super E> itemFormat)
Creates a new List that displays and responds to changes in the source list.
|
static <E> DefaultEventTableViewer<E> |
GlazedListsSWT.eventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
static <E> DefaultEventTableViewer<E> |
GlazedListsSWT.eventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat,
TableItemConfigurer<? super E> tableItemConfigurer)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
static <E> DefaultEventTableViewer<E> |
GlazedListsSWT.eventTableViewerWithThreadProxyList(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
static <E> DefaultEventTableViewer<E> |
GlazedListsSWT.eventTableViewerWithThreadProxyList(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat,
TableItemConfigurer<? super E> tableItemConfigurer)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
static boolean |
GlazedListsSWT.isSWTThreadProxyList(EventList list)
Returns true if
list is an EventList that fires
all of its update events from the SWT event dispatch thread. |
static <E> TransformedList<E,E> |
GlazedListsSWT.swtThreadProxyList(EventList<E> source,
Display display)
Wraps the source in an
EventList that fires all of its update events
from the SWT user interface thread. |
Constructor and Description |
---|
DefaultEventComboViewer(EventList<E> source,
Combo combo)
Binds the contents of a
Combo component to an EventList
source. |
DefaultEventComboViewer(EventList<E> source,
Combo combo,
ItemFormat<? super E> itemFormat)
Binds the contents of a
Combo component to an EventList
source. |
DefaultEventComboViewer(EventList<E> source,
Combo combo,
ItemFormat<? super E> itemFormat,
boolean disposeSource)
Binds the contents of a
Combo component to an EventList
source. |
DefaultEventListViewer(EventList<E> source,
List list)
Creates a new List that displays and responds to changes in the source list.
|
DefaultEventListViewer(EventList<E> source,
List list,
ItemFormat<? super E> itemFormat)
Creates a new List that displays and responds to changes in the source list.
|
DefaultEventListViewer(EventList<E> source,
List list,
ItemFormat<? super E> itemFormat,
boolean disposeSource)
Creates a new List that displays and responds to changes in the source list.
|
DefaultEventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
DefaultEventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat,
TableItemConfigurer<? super E> tableItemConfigurer)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
DefaultEventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat,
TableItemConfigurer<? super E> tableItemConfigurer,
boolean disposeSource)
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
EventComboViewer(EventList<E> source,
Combo combo)
Deprecated.
Binds the contents of a
Combo component to an EventList
source. |
EventComboViewer(EventList<E> source,
Combo combo,
ItemFormat<? super E> itemFormat)
Deprecated.
Binds the contents of a
Combo component to an EventList
source. |
EventListViewer(EventList<E> source,
List list)
Deprecated.
Creates a new List that displays and responds to changes in the source list.
|
EventListViewer(EventList<E> source,
List list,
ItemFormat<? super E> itemFormat)
Deprecated.
Creates a new List that displays and responds to changes in the source list.
|
EventTableViewer(EventList<E> source,
Table table,
java.lang.String[] propertyNames,
java.lang.String[] columnLabels)
Deprecated.
use a combination of
GlazedLists.tableFormat(String[], String[]) and
EventTableViewer.EventTableViewer(EventList, Table, TableFormat)
instead |
EventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat)
Deprecated.
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
EventTableViewer(EventList<E> source,
Table table,
TableFormat<? super E> tableFormat,
TableItemConfigurer<? super E> tableItemConfigurer)
Deprecated.
Creates a new viewer for the given
Table that updates the table
contents in response to changes on the specified EventList . |
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2013-08-03 17:35