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.
-
changed
- Boolean representing the value of the Changed property
-
changedFlag
-
-
TrackChange()
-
-
getChanged()
- Gets the value of the Changed property.
-
getChanged(int)
- Checks the value of the ChangedFlag property for the specified mask
(see Changeable for a list of valid masks).
-
isChanged()
- Gets the value of the Changed property.
-
isChanged(int)
- Checks the value of the ChangedFlag property for the specified mask
(see Changeable for a list of valid masks).
-
recalc()
- Method used to recalculate extents of related objects.
-
setChanged(boolean, int)
- Sets the value of the Changed property and updates the
parent object.
-
setChanged(boolean, int, boolean)
- Sets the value of the Changed property.
changed
protected boolean changed
- Boolean representing the value of the Changed property
changedFlag
protected int changedFlag
TrackChange
public TrackChange()
recalc
public abstract void recalc()
- Method used to recalculate extents of related objects.
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.
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.
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.
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.
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.
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