|
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.chart3d.ParentTrackChange | +--com.klg.jclass.chart3d.JCSurface
JClass Chart 3D class that contains properties that pertain to plots of type surface. These are properties such as whether to draw a solid skirt and whether to show or filter mesh lines.
Field Summary | |
static double |
PIXEL_SPREAD
Pixel spread that determines the space used in automatic mesh filtering. |
protected boolean |
solid
Asks if solid "skirts" under the surface should be drawn. |
protected boolean[] |
xMesh
Array that determines whether an x mesh line is drawn (based on grid). |
protected int |
xMeshFilter
Filter value for x mesh lines. |
protected boolean |
xMeshShowing
Asks if x mesh lines are showing. |
protected boolean[] |
yMesh
Array that determines whether a y mesh line is drawn (based on grid). |
protected int |
yMeshFilter
Filter value for y mesh lines. |
protected boolean |
yMeshShowing
Asks if y mesh lines are showing. |
Fields inherited from class com.klg.jclass.chart3d.ParentTrackChange |
parents |
Constructor Summary | |
JCSurface()
No args constructor. |
|
JCSurface(boolean solid,
boolean xMeshShowing,
boolean yMeshShowing,
int xMeshFilter,
int yMeshFilter)
Constructor that provides values for solid, x and y showing and filter. |
Method Summary | |
void |
computeMeshFiltering(com.klg.jclass.chart3d.Chart3dDataView dataView)
Computes mesh filtering for both xs and ys. |
boolean[] |
getXMesh()
Returns the current x mesh array, which tells whether a given mesh line is drawn. |
int |
getXMeshFilter()
Returns the current x mesh filter. |
boolean[] |
getYMesh()
Returns the current y mesh array, which tells whether a given mesh line is drawn. |
int |
getYMeshFilter()
Returns the current y mesh filter. |
boolean |
isSolid()
Asks if solid "skirts" under the surface are drawn. |
boolean |
isXMeshShowing()
Asks if the x mesh lines are showing. |
boolean |
isYMeshShowing()
Asks if the y mesh lines are showing. |
void |
setSolid(boolean solid)
Sets whether solid "skirts" under the surface are drawn. |
void |
setXMeshFilter(int xMeshFilter)
Sets the current x mesh filter. |
void |
setXMeshShowing(boolean xMeshShowing)
Sets whether x mesh lines are drawn. |
void |
setYMeshFilter(int yMeshFilter)
Sets the current y mesh filter. |
void |
setYMeshShowing(boolean yMeshShowing)
Sets whether y mesh lines are drawn. |
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 |
public static final double PIXEL_SPREAD
protected boolean solid
protected boolean xMeshShowing
protected boolean yMeshShowing
protected int xMeshFilter
protected int yMeshFilter
protected boolean[] xMesh
protected boolean[] yMesh
Constructor Detail |
public JCSurface()
public JCSurface(boolean solid, boolean xMeshShowing, boolean yMeshShowing, int xMeshFilter, int yMeshFilter)
solid
- Should solid "skirts" under the surface be drawn?xMeshShowing
- Are x mesh lines showing?yMeshShowing
- Are y mesh lines showing?xMeshFilter
- filter value for x mesh linesyMeshFilter
- filter value for y mesh linesMethod Detail |
public boolean isSolid()
public void setSolid(boolean solid)
solid
- sets whether the surface is a solid objectpublic boolean isXMeshShowing()
public void setXMeshShowing(boolean xMeshShowing)
xMeshShowing
- Are the x mesh lines drawn?public boolean isYMeshShowing()
public void setYMeshShowing(boolean yMeshShowing)
yMeshShowing
- Are the y mesh lines drawn?public int getXMeshFilter()
public void setXMeshFilter(int xMeshFilter)
xMeshFilter
- the new x mesh filterpublic int getYMeshFilter()
public void setYMeshFilter(int yMeshFilter)
yMeshFilter
- the new y mesh filterpublic boolean[] getXMesh()
public boolean[] getYMesh()
public void computeMeshFiltering(com.klg.jclass.chart3d.Chart3dDataView dataView)
dataView
- the Chart3dDataView
whose mesh lines are to be filtered
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |