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.


Constructor Index

 o LinearSynchronization()
Create a Continuous behaviour with a step size of 1.
 o LinearSynchronization(long)
Create a Continuous behaviour with the given step size.
 o LinearSynchronization(long, long, long)
Create a Continuous behaviour with the given step size and delay values when synchronized and when not synchronized.

Method Index

 o copyright()
 
 o nextValue(long, long, long, long, long, long)
Return the next value for the gauge to show to achieve the required synchronization.

Constructors

 o 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.

 o 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.

 o 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.

Methods

 o copyright

 public static String copyright()

 o 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.