|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart.TrackChange
Concrete implementation of the Changeable
interface,
for use inside JCChart
.
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 |
protected boolean changed
Changed
property.
protected int changedFlag
Constructor Detail |
public TrackChange()
Method Detail |
public abstract void recalc()
public boolean getChanged()
Changed
property. The Changed
property determines
whether the object needs to be recalculated.
getChanged
in interface Changeable
true
if the object has been changed and needs
recalculation; false
otherwisepublic boolean getChanged(int mask)
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.
getChanged
in interface Changeable
mask
- the mask with which to check
true
if the specified mask exists in the ChangedFlag
property;
false
otherwisepublic final boolean isChanged()
Changed
property. The Changed
property determines
whether the object needs to be recalculated.
isChanged
in interface Changeable
true
if the object has been changed and needs recalculation; false
otherwisepublic final boolean isChanged(int mask)
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.
isChanged
in interface Changeable
mask
- the mask with which to check
True
if the specified mask exists in the ChangedFlag
property;
false
otherwisepublic void setChanged(boolean n, int cf)
Changed
property and updates the parent object. The
Changed
property determines whether the object needs to be recalculated.
setChanged
in interface Changeable
n
- new value for Changed
cf
- the value with which to update the changed flagpublic void setChanged(boolean n, int cf, boolean updateParent)
Changed
property. The Changed
property determines whether the object needs to be recalculated.
setChanged
in interface Changeable
n
- new value for Changed
cf
- the value with which to update the changed flagupdateParent
- if true
, the parent is updated; otherwise, the parent
is not updated (the "update" semantics are up to the implementor)public boolean isBatched()
isBatched
in interface Changeable
false
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |