|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Calculation | |
---|---|
ca.odell.glazedlists.calculation | |
ca.odell.glazedlists.jfreechart | |
ca.odell.glazedlists.swing | |
ca.odell.glazedlists.swt |
Uses of Calculation in ca.odell.glazedlists.calculation |
---|
Classes in ca.odell.glazedlists.calculation that implement Calculation | |
---|---|
class |
AbstractCalculation<N>
Eases the burdens of implementing any type of Calculation. |
class |
AbstractCompositeCalculation<N extends Number>
Advanced Calculations can be derived by combining many smaller Calculations together using a formula. |
class |
AbstractEventListCalculation<N,E>
The transition between an EventList and a single calculated value based on information from each element of the EventList happens in subclasses of this class. |
Methods in ca.odell.glazedlists.calculation that return Calculation | ||
---|---|---|
static Calculation<Integer> |
Calculations.count(EventList elements)
A Calculation that reports the number of elements as an Integer. |
|
static
|
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 Calculation<Double> |
Calculations.divideDoubles(Calculation<? extends Number> numerator,
Calculation<? extends Number> denominator)
A Calculation that divides the numerator by the denominator as Doubles. |
|
static Calculation<Float> |
Calculations.divideFloats(Calculation<? extends Number> numerator,
Calculation<? extends Number> denominator)
A Calculation that divides the numerator by the denominator as Floats. |
|
static
|
Calculations.elementAt(EventList<E> elements,
int index,
E defaultValue)
A Calculation that value at the given index in the given elements . |
|
static Calculation<Boolean> |
Calculations.manyElements(EventList elements)
A Calculation that reports true when the number of elements is > 1 ; false otherwise. |
|
static Calculation<Double> |
Calculations.meanDoubles(EventList<? extends Number> numbers)
A Calculation that reports the mean average of all the numbers as a Double. |
|
static Calculation<Float> |
Calculations.meanFloats(EventList<? extends Number> numbers)
A Calculation that reports the mean average of all the numbers as a Float. |
|
static Calculation<Boolean> |
Calculations.oneElement(EventList elements)
A Calculation that reports true when the number of elements is 1 ; false otherwise. |
|
static Calculation<Boolean> |
Calculations.oneOrMoreElements(EventList elements)
A Calculation that reports true when the number of elements is > 0 ; false otherwise. |
|
static Calculation<Double> |
Calculations.subtractDoubles(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Doubles. |
|
static Calculation<Float> |
Calculations.subtractFloats(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Floats. |
|
static Calculation<Integer> |
Calculations.subtractIntegers(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Integers. |
|
static Calculation<Long> |
Calculations.subtractLongs(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Longs. |
|
static Calculation<Double> |
Calculations.sumDoubles(EventList<? extends Number> numbers)
A Calculation that sums the given numbers as a Double. |
|
static Calculation<Float> |
Calculations.sumFloats(EventList<? extends Number> numbers)
A Calculation that sums the given numbers as a Float. |
|
static Calculation<Integer> |
Calculations.sumIntegers(EventList<? extends Number> numbers)
A Calculation that sums the given numbers as an Integer. |
|
static Calculation<Long> |
Calculations.sumLongs(EventList<? extends Number> numbers)
A Calculation that sums the given numbers as a Long. |
|
static Calculation<Boolean> |
Calculations.zeroElements(EventList elements)
A Calculation that reports true when the number of elements is 0 ; false otherwise. |
Methods in ca.odell.glazedlists.calculation with parameters of type Calculation | |
---|---|
static Calculation<Double> |
Calculations.divideDoubles(Calculation<? extends Number> numerator,
Calculation<? extends Number> denominator)
A Calculation that divides the numerator by the denominator as Doubles. |
static Calculation<Double> |
Calculations.divideDoubles(Calculation<? extends Number> numerator,
Calculation<? extends Number> denominator)
A Calculation that divides the numerator by the denominator as Doubles. |
static Calculation<Float> |
Calculations.divideFloats(Calculation<? extends Number> numerator,
Calculation<? extends Number> denominator)
A Calculation that divides the numerator by the denominator as Floats. |
static Calculation<Float> |
Calculations.divideFloats(Calculation<? extends Number> numerator,
Calculation<? extends Number> denominator)
A Calculation that divides the numerator by the denominator as Floats. |
static Calculation<Double> |
Calculations.subtractDoubles(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Doubles. |
static Calculation<Double> |
Calculations.subtractDoubles(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Doubles. |
static Calculation<Float> |
Calculations.subtractFloats(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Floats. |
static Calculation<Float> |
Calculations.subtractFloats(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Floats. |
static Calculation<Integer> |
Calculations.subtractIntegers(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Integers. |
static Calculation<Integer> |
Calculations.subtractIntegers(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Integers. |
static Calculation<Long> |
Calculations.subtractLongs(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Longs. |
static Calculation<Long> |
Calculations.subtractLongs(Calculation<? extends Number> a,
Calculation<? extends Number> b)
A Calculation that subtracts b from a as Longs. |
Constructors in ca.odell.glazedlists.calculation with parameters of type Calculation | |
---|---|
AbstractCompositeCalculation(Calculation<? extends Number>... inputs)
Combines the given inputs with the logic in AbstractCompositeCalculation.recompute(java.lang.Number[])
to produce the value of this Calculation. |
Uses of Calculation in ca.odell.glazedlists.jfreechart |
---|
Methods in ca.odell.glazedlists.jfreechart that return types with arguments of type Calculation | |
---|---|
List<Calculation<? extends Number>> |
CalculationCategoryDataset.getCalculations()
Returns the mutable List of Calculations that create the data values in this CategoryDataset. |
Method parameters in ca.odell.glazedlists.jfreechart with type arguments of type Calculation | |
---|---|
void |
CalculationCategoryDataset.listChanged(ListEvent<Calculation<? extends Number>> listChanges)
This listener rebroadcasts ListEvents as DatasetChangeEvents. |
Constructors in ca.odell.glazedlists.jfreechart with parameters of type Calculation | |
---|---|
CalculationCategoryDataset(Calculation<? extends Number>... calculations)
Constructs a CategoryDataset backed by the given calculations . |
Uses of Calculation in ca.odell.glazedlists.swing |
---|
Methods in ca.odell.glazedlists.swing that return Calculation | ||
---|---|---|
static
|
CalculationsSwing.swingThreadProxyCalculation(Calculation<? extends E> source)
Wraps the source in a Calculation that fires all of its update
events from the Swing event dispatch thread. |
Methods in ca.odell.glazedlists.swing with parameters of type Calculation | ||
---|---|---|
static void |
CalculationsSwing.bind(JLabel label,
Calculation<?> calculation)
Updates the given label with the latest value of a Calculation each time it reports a change. |
|
static void |
CalculationsSwing.bind(JLabel label,
Calculation<?> calculation,
Format formatter)
Updates the given label with the latest value of a Calculation each time it reports a change. |
|
static boolean |
CalculationsSwing.isSwingThreadProxyCalculation(Calculation calc)
Returns true if calc is a Calculation that fires
all of its update events from the Swing event dispatch thread. |
|
static
|
CalculationsSwing.swingThreadProxyCalculation(Calculation<? extends E> source)
Wraps the source in a Calculation that fires all of its update
events from the Swing event dispatch thread. |
Uses of Calculation in ca.odell.glazedlists.swt |
---|
Methods in ca.odell.glazedlists.swt that return Calculation | ||
---|---|---|
static
|
CalculationsSWT.swtThreadProxyCalculation(Calculation<? extends E> source,
org.eclipse.swt.widgets.Display display)
Wraps the source in a Calculation that fires all of its update
events from the SWT event dispatch thread. |
Methods in ca.odell.glazedlists.swt with parameters of type Calculation | ||
---|---|---|
static boolean |
CalculationsSWT.isSWTThreadProxyCalculation(Calculation calc)
Returns true if calc is a Calculation that fires
all of its update events from the SWT event dispatch thread. |
|
static
|
CalculationsSWT.swtThreadProxyCalculation(Calculation<? extends E> source,
org.eclipse.swt.widgets.Display display)
Wraps the source in a Calculation that fires all of its update
events from the SWT event dispatch thread. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |