JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class JCProjection

java.lang.Object
  |
  +--com.klg.jclass.chart3d.JCProjection
All Implemented Interfaces:
Serializable

public class JCProjection
extends Object
implements Serializable

JCProjection is a class that controlls how floor and ceiling projections are drawn on the plotcube.

See Also:
Serialized Form

Field Summary
protected  boolean contoured
          Asks if contour lines are drawn on this projection.
protected  com.klg.jclass.chart3d.ParentTrackChange parent
          Parent that keeps track of changes in this object.
protected  boolean zoned
          Asks if colored contour zones are drawn on this projection.
 
Constructor Summary
JCProjection()
          No args constructor.
JCProjection(boolean contoured, boolean zoned)
          Constructor that sets the value of contoured and zoned.
 
Method Summary
 boolean isContoured()
          Asks if this projection is contoured.
 boolean isZoned()
          Asks if this projection is zoned.
protected  void setChanged(boolean b, int cf)
          Tells the parent (if there is one) that a change has happened.
 void setContoured(boolean contoured)
          Sets whether this projection is contoured or not.
 void setZoned(boolean zoned)
          Sets whether this projection is zoned or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contoured

protected boolean contoured
Asks if contour lines are drawn on this projection.


zoned

protected boolean zoned
Asks if colored contour zones are drawn on this projection.


parent

protected com.klg.jclass.chart3d.ParentTrackChange parent
Parent that keeps track of changes in this object.

Constructor Detail

JCProjection

public JCProjection()
No args constructor. Values at their default.


JCProjection

public JCProjection(boolean contoured,
                    boolean zoned)
Constructor that sets the value of contoured and zoned.

Parameters:
contoured - Are contour lines drawn on the projection?
zoned - Are colored contour zones drawn on the projection?
Method Detail

setContoured

public void setContoured(boolean contoured)
Sets whether this projection is contoured or not.

Parameters:
contoured - the new contoured value

isContoured

public boolean isContoured()
Asks if this projection is contoured.

Returns:
whether or not the projection is contoured

setZoned

public void setZoned(boolean zoned)
Sets whether this projection is zoned or not.

Parameters:
zoned - the new zoned value

isZoned

public boolean isZoned()
Asks if this projection is zoned.

Returns:
whether or not the projection is zoned

setChanged

protected void setChanged(boolean b,
                          int cf)
Tells the parent (if there is one) that a change has happened.

Parameters:
b - Has a change happened?
cf - change mask that determines the type of change

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