JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class TrackChange

java.lang.Object
  |
  +--com.klg.jclass.chart3d.TrackChange
All Implemented Interfaces:
Changeable, Changeable, Serializable
Direct Known Subclasses:
Chart3dData, Chart3dDataView

public abstract class TrackChange
extends Object
implements Changeable, Serializable

Concrete implementation of the Changeable interface, for use inside JClass Chart 3D.

See Also:
Serialized Form

Field Summary
protected  boolean changed
          Boolean representing the value of the Changed property.
protected  int changedFlag
           
 
Fields inherited from interface com.klg.jclass.chart3d.Changeable
ALL, CONTOURS, NOTIFY_CA_RECALC, NOTIFY_CA_REDRAW, NOTIFY_LEGEND_RECALC, NOTIFY_LEGEND_REDRAW
 
Fields inherited from interface com.klg.jclass.util.Changeable
BASIC_CHANGE_MASK, LAYOUT, NO_CHANGE, NOTIFY_PARENT_LAYOUT, RECALC, REDRAW
 
Constructor Summary
TrackChange()
           
 
Method Summary
 boolean getChanged()
          Gets the value of the Changed property.
 boolean getChanged(int mask)
          Checks the value of the ChangedFlag property for the specified mask (see Changeable for a list of valid masks).
 boolean isBatched()
          Needed for Changeable interface.
 boolean isChanged()
          Gets the value of the Changed property.
 boolean isChanged(int mask)
          Checks the value of the ChangedFlag property for the specified mask (see Changeable for a list of valid masks).
 void setChanged(boolean n, int cf)
          Sets the value of the Changed property and updates the parent object.
 void setChanged(boolean n, int cf, boolean updateParent)
          Sets the value of the Changed property.
protected  void updateFlags(boolean n, int cf)
          Update the "changed" flag and the "ChangedFlag" mask.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changed

protected boolean changed
Boolean representing the value of the Changed property.


changedFlag

protected int changedFlag
Constructor Detail

TrackChange

public TrackChange()
Method Detail

getChanged

public boolean getChanged()
Gets the value of the Changed property. The Changed property determines whether the object needs to be recalculated.

Specified by:
getChanged in interface Changeable
Returns:
True if the object has been changed and needs recalculation, false otherwise.

getChanged

public boolean getChanged(int mask)
Checks the value of the ChangedFlag property for the specified mask (see Changeable for a list of valid masks). The ChangedFlag property determines the action the object needs to take in regards to the current change.

Specified by:
getChanged in interface Changeable
Parameters:
mask -
Returns:
True if the specified mask exists in the ChangedFlag property, false otherwise.

isChanged

public final boolean isChanged()
Gets the value of the Changed property. The Changed property determines whether the object needs to be recalculated.

Specified by:
isChanged in interface Changeable
Returns:
True if the object has been changed and needs recalculation, false otherwise.

isChanged

public final boolean isChanged(int mask)
Checks the value of the ChangedFlag property for the specified mask (see Changeable for a list of valid masks). The ChangedFlag property determines the action the object needs to take in regards to the current change.

Specified by:
isChanged in interface Changeable
Parameters:
mask -
Returns:
True if the specified mask exists in the ChangedFlag property, false otherwise.

updateFlags

protected void updateFlags(boolean n,
                           int cf)
Update the "changed" flag and the "ChangedFlag" mask.

Parameters:
n -
cf -

setChanged

public void setChanged(boolean n,
                       int cf)
Sets the value of the Changed property and updates the parent object. The Changed property determines whether the object needs to be recalculated.

Specified by:
setChanged in interface Changeable
Parameters:
n - New value for Changed.
cf -

setChanged

public void setChanged(boolean n,
                       int cf,
                       boolean updateParent)
Sets the value of the Changed property. The Changed property determines whether the object needs to be recalculated.

Specified by:
setChanged in interface Changeable
Parameters:
n - New value for Changed.
cf -
updateParent - If true, the parent is updated. Otherwise, the parent is not updated. The "update" semantics are up to the implementor.

isBatched

public boolean isBatched()
Needed for Changeable interface.

Specified by:
isBatched in interface Changeable

Copyright © 2004 Quest Software Inc..
All rights reserved.