A convenience class that implements common functionality for all
EventList
s.
A TableComparatorChooser is a tool that allows the user to sort a table
widget by clicking on the table's headers.
Appends the specified element to the end of this list (optional
operation).
Inserts the specified element at the specified position in this list
(optional operation).
This version of add will distribute all elements within the given
value
List into groups.
Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the specified
collection's iterator (optional operation).
Inserts all of the elements in the specified collection into this
list at the specified position (optional operation).
Convenience method for appending a single change of the specified type.
Adds a block of changes to the set of list changes.
Convenience method for appending a single delete.
Convenience method for appending a range of deletes.
Convenience method for appending a single insert.
Convenience method for appending a range of inserts.
Registers the specified ListDataListener to receive updates whenever
this list changes.
Registers the specified listener to receive change updates for this list.
Registers the specified listener to be notified whenever new changes
are appended to this list change sequence.
Add a listener to the list that's notified each time a change to
the selection occurs.
Add a listener to be notified when this editor's
Matcher
changes.
Change the selection to be the set union of the current selection and the indices between index0 and index1 inclusive
Register a
Listener
that will be notified when selection is changed.
Registers the specified
ActionListener
to receive notification whenever
the
JTable
is sorted by this
TableComparatorChooser
.
Registers the specified listener to receive events about the status of this
NetworkList
.
Convenience method for appending a single update.
Convenience method for appending a range of updates.
Add a matcher which decides when source elements are valid for selection.
Add a matcher which decides when source elements are valid for selection.
Adjust the range of the
RangeList
in response to changes in the
source list or the desired start and end indices.
An AdvancedFunction is an extension of the simple Function interface
which provides more hooks in the lifecycle of the transformation of a
source element.
Allows the ability to specify column class information in addition to the standard
TableFormat
information.
This method is currently a no-op and exists for parity.
This method is currently a no-op and exists for parity.
whether to allow nested events
This extension of DefaultCellEditor exists solely to provide a handle to
the AutoCompleteSupport object that is providing autocompletion
capabilities to the JComboBox.
Construct a TableCellEditor using the JComboBox supplied by the
given autoCompleteSupport
.
This class AutoCompleteSupport
s support for filtering and autocompletion into
a standard JComboBox
.
Installs support for autocompletion into the comboBox
and
returns the support object that is actually providing those facilities.
Installs support for autocompletion into the comboBox
and
returns the support object that is actually providing those facilities.
Installs support for autocompletion into the comboBox
and
returns the support object that is actually providing those facilities.
Sorting mode where elements aren't moved when their value is changed,
even if this means they are no longer in perfect sorted order.
Returns true if this edit may be redone.
Returns true if this edit may be undone.
Creates a Comparator
that compares String
objects in
a case-insensitive way.
Indicates the associated Matcher is a complete change from the previous
Matcher.
Indicates a changes has occurred in the Matcher produced by the
MatcherEditor.
Specifies how to check table elements.
Return the index of the last child in the CollectionList for the given
parent index.
Return the index of the first child in the CollectionList for the given
parent index.
Removes all of the elements from this list (optional operation).
Clear all sorting state and set the
SortedList
to use its
natural order.
Detach the subject from its related listener.
Detach the listener from its related subject.
Change the selection to the empty set.
Closes this FileList so that it consumes no disc resources.
This method implements the strategy for coalescing many queued
MatcherEvents into a single representative MatcherEvent.
Add all elements from the given collection
that satisfy the
matcher
to a new ArrayList
.
Add all elements from the given collection
that satisfy the
matcher
to the given results
Collection.
A list that acts like a tree in that it contains child elements to nodes
contained in another list.
Commits the current atomic change to this list change queue.
Demarks the successful completion of a transaction.
Creates a Comparator
that uses Reflection to compare two instances
of the specified Class
by the given JavaBean property.
Creates a Comparator
that uses Reflection to compare two
instances of the specified Class
by the given JavaBean
properties.
Creates a chain of Comparator
s that applies the provided
Comparator
s in the sequence specified until differences or
absolute equality is determined.
Creates a chain of Comparator
s that applies the provided
Comparator
s in the sequence specified until differences or
absolute equality is determined.
Creates a reverse Comparator
that inverts the given Comparator
.
An interface defining the methods required for registering and
unregistering change listeners on list elements within an
ObservableElementList
.
Indicates the associated Matcher is a constrained version of the
previous Matcher, implying it can be expected to match at most the same
values matched by the previous Matcher, and possibly fewer.
Matching mode where items are considered a match if at least one of the
filter strings extracted from an object contains one of the given search
strings.
Returns true if this list contains the specified element.
Returns true if this list contains all of the elements of the
specified collection.
Creates a Comparator
that can compare list elements
given a Comparator
that can compare column values for the specified
column.
Creates a new default list selection model.
Decorates and returns the given delegateRenderer
with
functionality that attempts to install a sorting icon into the Component
returned by the delegateRenderer
.
Returns the object which models the current sorting state of all columns
in the table.
This method exists as a hook for subclasses that may have custom
threading needs within their EventTableModels.
the current Matcher in effect
DebugList is meant to be used as a drop-in replacement for
BasicEventList
at the root of pipelines of
EventList
s during
development.
Constructs a DebugList which, by default, performs no debugging.
Decode the Object from the specified InputStream
.
The Lock factory for this JVM.
different types of changes
Deselects the element at the given index.
Deselects all of the elements within the given range.
Deselects all of the elements in the given array of indices.
Discards the current atomic change to this list change queue.
Called each time a
NetworkList
's connection status changes.
A special kind of Map backed by an EventList that is expected to live longer
than this Map.
This method does nothing.
Releases the resources consumed by this
DisposableMap
so that it
may eventually be garbage collected.
Disposing an EventList will make it eligible for garbage collection.
Releases the resources consumed by this
EventListModel
so that it
may eventually be garbage collected.
Releases the resources consumed by this
EventSelectionModel
so that it
may eventually be garbage collected.
Releases the resources consumed by this
EventTableColumnModel
so that it
may eventually be garbage collected.
Releases the resources consumed by this
EventTableModel
so that it
may eventually be garbage collected.
Disposes of this ListSelection freeing up it's resources for
garbage collection.
Releases the resources consumed by this
TransformedList
so that
it may eventually be garbage collected.
A cleanup method which stops this MatcherEditor from listening to
the underlying JTextField
, thus freeing the
SearchEngineTextMatcherEditor to be garbage collected.
Releases the resources consumed by this
TableComparatorChooser
so that it
may eventually be garbage collected.
A cleanup method which stops this MatcherEditor from listening to
changes on the underlying Document
, thus freeing the
MatcherEditor or Document to be garbage collected.
Releases the resources consumed by this
TransformedList
so that it
may eventually be garbage collected.
Perform any necessary resource cleanup on the given
sourceValue
and transformedValue
as they
are removed from the FunctionList such as installed listeners.
Return a new array containing only the items
that satisfy
the matcher
.
Provides an easy interface to undo/redo a ListEvent in its entirety.
Handle a listener being notified for the specified listElement
.
Add to the current ListEvent the removal of the element at the specified
index, with the specified previous value.
Add to the current ListEvent the insert of the element at
the specified index, with the specified previous value.
Add to the current ListEvent the update of the element at the specified
index, with the specified previous value.
Encode the specified Object over the specified OutputStream
.
Compares the specified object with this list for equality.
Transform the given sourceValue
into any kind of Object.
Returns an integer value for an Object
to be used to
compare that object against a threshold.
A combo box model for displaying Glazed Lists in a combo box.
Creates a new combo box model that contains the elements of the given
source
and tracks further changes made to it.
Adapt any observer-style interface to a common format.
the event level is the number of nested events
Creates a new
EventList
which contains the contents of the specified
Collection
.
Creates a new
EventList
which contains the given elements.
An EventListModel adapts an EventList to the ListModel interface making it
appropriate for use with a JList
.
Creates a new model that contains all objects located in the given
source
and reacts to any changes in the given
source
.
Creates a new selection model that also presents a list of the selection.
Creates a new model that contains the TableColumn
objects from
the given source
.
Creates a new table model that extracts column data from the given
source
using the the given tableFormat
.
Creates a new table that renders the specified list with an automatically
generated
TableFormat
.
Matching mode where items are considered a match if they are an exact
character for character match with at least one of the filter strings.
This method executes the given runnable
on a Thread.
Creates a
Matcher
that matches
Comparable
objects for
containment within the range between the given
start
and
end
.
Creates a
Matcher
that uses the given
filterator
to extract
Comparable
objects from filtered objects and compares
those Comparables against the range between the given
start
and
end
.
Synchronize the specified
EventList
to a MultiMap that is
returned from this method.
Creates a
GroupingList
that determines groupings via the
Comparable
interface which all elements of the
source
are assumed to implement.
Creates a
UniqueList
that determines uniqueness via the
Comparable
interface.
Creates a Comparator
that compares Comparable
objects.
Creates a reverse Comparator
that works for Comparable
objects.
Create a new Connector for the
ObservableElementList
that works
with subclasses of the archaic
Observable
base class.
Returns the element at the specified position in this list.
Returns a List of all original elements represented by the given
value
within this
UniqueList
.
Returns a List of all original elements represented by the value at the
given
index
within this
UniqueList
.
Return the first index argument from the most recent call to setSelectionInterval(), addSelectionInterval() or removeSelectionInterval().
Return the anchor of the current selection.
Returns the AutoCompleteSupport object that controls the
autocompletion behaviour for the JComboBox.
Returns true if a beep sound is played when the user attempts
to violate the strict invariant; false if no beep sound is
played.
Gets the last row of the current block of changes.
Gets the number of blocks currently remaining in this atomic change.
Gets the first row of the current block of changes.
Gets the ratio of cache hits to cache misses.
Gets the total number of times that this list has fetched its result
from the cache rather than from the source list.
Gets the total number of times that this list has fetched its result
from the source list rather than the cache.
Gets whether the specified object is checked.
Return a list of the child nodes for a parent node.
Returns the most specific superclass for all the cell values in the column.
Gets the class of elements in the specified column.
Returns the default Comparator
to use for the specified column.
Gets the index comparator in use for the specified column.
Get the column count as specified by the table format.
The number of columns to display.
Fetch the name for the specified column.
Gets the title of the specified column.
Gets the value of the specified field for the specified object.
Gets the list of comparators for the specified column.
Returns true if user specified strings are converted to the
case of the autocompletion term they match; false otherwise.
Returns the number of duplicates of the specified value.
Returns the number of duplicates of the value found at the specified index.
Return the current Matcher if it is a TextMatcher
or
null
if no current Matcher exists or is something other
than a TextMatcher
.
Gets an
EventList
that contains only deselected values and
modifies the source list on mutation.
Gets an
EventList
that contains only deselected values add
modifies the source list on mutation.
Retrieves the value at the specified location from the table.
Retrieves the value at the specified location from the table.
Returns whether the EventSelectionModel is editable or not.
Gets the event list that always contains the current selection.
Get the filterator used to extract Comparables from the matched elements.
Returns the manner in which the contents of the ComboBoxModel
are filtered.
Gets this object as a list of Strings.
Gets the specified object as a list of Strings.
Extracts the list of filterable values from a given element
.
Returns the optional single value used as the first element in the
ComboBoxModel
or null if no first item has been set.
Get the List
of all elements in this group.
Returns true if the popup menu is hidden whenever the combo
box editor loses focus; false otherwise.
Queries the number of holds on this write lock by the current
thread.
Gets the current row index.
Returns the filtered
EventList
of items which backs the
ComboBoxModel
of the autocompleting
JComboBox
.
Return the second index argument from the most recent call to setSelectionInterval(), addSelectionInterval() or removeSelectionInterval().
Return the lead of the current selection.
Get the maximum number of elements in this group to show.
Gets the selection model that provides selection management for a table.
Gets the lower threshold for this list
Returns the current Matcher specified by the source
MatcherEditor
.
Get the
MatcherEditor
that originated this event, or null
if this event originated directly from a
FilterList
in a call
to
FilterList.setMatcher(Matcher)
.
Gets the index of the last selected element.
Returns the last selected index or -1 if nothing is selected.
Gets the index of the first selected element.
Returns the first selected index or -1 if nothing is selected.
Returns the text to be located which uniquely identifies this Field.
Gets the current value for an inserted or updated element.
Returns the next value in the sequence defined by this list or
value
itself if it is a sequence value.
Gets the previous value for a deleted or updated element.
Returns the thread that currently owns the write lock, or
null
if not owned.
Returns the previous value in the sequence defined by this list or
value
itself if it is a sequence value.
Get the publisher used to distribute
ListEvent
s.
Returns an estimate of the number of threads waiting to acquire
either the read or write lock.
Queries the number of reentrant read holds on this lock by the
current thread.
Queries the number of read locks held for this lock.
Gets the lock required to share this list between multiple threads.
Gets the reorder map of this list.
The number of rows equals the number of entries in the source event list.
Returns the Set
of Threads that are allowed to perform reads on
this DebugList.
Returns the Set
of Threads that are allowed to perform writes on
this DebugList.
Gets an
EventList
that contains only selected
values and modifies the source list on mutation.
Gets an
EventList
that contains only selected values and modifies
the source list on mutation.
Gets the currently selected item.
Returns the current selection mode.
Returns the current selection mode.
Returns true if the combo box editor text is selected when it
gains focus; false otherwise.
Gets the size of the list.
Get the columns that the TableComparatorChooser is sorting by.
Gets the sorting style currently applied to the specified column.
Gets the sorting style currently applied to the specified column.
Get the
EventList
that selection is being managed for.
Gets the index in the source
EventList
that corresponds to the
specified index.
Gets the List where this event originally occured.
Returns the manner in which the contents of the ComboBoxModel
are
filtered and autocompletion terms are matched.
Gets an
EventList
that contains only deselected values and
modifies the selection state on mutation.
Gets an
EventList
that contains only deselected values and
modifies the selection state on mutation.
Gets an
EventList
that contains only selected
values and modifies the selection state on mutation.
Gets an
EventList
that contains only selected values and modifies
the selection state on mutation.
Gets the type of the current change, which should be one of
ListEvent.INSERT, UPDATE, or DELETE.
Gets the upper threshold for this list
Retrieves the value at the specified location of the table.
Returns true if the value is undergoing a series of changes.
Queries the number of reentrant write holds on this lock by the
current thread.
A factory for creating all sorts of objects to be used with Glazed Lists.
A factory for creating all sorts of objects to be used with Glazed Lists.
A factory for creating all sorts of objects to be used with Glazed Lists.
A grouping list contains elements which are themselves Lists.
Creates a
GroupingList
that determines groupings via the
Comparable
interface which all elements of the
source
are assumed to implement.
Creates a
GroupingList
that determines groups using the specified
Comparator
.
Character comparison strategy that assumes all characters can be
compared directly as though they are ASCII.
Returns the index in this list of the first occurrence of the specified
element, or -1 if this list does not contain this element.
Returns the index in this list of the first occurrence of the specified
element
, or -1 if this list does not contain this
element
.
Return the index of the group to which the groupElement
would belong if it were hypothetically added to the source list.
Returns the index in this list of the first occurrence of the specified
element, or the index where that element would be in the list if it were
inserted.
Insert length indices beginning before/after index.
Start listening for events from the specified element
.
Iterate through the specified collection and count all elements
that match the specified matcher.
Returns the index of the first element from the given list
that satisfies the matcher
or -1 if no such
element exists.
Inverts the current selection.
Inverts the current selection.
Delegates the question of whether the cell is editable or not to the
backing TableFormat if it is a
WritableTableFormat
.
Gets whether the comparator in use for the specified column is reverse.
Returns true if this resource is on the network.
Returns true if the current matcher will match everything.
Returns true if the current matcher will match nothing.
Returns true if this list contains no elements.
Returns true if the current atomic change to this list change
queue is empty; false otherwise.
Returns true
if this lock has fairness set true.
Queries if this write lock is held by the current thread.
Returns
true if this autocomplete support instance is currently
installed and altering the behaviour of the combo box;
false if
it has been
uninstall()
ed.
Whether filtering occurs by the keystroke or not.
Returns true if DebugList is currently checking the calling
Thread for lock ownership before each read and write operation.
Tests if this change is a complete reordering of the list.
Returns whether or not the item with the given source index
is selected.
Returns true if the specified index is selected.
Returns true if no indices are selected.
Whether the listener is still valid.
Returns true if the user is able to specify values which do not
appear in the popup list of suggestions; false otherwise.
Returns true iff
list
is an
EventList
that fires
all of its update events from the Swing event dispatch thread.
Gets whether the source
EventList
is writable via this API.
Queries if the write lock is held by any thread.
Queries if the write lock is held by the current thread.
Returns an iterator over the elements in this list in proper sequence.
Returns the index in this list of the last occurrence of the specified
element, or -1 if this list does not contain this element.
Returns the last index of the object
's sort location or
the last index at which the object
could be positioned if
inserted.
For implementing the ListEventListener interface.
For implementing the ListEventListener interface.
When the underlying list changes, this notification allows the
object to repaint itself or update itself as necessary.
Handle changes to the source list by adjusting our selection state and
the contents of the selected and deselected lists.
Simply forwards all of the listChanges
since TransactionList
doesn't transform the source data in any way.
Handle changes in the parent list.
recycle the list data event to prevent unnecessary object creation
A generic interface to respond to changes in selection that doesn't
require including a particular GUI toolkit.
A MatcherEditor.Listener handles changes fired by a
MatcherEditor
.
A ListEvent models a change to a list.
Models a continuous stream of changes on a list.
Creates a new ListEventAssembler that tracks changes for the specified list.
Listens and responds to changes in a dynamic list of objects.
Synchronize the specified
EventList
to the specified
List
.
Check list elements for type safety after they are added to an EventList
using a
ListEventListener
.
Provides a proxy to another ListEventListener that may go out of scope
without explicitly removing itself from the source list's set of
listeners.
Define a strategy for managing dependencies in the observer pattern.
Returns a list iterator of the elements in this list (in proper
sequence).
Returns a list iterator of the elements in this list (in proper
sequence), starting at the specified position in this list.
Creates a new ListPeer that binds to the specified port.
A class to provide index-based selection features.
Creates a new ListSelection that listens to changes on the given source.
Creates a new ListSelection that listens to changes on the given source
and initializes selection with the given array of indices.
Lock - interface ca.odell.glazedlists.util.concurrent.
Lock A lock is a tool for controlling access to a shared resource by multiple threads.
lock() - method in class ca.odell.glazedlists.util.concurrent.
Lock Acquires the lock.
This factory provides an implementation of
Lock
that is optimized
for the current Java Virtual Machine.
Acquires the read lock unless the current thread is
interrupted.
Acquires the write lock unless the current thread is
interrupted.
Creates a model that manipulates the lower bound of the specified
ThresholdList.
Indicates the associated Matcher will match anything.
Indicates the associated Matcher will match nothing.
Determines which values should be filtered.
Returns a Matcher which returns a match when all of the
given matchers
report a match.
Create a new Matcher which uses reflection to read properties with the
given propertyName
from instances of the given
beanClass
and compare them with the given value
.
Creates a
Matcher
that uses Reflection to compare the expectedValue
of the specified property of an object to the
expectedValue
.
Get a
Matcher
that always returns false, therefore matching nothing..
Get a
Matcher
that returns returns
true iff it is
given a
null
object.
Get a
Matcher
that returns returns
true iff it is
given a
non-null
object.
Returns a Matcher which returns a match when any of the
given matchers
reports a match.
Get a
Matcher
that always returns true, therefore matching everything.
Returns a Matcher which reports a match when the given object to match
is not null and reports on of the given classes
as its type.
Provides a proxy to another MatcherEditor that may go out of scope
without explicitly removing itself from the source MatcherEditor's set
of listeners.
A factory for creating Matchers.
Return true if an item matches a filter.
Provides the logic to map a parent object (e.g.
Emulate the sorting behaviour of SUN's TableSorter, by Philip Milne et.
Sort multiple columns without use of the keyboard.
Sort multiple columns without use of the keyboard.
A selection mode where any element may be selected and elements added
adjacent to selected elements are selected.
A selection mode where any element may be selected and freshly added elements
are always deselected.
A MatcherEditor that produces Matchers which match Objects if they lie
within a range of Comparable
s.
Creates a
RangeMatcherEditor
whose Matchers can test only elements which
are
Comparable
objects.
Return the lock used for reading.
Constructor for use by subclasses
the read/write lock provides mutual exclusion to access
A ReadWriteLock maintains a pair of associated locks, one for read-only operations
and one for writing.
Updates the comparator in use and applies it to the table.
Updates the comparator in use and applies it to the table.
Examines the current Comparator
of the SortedList and
adds icons to the table header renderers in response.
Examines the current Comparator
of the SortedList and
adds icons to the table header renderers in response.
Evaluate the sourceValue
again to produce the
corresponding value in the FunctionList.
Creates and applies a new TextMatcher
based on the given input
text.
Matching mode where items are considered a match using a
java.util.regex.Matcher
produced by compiling a regular
expression into java.util.regex.Pattern
.
Indicates the associated Matcher is a relaxed version of the previous
Matcher, implying it can be expected to match at least the same values
matched by the previous Matcher, and possibly more.
Removes the element at the specified position in this list (optional
operation).
Removes the first occurrence in this list of the specified element
(optional operation).
Removes from this list all the elements that are contained in the
specified collection (optional operation).
Removes and returns the optional single value used as the first element
in the ComboBoxModel
or null if no first item has been
set.
Remove the indices in the interval index0,index1 (inclusive) from the selection model.
Deregisters the specified ListDataListener from receiving updates
whenever this list changes.
Removes the specified listener from receiving change updates for this list.
Removes the specified listener from receiving notification when new
changes are appended to this list change sequence.
Remove a listener from the list that's notified each time a change to the selection occurs.
Remove the listener so that it no longer receives notification when the
Matcher
changes.
Change the selection to be the set difference of the current selection and the indices between index0 and index1 inclusive.
Remove a
Listener
so that it will no longer be notified when selection changes.
Deregisters the specified ActionListener
to no longer receive
action events.
Deregisters the specified listener from receiving events about the status of
this
NetworkList
.
Remove a matcher which decides when source elements are valid for selection.
Remove a matcher which decides when source elements are valid for selection.
Sets the current event as a reordering.
the current reordering array if this change is a reorder
Resets this event's position to the previously-marked position.
Retains only the elements in this list that are contained in the
specified collection (optional operation).
Demarks the unsuccessful completion of a transaction.
A MatcherEditor that matches Objects that contain the filter text located
within a JTextField
.
Creates a TextMatcherEditor bound to the given textField
with the given textFilterator
.
A MatcherEditor that matches Objects against search text in a format similiar
to search engines.
Creates a SearchEngineTextMatcherEditor whose Matchers can test only
elements which implement the
TextFilterable
interface.
Creates a SearchEngineTextMatcherEditor with the given
textFilterator
.
Select all of the specified values.
Select the specified element, if it exists.
Selects the element at the given index.
Selects all of the elements within the given range.
Selects all of the elements in the given array of indices.
Notifies this SelectionListener of a change in selection.
A separator heading the elements of a group.
A list that adds separator objects before each group of elements.
Construct a SeparatorList overtop of the source
list by
using the given comparator
to compute groups of similar
source items.
A SequenceList contains values in adjacent indices which occur at predictable
intervals from each other.
Constructs a SequenceList containing a sequence of values produced by
the sequencer
which cover the range of values contained
within the source
.
Constructs a SequenceList containing a sequence of values produced by
the sequencer
which cover the range of values contained
within the source
.
A Sequencer defines the logic required to calculate the previous and
next sequence values given any value.
A factory for creating Sequencers.
Creates a
ByteCoder
that encodes
Serializable
Objects using an
java.io.ObjectOutputStream
.
Replaces the element at the specified position in this list with the
specified element (optional operation).
Set the anchor selection index.
Set the anchor selection index.
Sets the policy for indicating strict-mode violations to the user by way
of a beep sound.
Sets the specified object as checked.
Sets the specified field of the base object to the edited value.
Set the Comparator
used to determine how elements are split
into groups.
Change the Comparator
which determines the groupings presented
by this List
Change the Comparator
which determines the unique elements
of this List.
If correctCase
is true, user specified strings
will be converted to the case of the element they match.
Set the EventSelectionModel as editable or not.
Replaces the current set of search fields.
Set the filterator used to extract Strings from the matched elements.
Sets the manner in which the contents of the ComboBoxModel
are
filtered.
This method set a single optional value to be used as the first element
in the ComboBoxModel
.
Set the range of values displayed by this
RangeList
.
If hidesPopupOnFocusLost
is true, then the popup
menu of the combo box is always hidden whenever the
combo box editor loses focus.
Set the lead selection index.
Set the lead selection index.
Set the maximum number of elements in this group to show.
Toggle between filtering by the keystroke and not.
If lockCheckingEnabled
is true this DebugList will
check the calling Thread for lock ownership before each read and write
operation; false indicates this check shouldn't be performed.
Sets the lower threshold for this list to be the result of calling
evaluate()
on the given object.
Sets the lower threshold for this list.
Set the
Matcher
which specifies which elements shall be filtered.
Set the
MatcherEditor
which provides a dynamic
Matcher
to determine which elements shall be filtered.
Update the operation used to determine what relation list elements should
have to the threshold in order to match (i.e.
Set the range to include the specified indices, the startIndex offset from the
front of the source
EventList
and the endIndex offset from the end
of the source
EventList
.
Modify the behaviour of this
SortedList
to one of the predefined modes.
This method is used to change the range currently matched by this
MatcherEditor.
Set the range of values displayed by this
RangeList
.
Attach the specified subject to the specified listener, so that the
listener's dependencies are satisfied before the subject is notified.
Attach the specified listener to the specified subject, so that when
dependencies are being prepared, notifying the listener will be
considered equivalent to notifying the subject.
Changes the
FunctionList.Function
that evaluates FunctionList elements to
produce the original source element with which it corresponds.
Sets the currently selected item.
Sets the selection to be only the element at the given index.
Sets the selection to be only elements within the given range.
Sets the selection to be only the element in the given array of indices.
Change the selection to be between index0 and index1 inclusive.
If selectsTextOnFocusGain
is true, all text in the
editor is selected when the combo box editor gains focus.
Sets the icon to display in order to indicate sorting direction or
null
if no sorting is taking place.
Modify the character matching strategy of this
TextMatcherEditor
to one of the predefined strategies.
If strict
is false, the user can specify values
not appearing within the ComboBoxModel.
Adjusts the TableFormat this comparator chooser uses when selecting
comparators.
Sets the
TableFormat
that will extract column data from each
element.
Set the range to include the specified indices, offset from the end of
the source
EventList
.
This method replaces the current Matcher in this TextMatcherEditor with
the newMatcher
if it is different.
Sets the manner in which the contents of the ComboBoxModel
are
filtered and autocompletion terms are matched.
Update the threshold used to determine what is matched by the list.
Sets the upper threshold for this list to be the result of calling
evaluate()
on the given object.
Sets the upper threshold for this list.
Attempts to update the object for the given row with the
editedValue
.
This property is true if upcoming changes to the value of the model should be considered a single event.
Reader and Writer requests are maintained in two different
wait sets, by two different objects.
Emulate the sorting behaviour of Windows Explorer and Mac OS X Finder.
A selection mode where at most one range of elements may be selected at one time.
A selection mode where at most one element may be selected at one time.
Returns the number of elements in this list.
A convenience method to get the number of elements in this group.
This interface is intended to be implemented by custom TableCellRenderers
installed on the JTableHeader of a sortable JTable.
the sorted list to choose the comparators for
Creates a
SortedList
that sorts the specified
EventList
using the specified
Comparator
to determine sort order.
Returns the first index of the object
's sort location or
the first index at which the object
could be positioned if
inserted.
manage which columns are sorted and in which order
the event list to transform
the list that has changed
the list that this tracks changes for
Matching mode where items are considered a match if at least one of the
filter strings extracted from an object starts with one of the given search
strings.
Sorting mode where elements are always in sorted order, even if this
requires that elements be moved from one index to another when their
value is changed.
Returns a view of the portion of this list between the specified
fromIndex, inclusive, and toIndex, exclusive.
Subscribe to the EventList with the specified name.
Gets the Comparator
that is being used to sort this list.
Get the filterator used to extract Strings from the matched elements.
Returns the
TextFilterator
that extracts searchable strings from
each item in the
ComboBoxModel
.
Returns the TextFilterator capable of extracting only the fields that
should be considered by SearchTerms using this Field.
the potentially foreign comparator associated with the sorted list
the proxy moves events to the Swing Event Dispatch thread
the proxy moves events to the Swing Event Dispatch thread
Returns an array containing all of the elements in this list in proper
sequence; the runtime type of the returned array is that of the
specified array.
A TableComparatorChooser is a tool that allows the user to sort a ListTable by clicking
on the table's headers.
Creates and installs a TableComparatorChooser.
Creates and installs a TableComparatorChooser.
Creates and installs a TableComparatorChooser.
Installs a new TableComparatorChooser that responds to clicks on the
header of the specified table and uses them to sort the specified
sortedList
by delegating to the given
strategy
If at any time the table should no longer sort, the behaviour can be
removed calling
dispose()
on the object returned by this method.
Installs a new TableComparatorChooser that responds to clicks on the
header of the specified table and uses them to sort the specified
sortedList
by delegating to the given
strategy
If at any time the table should no longer sort, the behaviour can be
removed calling
dispose()
on the object returned by this method.
Specifies how a set of records are rendered in a table.
Creates a
TableFormat
that binds JavaBean properties to
table columns via Reflection.
Creates a
TableFormat
that binds JavaBean properties to
table columns via Reflection.
Creates a
TableFormat
that binds JavaBean properties to
table columns via Reflection.
Creates a
TableFormat
that binds JavaBean properties to
table columns via Reflection.
A MatcherEditor that matches Objects that contain the filter text located
within a Document
.
Creates a TextMatcherEditor bound to the given document
with the given textFilterator
.
Creates a TextMatcherEditor bound to the Document
backing the
given textComponent
with the given
textFilterator
.
Creates a TextMatcherEditor bound to the Document
backing the
given textComponent
with the given
textFilterator
.
An item that can be compared to a list of filters to see if it matches.
An interface through which a list of Strings for a given object
can be extracted for testing whether a filter matches.
Creates a
TextFilterator
that searches against an Object's
toString()
value.
A matcher editor that matches Objects that contain a filter text string.
A MatcherEditor which decorates a source MatcherEditor with functionality.
Creates a ThreadedMatcherEditor which wraps the given source
.
Creates a
ThresholdList
that provides range-filtering based on the
specified
EventList
based on the specified integer JavaBean property.
Creates a
ThresholdList.Evaluator
that uses Reflection to utilize an
integer JavaBean property as the threshold evaluation.
A
MatcherEditor
that filters elements based on whether they are
greater than or less than a threshold.
Construct an instance that will require elements to be greater than the
threshold (which is not initially set) and relies on the threshold
object and elements in the list implementing Comparable
.
Construct an instance that will require elements to be greater than the
given threshold and relies on the threshold object and elements in the
list implementing Comparable
.
Construct an instance that will require elements to be greater than the
given threshold and relies on the threshold object and elements in the
list implementing Comparable
.
Returns an array containing all of the elements in this list in proper
sequence.
Returns a string representation of this collection.
Encode the current sorting state as a String
.
Returns a string identifying this lock, as well as its lock state.
Returns a string identifying this lock, as well as its lock state.
Returns a string identifying this lock, as well as its lock
state.
Gets this event as a String.
A list transformation that presents traditional transaction semantics.
Constructs a TransactionList
that provides traditional
transaction semantics over the given source
.
Wraps the source in an
EventList
that does not allow writing operations.
Wraps the source in an
EventList
that fires all of its update
events from the Swing event dispatch thread.
Acquires the read lock only if the write lock is not held by
another thread at the time of invocation.
Acquires the write lock only if it is not held by another thread
at the time of invocation.
tryLock() - method in class ca.odell.glazedlists.util.concurrent.
Lock Acquires the lock only if it is free at the time of invocation.