All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.gauge.ImmediateSynchronization
java.lang.Object
|
+----COM.ibm.beans.gauge.ImmediateSynchronization
- public class ImmediateSynchronization
- extends Object
- implements GaugeSynchronization,
Serializable
This class provides immediate update behaviour which is an
appropriate default for many gauge types.
ImmediateSynchronization()
- Create an ImmediateSynchronization which updates without
delay to each new value, and waits indefinitely between
changes of value.
ImmediateSynchronization(long,
long)
- Create an ImmediateSynchronization with the specified
delay interval between updates when synchronized and when
not synchronized.
copyright()
-
isSynchronized(long,
long, long, long, long, long)
- Return true if the gauge display is now synchronized.
nextValue(long,
long, long, long, long, long)
- Return the next value for the gauge to show to achieve
the required synchronization.
nextValueDelay(boolean)
- Return the time interval in milliseconds after which the
next value is to be displayed by the gauge to achieve the
required synchronization.
resetSynchronization()
-
ImmediateSynchronization
public ImmediateSynchronization(long synchronizedDelay,
long nonsynchronizedDelay)
- Create an ImmediateSynchronization with the specified
delay interval between updates when synchronized and when
not synchronized.
ImmediateSynchronization
public ImmediateSynchronization()
- Create an ImmediateSynchronization which updates without
delay to each new value, and waits indefinitely between
changes of value.
copyright
public static String copyright()
resetSynchronization
public void resetSynchronization()
nextValueDelay
public long nextValueDelay(boolean isSynchronized)
- Return the time interval in milliseconds after which the
next value is to be displayed by the gauge to achieve the
required synchronization. This implementation returns
INDEFINITE_WAIT if the display is synchronized and
NO_WAIT otherwise.
isSynchronized
public boolean isSynchronized(long value,
long minimum,
long maximum,
long displayValue,
long displayMinimum,
long displayMaximum)
- Return true if the gauge display is now synchronized.
This implementation considers the gauge to be
synchronized if and only if the current and gauge values
match, together with the corresponding ranges.
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. This implementation always
returns the gauge value directly.
All Packages Class Hierarchy This Package Previous Next Index
Copyright ©
Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.