|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FunctionList.Function | |
|---|---|
| ca.odell.glazedlists | |
| ca.odell.glazedlists.matchers | Implementations and classes useful for creating implementations of
MatcherEditor/Matchers
for use with FilterLists. |
| ca.odell.glazedlists.swing | |
| Uses of FunctionList.Function in ca.odell.glazedlists |
|---|
| Subinterfaces of FunctionList.Function in ca.odell.glazedlists | |
|---|---|
static interface |
FunctionList.AdvancedFunction<A,B>
An AdvancedFunction is an extension of the simple Function interface which provides more hooks in the lifecycle of the transformation of a source element. |
| Methods in ca.odell.glazedlists that return FunctionList.Function | ||
|---|---|---|
static
|
GlazedLists.beanFunction(java.lang.Class<E> beanClass,
java.lang.String propertyName)
Get a FunctionList.Function that extracts the property with the
given propertyName from objects of the given
beanClass. |
|
static
|
GlazedLists.constantFunction(V value)
Get a FunctionList.Function that always returns the given
value, regardless of its input. |
|
FunctionList.Function<S,E> |
FunctionList.getForwardFunction()
Returns the FunctionList.Function which maps source elements to elements
stored within this FunctionList. |
|
FunctionList.Function<E,S> |
FunctionList.getReverseFunction()
Returns the FunctionList.Function which maps elements stored within this
FunctionList back to elements within the source list or
null if no such FunctionList.Function was specified. |
|
static
|
GlazedLists.toStringFunction(java.lang.Class<E> beanClass,
java.lang.String propertyName)
Get a FunctionList.Function that extracts the property with the
given propertyName from objects of the given
beanClass and then formats the return value as a String. |
|
| Methods in ca.odell.glazedlists with parameters of type FunctionList.Function | ||
|---|---|---|
void |
FunctionList.setForwardFunction(FunctionList.Function<S,E> forward)
Changes the FunctionList.Function that evaluates source elements to produce
mapped elements. |
|
void |
FunctionList.setReverseFunction(FunctionList.Function<E,S> reverse)
Changes the FunctionList.Function that evaluates FunctionList elements to
produce the original source element with which it corresponds. |
|
static
|
GlazedLists.syncEventListToMap(EventList<V> source,
FunctionList.Function<V,K> keyMaker)
Synchronize the specified EventList to a Map that is returned
from this method. |
|
static
|
GlazedLists.syncEventListToMultiMap(EventList<V> source,
FunctionList.Function<V,? extends K> keyMaker)
Synchronize the specified EventList to a MultiMap that is
returned from this method. |
|
static
|
GlazedLists.syncEventListToMultiMap(EventList<V> source,
FunctionList.Function<V,? extends K> keyMaker,
java.util.Comparator<? super K> keyGrouper)
Synchronize the specified EventList to a MultiMap that is
returned from this method. |
|
| Constructors in ca.odell.glazedlists with parameters of type FunctionList.Function | |
|---|---|
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. |
|
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. |
|
| Uses of FunctionList.Function in ca.odell.glazedlists.matchers |
|---|
| Constructors in ca.odell.glazedlists.matchers with parameters of type FunctionList.Function | |
|---|---|
ThresholdMatcherEditor(T threshold,
ca.odell.glazedlists.matchers.ThresholdMatcherEditor.MatchOperation operation,
java.util.Comparator<T> comparator,
FunctionList.Function<E,T> function)
Construct an instance. |
|
| Uses of FunctionList.Function in ca.odell.glazedlists.swing |
|---|
| Methods in ca.odell.glazedlists.swing with parameters of type FunctionList.Function | ||
|---|---|---|
static
|
UndoSupport.install(javax.swing.undo.UndoManager undoManager,
EventList<E> source,
FunctionList.Function<UndoRedoSupport.Edit,javax.swing.undo.UndoableEdit> editAdapter)
Installs support for undoing/redoing edits on the given source. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||