Class observable.ObservableInt
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class observable.ObservableInt

java.lang.Object
   |
   +----java.util.Observable
           |
           +----observable.ObservableInt

public class ObservableInt
extends Observable
Observable mechanism for an integer variable. Taken from Listing 21.14 of "Special Edition, Using Java"
Version:
1.0 03-25-97

Constructor Index

 o ObservableInt()
 o ObservableInt(int)

Method Index

 o getValue()
 o setValue(int)

Constructors

 o ObservableInt
  public ObservableInt()
 o ObservableInt
  public ObservableInt(int newValue)

Methods

 o setValue
  public synchronized void setValue(int newValue)
 o getValue
  public synchronized int getValue()

All Packages  Class Hierarchy  This Package  Previous  Next  Index