|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Changeable interface is used as a template for objects that have a changed flag or changed semantic involving some kind of recalculation. This is very common inside JCChart. All ChartRegion and ChartInteriorRegion derived objects make use of Changeable, either by directly implementing the interface or by deriving from TrackChange (an abstract class that implements Changeable).
Field Summary | |
static int |
BASIC_CHANGE_MASK
|
static int |
LAYOUT
|
static int |
NO_CHANGE
|
static int |
NOTIFY_PARENT_LAYOUT
|
static int |
RECALC
|
static int |
REDRAW
|
Method Summary | |
boolean |
getChanged()
Gets the value of the Changed property. |
boolean |
getChanged(int mask)
Checks the value of the ChangedFlag property for the existence of the specified mask. |
boolean |
isBatched()
|
boolean |
isChanged()
Gets the value of the Changed property. |
boolean |
isChanged(int mask)
Checks the value of the ChangedFlag property for the existence of the specified mask. |
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. |
Field Detail |
public static final int NO_CHANGE
public static final int REDRAW
public static final int RECALC
public static final int LAYOUT
public static final int NOTIFY_PARENT_LAYOUT
public static final int BASIC_CHANGE_MASK
Method Detail |
public boolean getChanged()
public boolean getChanged(int mask)
public boolean isChanged()
public boolean isChanged(int mask)
public void setChanged(boolean n, int cf)
n
- New value for Changed.cf
- Or-ed series of bit flags indicating type of change.public void setChanged(boolean n, int cf, boolean updateParent)
n
- New value for Changed.cf
- Or-ed series of bit flags indicating type of change.updateParent
- If true, the parent is updated. Otherwise,
the parent is not updated. The "update" semantics are up to the
implementorpublic boolean isBatched()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |