Uses of Interface
ca.odell.glazedlists.FunctionList.Function
-
Packages that use FunctionList.Function Package Description ca.odell.glazedlists ca.odell.glazedlists.matchers Implementations and classes useful for creating implementations ofMatcherEditor/Matchersfor use withFilterLists.ca.odell.glazedlists.swing -
-
Uses of FunctionList.Function in ca.odell.glazedlists
Subinterfaces of FunctionList.Function in ca.odell.glazedlists Modifier and Type Interface Description static interfaceFunctionList.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 Modifier and Type Method Description static <E,V>
FunctionList.Function<E,V>GlazedLists. beanFunction(java.lang.Class<E> beanClass, java.lang.String propertyName)Get aFunctionList.Functionthat extracts the property with the givenpropertyNamefrom objects of the givenbeanClass.static <E,V>
FunctionList.Function<E,V>GlazedLists. constantFunction(V value)Get aFunctionList.Functionthat always returns the givenvalue, regardless of its input.FunctionList.Function<S,E>FunctionList. getForwardFunction()Returns theFunctionList.Functionwhich maps source elements to elements stored within thisFunctionList.FunctionList.Function<E,S>FunctionList. getReverseFunction()Returns theFunctionList.Functionwhich maps elements stored within thisFunctionListback to elements within the source list ornullif no suchFunctionList.Functionwas specified.static <E> FunctionList.Function<E,java.lang.String>GlazedLists. toStringFunction(java.lang.Class<E> beanClass, java.lang.String propertyName)Get aFunctionList.Functionthat extracts the property with the givenpropertyNamefrom objects of the givenbeanClassand then formats the return value as a String.Methods in ca.odell.glazedlists with parameters of type FunctionList.Function Modifier and Type Method Description voidFunctionList. setForwardFunction(FunctionList.Function<S,E> forward)Changes theFunctionList.Functionthat evaluates source elements to produce mapped elements.voidFunctionList. setReverseFunction(FunctionList.Function<E,S> reverse)Changes theFunctionList.Functionthat evaluates FunctionList elements to produce the original source element with which it corresponds.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 <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.Constructors in ca.odell.glazedlists with parameters of type FunctionList.Function Constructor Description 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. -
Uses of FunctionList.Function in ca.odell.glazedlists.matchers
Constructors in ca.odell.glazedlists.matchers with parameters of type FunctionList.Function Constructor Description 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 Modifier and Type Method Description 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.
-