All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.eou.toolkit.gauge.LinearSynchronization
java.lang.Object
|
+----com.ibm.eou.toolkit.gauge.ImmediateSynchronization
|
+----com.ibm.eou.toolkit.gauge.LinearSynchronization
- public class LinearSynchronization
- extends ImmediateSynchronization
This class provides a linear behaviour which
is suitable for gauges requiring a smooth value
transition but with no inertial effect, such as
progress indicators, fluid-filled meters and LED displays.
-
LinearSynchronization()
- Create a Continuous behaviour with a
step size of 1.
-
LinearSynchronization(int)
- Create a Continuous behaviour with the given
step size.
-
LinearSynchronization(int, long, long)
- Create a Continuous behaviour with the given
step size and delay values when synchronized
and when not synchronized.
-
copyright()
-
-
getNextValue(int, int, int, int, int, int)
- Return the next value for the gauge to show
to achieve the required synchronization.
LinearSynchronization
public LinearSynchronization(int step,
long synchronizedDelay,
long nonsynchronizedDelay)
- Create a Continuous behaviour with the given
step size and delay values when synchronized
and when not synchronized. Display values are
generated in steps
of the specified size until the next step would
overshoot, at which point the gauge value is
returned directly and the gauge is synchronized.
LinearSynchronization
public LinearSynchronization(int step)
- Create a Continuous behaviour with the given
step size. Display values are generated in steps
of the specified size until the next step would
overshoot, at which point the gauge value is
returned directly and the gauge is synchronized.
LinearSynchronization
public LinearSynchronization()
- Create a Continuous behaviour with a
step size of 1. Display values are generated in steps
of the specified size until the next step would
overshoot, at which point the gauge value is
returned directly and the gauge is synchronized.
copyright
public static String copyright()
getNextValue
public int getNextValue(int value,
int min,
int max,
int previousdisplayvalue,
int previousmin,
int previousmax)
- Return the next value for the gauge to show
to achieve the required synchronization.
- Overrides:
- getNextValue in class ImmediateSynchronization
All Packages Class Hierarchy This Package Previous Next Index