analyzer.util
Class IntegerObservable

java.lang.Object
  |
  +--java.util.Observable
        |
        +--analyzer.util.IntegerObservable

public class IntegerObservable
extends java.util.Observable

Represent a integer parameter.


Field Summary
protected  int value
           
 
Constructor Summary
IntegerObservable(int value)
           
 
Method Summary
 int getValue()
          Get value.
 int setValue(int v)
          Attempt to change value.
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected int value
Constructor Detail

IntegerObservable

public IntegerObservable(int value)
Method Detail

getValue

public int getValue()
Get value.

setValue

public int setValue(int v)
Attempt to change value. Subclasses may not accept all changes. Return value is the value after the attempted change.


Email questions and comments to
shumway@uiuc.edu or nzhong@ncsa.uiuc.edu