jas.hist
Class HistogramUpdate

java.lang.Object
  |
  +--jas.hist.HistogramUpdate
All Implemented Interfaces:
java.io.Serializable

public final class HistogramUpdate
extends java.lang.Object
implements java.io.Serializable

This class encapsulates update messages sent from an observable histogram data source to the histogram display

See Also:
Serialized Form

Field Summary
static int DATA_UPDATE
           
 int HORIZONTAL_AXIS
          The index to indicate changes to the horizontal axis for histogram updates.
protected  int m_id
           
static int RANGE_UPDATE
           
static int RESET
           
static int TITLE_UPDATE
           
 int VERTICAL_AXIS
          The index to indicate changes to the vertical axis for histogram updates.
 
Constructor Summary
HistogramUpdate(int id, boolean f)
           
 
Method Summary
 boolean axisIsSet(int axisIndex)
           
 boolean isDataUpdate()
           
 boolean isFinalUpdate()
           
 boolean isRangeUpdate()
           
 boolean isReset()
           
 boolean isTitleUpdate()
           
 void setAxis(int axisIndex)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_UPDATE

public static final int DATA_UPDATE

RANGE_UPDATE

public static final int RANGE_UPDATE

TITLE_UPDATE

public static final int TITLE_UPDATE

RESET

public static final int RESET

HORIZONTAL_AXIS

public final int HORIZONTAL_AXIS
The index to indicate changes to the horizontal axis for histogram updates.

VERTICAL_AXIS

public final int VERTICAL_AXIS
The index to indicate changes to the vertical axis for histogram updates.

m_id

protected int m_id
Constructor Detail

HistogramUpdate

public HistogramUpdate(int id,
                       boolean f)
Method Detail

setAxis

public void setAxis(int axisIndex)

axisIsSet

public boolean axisIsSet(int axisIndex)

isFinalUpdate

public boolean isFinalUpdate()

isDataUpdate

public boolean isDataUpdate()

isRangeUpdate

public boolean isRangeUpdate()

isTitleUpdate

public boolean isTitleUpdate()

isReset

public boolean isReset()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object