JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class JCElevation

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

public class JCElevation
extends ParentTrackChange

See Also:
Serialized Form

Field Summary
protected  Color meshBottomColor
          Sets the mesh bottom color (only drawn in certain cases).
protected  boolean meshed
          Asks if mesh lines are drawn.
protected  Color meshTopColor
          Sets the mesh top color (only drawn in certain cases).
protected  boolean shaded
          Asks if facets are shaded.
protected  Color shadedBottomColor
          Sets the shaded bottom color (only drawn in certain cases).
protected  Color shadedTopColor
          Sets the shaded top color (only drawn in certain cases).
protected  boolean transparent
          Asks if surfaces/bars are transparent (for example, are hidden lines drawn).
 
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange
parents
 
Constructor Summary
JCElevation()
          Constructor with no arguments creates a JCElevation with its values set at their default values.
JCElevation(boolean meshed, boolean shaded, boolean transparent)
          Constructor that intializes the meshed, shaded, and transparent properties.
 
Method Summary
 Color getMeshBottomColor()
          Sets the bottom color of the mesh (only drawn in certain cases).
 Color getMeshTopColor()
          Sets the top color of the mesh (only drawn in certain cases).
 Color getShadedBottomColor()
          Sets the bottom color of the shaded (only drawn in certain cases).
 Color getShadedTopColor()
          Sets the top color of the shaded (only drawn in certain cases).
 boolean isMeshed()
          Returns whether this elevation is meshed.
 boolean isShaded()
          Returns whether this elevation is shaded.
 boolean isTransparent()
          Returns whether this elevation is transparent (hidden lines are removed).
 void setMeshBottomColor(Color meshBottomColor)
          Sets the bottom color of the mesh (only drawn in certain cases).
 void setMeshed(boolean meshed)
          Sets flag which determine whether this elevation is meshed.
 void setMeshTopColor(Color meshTopColor)
          Sets the top color of the mesh (only drawn in certain cases).
 void setShaded(boolean shaded)
          Sets flag which determines whether this elevation is shaded.
 void setShadedBottomColor(Color shadedBottomColor)
          Sets the bottom color of the shaded (only drawn in certain cases).
 void setShadedTopColor(Color shadedTopColor)
          Sets the top color of the shaded (only drawn in certain cases).
 void setTransparent(boolean transparent)
          Sets flag which determines whether this elevation is transparent (hidden lines are removed).
 
Methods inherited from class com.klg.jclass.chart3d.ParentTrackChange
addParent, clearParents, removeParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

meshed

protected boolean meshed
Asks if mesh lines are drawn.


shaded

protected boolean shaded
Asks if facets are shaded.


transparent

protected boolean transparent
Asks if surfaces/bars are transparent (for example, are hidden lines drawn).


meshTopColor

protected Color meshTopColor
Sets the mesh top color (only drawn in certain cases).


meshBottomColor

protected Color meshBottomColor
Sets the mesh bottom color (only drawn in certain cases).


shadedTopColor

protected Color shadedTopColor
Sets the shaded top color (only drawn in certain cases). Defaults to light grey.


shadedBottomColor

protected Color shadedBottomColor
Sets the shaded bottom color (only drawn in certain cases). Defaults to dim grey.

Constructor Detail

JCElevation

public JCElevation()
Constructor with no arguments creates a JCElevation with its values set at their default values.


JCElevation

public JCElevation(boolean meshed,
                   boolean shaded,
                   boolean transparent)
Constructor that intializes the meshed, shaded, and transparent properties.

Parameters:
meshed - Are mesh lines drawn?
shaded - Are facets shaded?
transparent - Are surfaces/bars transparent (for example, are hidden lines drawn)?
Method Detail

setMeshed

public void setMeshed(boolean meshed)
Sets flag which determine whether this elevation is meshed.

Parameters:
meshed - the new value of the meshed flag

isMeshed

public boolean isMeshed()
Returns whether this elevation is meshed.

Returns:
the value of the meshed flag

setShaded

public void setShaded(boolean shaded)
Sets flag which determines whether this elevation is shaded.

Parameters:
shaded - the new value of the shaded flag

isShaded

public boolean isShaded()
Returns whether this elevation is shaded.

Returns:
the value of the shaded flag

setTransparent

public void setTransparent(boolean transparent)
Sets flag which determines whether this elevation is transparent (hidden lines are removed).

Parameters:
transparent - the new value of the transparent flag

isTransparent

public boolean isTransparent()
Returns whether this elevation is transparent (hidden lines are removed).

Returns:
the value of the transparent flag

setMeshTopColor

public void setMeshTopColor(Color meshTopColor)
Sets the top color of the mesh (only drawn in certain cases).

Parameters:
meshTopColor - the new mesh top color

getMeshTopColor

public Color getMeshTopColor()
Sets the top color of the mesh (only drawn in certain cases).

Returns:
the current mesh top color

setMeshBottomColor

public void setMeshBottomColor(Color meshBottomColor)
Sets the bottom color of the mesh (only drawn in certain cases).

Parameters:
meshBottomColor - the new mesh bottom color

getMeshBottomColor

public Color getMeshBottomColor()
Sets the bottom color of the mesh (only drawn in certain cases).

Returns:
the current mesh bottom color

setShadedTopColor

public void setShadedTopColor(Color shadedTopColor)
Sets the top color of the shaded (only drawn in certain cases).

Parameters:
shadedTopColor - the new shaded top color

getShadedTopColor

public Color getShadedTopColor()
Sets the top color of the shaded (only drawn in certain cases).

Returns:
the current shaded top color

setShadedBottomColor

public void setShadedBottomColor(Color shadedBottomColor)
Sets the bottom color of the shaded (only drawn in certain cases).

Parameters:
shadedBottomColor - the new shaded bottom color

getShadedBottomColor

public Color getShadedBottomColor()
Sets the bottom color of the shaded (only drawn in certain cases).

Returns:
the current shaded bottom color

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