All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.gauge.LinearSynchronization
java.lang.Object
|
+----COM.ibm.beans.gauge.ImmediateSynchronization
|
+----COM.ibm.beans.gauge.LinearSynchronization
- public class LinearSynchronization
- extends ImmediateSynchronization
- implements Serializable
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(long)
- Create a Continuous behaviour with the given step size.
LinearSynchronization(long,
long, long)
- Create a Continuous behaviour with the given step size
and delay values when synchronized and when not
synchronized.
copyright()
-
nextValue(long,
long, long, long, long, long)
- Return the next value for the gauge to show to achieve
the required synchronization.
LinearSynchronization
public LinearSynchronization(long 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(long 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()
nextValue
public long nextValue(long value,
long min,
long max,
long previousdisplayvalue,
long previousmin,
long previousmax)
- Return the next value for the gauge to show to achieve
the required synchronization.
- Overrides:
- nextValue
in class ImmediateSynchronization
All Packages Class Hierarchy This Package Previous Next Index
Copyright ©
Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.