Control Surface API  2.2.2
IntegerValue Interface Reference
Inheritance diagram for IntegerValue:

Public Member Functions

int get ()
 
void addValueObserver (IntegerValueChangedCallback callback, int valueWhenUnassigned)
 
- Public Member Functions inherited from Value< IntegerValueChangedCallback >
void markInterested ()
 
void addValueObserver (ObserverType callback)
 

Detailed Description

Definition at line 5 of file IntegerValue.java.

Member Function Documentation

void addValueObserver ( IntegerValueChangedCallback  callback,
int  valueWhenUnassigned 
)

Adds an observer that is notified when this value changes. This is intended to aid in backwards compatibility for drivers written to the version 1 API.

Parameters
callbackThe callback to notify with the new value
valueWhenUnassignedThe value that the callback will be notified with if this value is not currently assigned to anything.
int get ( )

Gets the current value.

Since
API version 2

The documentation for this interface was generated from the following file: