Interface IRangeChangeObserver<T>
Defines the interface for listening changes of IRange implementors.
Namespace:
Assembly: .dll
Syntax
public interface IRangeChangeObserver<T>
Type Parameters
Name | Description |
---|---|
T |
Fields
MAX
The value indicating that only Max value of IRange has changed.
Declaration
public static final int MAX
Field Value
Type | Description |
---|---|
int |
MIN
The value indicating that only Min value of IRange has changed.
Declaration
public static final int MIN
Field Value
Type | Description |
---|---|
int |
MIN_MAX
The value indicating that both Min and Max values of IRange have changed.
Declaration
public static final int MIN_MAX
Field Value
Type | Description |
---|---|
int |
Methods
onRangeChanged(T oldMin, T oldMax, T newMin, T newMax, int changedProperty)
Called when observed range instance has changed. See Also: IRangeChangeObserver#MAX, IRangeChangeObserver#MIN_MAX, IRangeChangeObserver#MIN
Declaration
public abstract void onRangeChanged(T oldMin, T oldMax, T newMin, T newMax, int changedProperty)
Parameters
Type | Name | Description |
---|---|---|
T | oldMin | The old min value. |
T | oldMax | The old max value. |
T | newMin | The new min value. |
T | newMax | The new max value. |
int | changedProperty | The flags indicating which parts of range has changed. |