|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.Custom3D
com.steema.teechart.styles.Custom3DPalette
com.steema.teechart.styles.Custom3DGrid
com.steema.teechart.styles.Surface
public class Surface
Title: Surface class
Description: Surface 3D Series.
Example:
surfaceSeries = new com.steema.teechart.styles.Surface(myChart.getChart()); surfaceSeries.setPaletteStyle(PaletteStyle.STRONG); surfaceSeries.getSideBrush().setColor(Color.WHITE); surfaceSeries.getSideBrush().setStyle(null); surfaceSeries.setUseColorRange(false); surfaceSeries.setUsePalette(true);
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary | |
---|---|
class |
Surface.CellsOrientation
|
Nested classes/interfaces inherited from class com.steema.teechart.styles.Custom3DGrid |
---|
Custom3DGrid.CellsRow, Custom3DGrid.PCellsRow, Custom3DGrid.YCalculator |
Nested classes/interfaces inherited from class com.steema.teechart.styles.Custom3DPalette |
---|
Custom3DPalette.ColorResolver |
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected java.awt.Point[] |
points
|
protected ChartPen |
sideLines
|
Fields inherited from class com.steema.teechart.styles.Custom3DGrid |
---|
FXStartIndex, FZStartIndex, gridIndex, iInGallery, iNextXCell, iNextZCell, iNumXValues, iNumZValues, valueIndex0, valueIndex1, valueIndex2, valueIndex3 |
Fields inherited from class com.steema.teechart.styles.Custom3DPalette |
---|
bUseColorRange, bUsePalette, iPaletteSteps |
Fields inherited from class com.steema.teechart.styles.Custom3D |
---|
vzValues |
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Surface()
|
|
Surface(IBaseChart c)
|
Method Summary | |
---|---|
Surface.CellsOrientation |
cellsOrientation()
|
void |
createSubGallery(Gallery addSubChart)
|
protected void |
draw()
|
void |
drawCell(int x,
int z)
|
protected void |
drawSidePortion(java.awt.Point[] P,
int z0,
int z1)
|
protected boolean |
fourGridIndex(int x,
int z)
|
java.lang.String |
getDescription()
Gets descriptive text. |
boolean |
getDotFrame()
Sets SurfaceSeries as a grid of dots (pixels). It's very similar to the WireFrame mode except that no lines connect the Surface's points. |
boolean |
getHideCells()
|
ChartBrush |
getSideBrush()
Determines the Brush to fill the sides of a Surface Series. |
ChartPen |
getSideLines()
|
boolean |
getSmoothPalette()
Determine the cell Colors of a Surface Series. When set to true, each cell is filled using a color calculated as the average of each cell 4 corner colors. |
boolean |
getWaterFall()
Enables/disables the display as a waterfall. Default value: false |
ChartPen |
getWaterLines()
Sets Pen to draw valuelines. |
boolean |
getWireFrame()
Shows Surface polygons as grid or wire frame when true. If Surface.Pen.Visible is True (default), Surface points are displayed as a "grid" or "wireframe", with lines connecting them. |
void |
prepareForGallery(boolean isEnabled)
|
protected void |
prepareLegendCanvas(IGraphics3D g,
int valueIndex,
Color backColor,
ChartBrush aBrush)
|
protected java.lang.Object |
readResolve()
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setDotFrame(boolean value)
Sets SurfaceSeries as a grid of dots (pixels). Default value: false |
void |
setHideCells(boolean value)
|
void |
setSideLines(ChartPen value)
|
void |
setSmoothPalette(boolean value)
Determine the cell Colors of a Surface Series. Default value: false |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
void |
setWaterFall(boolean value)
|
void |
setWireFrame(boolean value)
Shows Surface polygons as grid or wire frame when true. If Surface.Pen.Visible is True (default), Surface points are displayed as a "grid" or "wireframe", with lines connecting them. |
protected boolean |
shouldDrawSides()
|
protected java.awt.Point[] |
updateArray(int count,
java.awt.Point[] points)
|
Methods inherited from class com.steema.teechart.styles.Custom3DGrid |
---|
addSampleValues, addValues, backFaced, canCreateValues, clear, createValues, doBeforeDrawChart, doGetYValue, existFourGridIndex, fillGridIndex, getIndex, getIrregularGrid, getNumXValues, getNumZValues, isValidSeriesSource, numSampleValues, reCreateValues, removeYCalculator, setIndex, setIrregularGrid, setNumXValues, setNumZValues, setYCalculator |
Methods inherited from class com.steema.teechart.styles.Custom3D |
---|
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, drawMark, getMaxZValue, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, setTimesZOrder |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.steema.teechart.styles.ISeries |
---|
getChart, invalidate |
Field Detail |
---|
protected ChartPen sideLines
protected transient java.awt.Point[] points
Constructor Detail |
---|
public Surface(IBaseChart c)
public Surface()
Method Detail |
---|
public void createSubGallery(Gallery addSubChart)
createSubGallery
in class Custom3DPalette
public java.lang.String getDescription()
getDescription
in class Series
public boolean getSmoothPalette()
public void setSmoothPalette(boolean value)
Example:
series.setSmoothPalette(true);
value
- booleanprotected java.lang.Object readResolve()
readResolve
in class Custom3DPalette
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class Custom3DPalette
c
- IBaseChartpublic void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Custom3DPalette
index
- intpublic ChartBrush getSideBrush()
public ChartPen getSideLines()
public void setSideLines(ChartPen value)
public ChartPen getWaterLines()
public boolean getWaterFall()
public void setWaterFall(boolean value)
public boolean getWireFrame()
public void setWireFrame(boolean value)
Example:
series = new com.steema.teechart.styles.Surface(myChart.getChart()); series.setWireFrame(true); series.setUsePalette(true); series.setUseColorRange(false); series.getPen().setWidth(1); series.fillSampleValues(10);
value
- booleanprotected boolean shouldDrawSides()
public boolean getHideCells()
public void setHideCells(boolean value)
public boolean getDotFrame()
public void setDotFrame(boolean value)
value
- booleanprotected void draw()
draw
in class Series
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
protected void prepareLegendCanvas(IGraphics3D g, int valueIndex, Color backColor, ChartBrush aBrush)
prepareLegendCanvas
in class Custom3D
protected java.awt.Point[] updateArray(int count, java.awt.Point[] points)
public Surface.CellsOrientation cellsOrientation()
protected void drawSidePortion(java.awt.Point[] P, int z0, int z1)
protected boolean fourGridIndex(int x, int z)
public void drawCell(int x, int z)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |