jas.hist
Class HistogramUpdate

java.lang.Object
  extended by jas.hist.HistogramUpdate
All Implemented Interfaces:
Serializable

public final class HistogramUpdate
extends Object
implements 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)
           
 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
See Also:
Constant Field Values

RANGE_UPDATE

public static final int RANGE_UPDATE
See Also:
Constant Field Values

TITLE_UPDATE

public static final int TITLE_UPDATE
See Also:
Constant Field Values

RESET

public static final int RESET
See Also:
Constant Field Values

HORIZONTAL_AXIS

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

See Also:
Constant Field Values

VERTICAL_AXIS

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

See Also:
Constant Field Values

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 String toString()
Overrides:
toString in class Object


Copyright © 2000-2009 FreeHEP. All Rights Reserved.