All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.TrackChange

java.lang.Object
   |
   +----jclass.chart.TrackChange

public abstract class TrackChange
extends Object
implements Changeable
Concrete implementation of the Changeable interface, for use inside JCChart.


Variable Index

 o changed
Boolean representing the value of the Changed property
 o changedFlag

Constructor Index

 o TrackChange()

Method Index

 o getChanged()
Gets the value of the Changed property.
 o getChanged(int)
Checks the value of the ChangedFlag property for the specified mask (see Changeable for a list of valid masks).
 o isChanged()
Gets the value of the Changed property.
 o isChanged(int)
Checks the value of the ChangedFlag property for the specified mask (see Changeable for a list of valid masks).
 o recalc()
Method used to recalculate extents of related objects.
 o setChanged(boolean, int)
Sets the value of the Changed property and updates the parent object.
 o setChanged(boolean, int, boolean)
Sets the value of the Changed property.

Variables

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

 o changedFlag
 protected int changedFlag

Constructors

 o TrackChange
 public TrackChange()

Methods

 o recalc
 public abstract void recalc()
Method used to recalculate extents of related objects.

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

Returns:
True if the object has been changed and needs recalculation, false otherwise.
 o 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.

Returns:
True if the specified mask exists in the ChangedFlag property, false otherwise.
 o isChanged
 public final boolean isChanged()
Gets the value of the Changed property. The Changed property determines whether the object needs to be recalculated.

Returns:
True if the object has been changed and needs recalculation, false otherwise.
 o 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.

Returns:
True if the specified mask exists in the ChangedFlag property, false otherwise.
 o 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.

Parameters:
n - New value for Changed.
 o 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.

Parameters:
n - New value for Changed.
updateParent - If true, the parent is updated. Otherwise, the parent is not updated. The "update" semantics are up to the implementor

All Packages  Class Hierarchy  This Package  Previous  Next  Index