JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Class TrackChange

java.lang.Object
  |
  +--com.klg.jclass.chart.TrackChange
All Implemented Interfaces:
Changeable, Changeable, Serializable
Direct Known Subclasses:
ChartInteriorRegion, JCChartLabel

public abstract class TrackChange
extends Object
implements Changeable, Serializable

Concrete implementation of the Changeable interface, for use inside JCChart.

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.chart.Changeable
BASIC_CHANGE_MASK, NOTIFY_AXES_RECALC, NOTIFY_AXES_REDRAW, NOTIFY_CA_RECALC, NOTIFY_CA_REDRAW, NOTIFY_LEGEND_RECALC, NOTIFY_LEGEND_REDRAW
 
Fields inherited from interface com.klg.jclass.util.Changeable
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()
          By default do not batch.
 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).
abstract  void recalc()
          Method used to recalculate extents of related objects.
 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.
 
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

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.

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 - the mask with which to check
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 - the mask with which to check
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.

Specified by:
setChanged in interface Changeable
Parameters:
n - new value for Changed
cf - the value with which to update the changed flag

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 - the value with which to update the changed flag
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()
By default do not batch.

Specified by:
isBatched in interface Changeable
Returns:
always return false

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