|
||||||||||
| 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.Shape
public class Shape
Title: Shape class
Description: Shape Series.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
|---|
Series.MarkTextResolver |
| Field Summary |
|---|
| 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 | |
|---|---|
Shape()
|
|
Shape(IBaseChart c)
|
|
| Method Summary | |
|---|---|
protected void |
addSampleValues(int numValues)
|
void |
calcZOrder()
|
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series. |
void |
createSubGallery(Gallery addSubChart)
|
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle rect)
|
void |
drawValue(int valueIndex)
Called internally. |
ChartBrush |
getBrush()
Defines the brush used to fill shape background. |
java.lang.String |
getDescription()
Gets descriptive text. |
ChartFont |
getFont()
Determines the font attributes used to output ShapeSeries. |
TextShape |
getFormat()
|
Gradient |
getGradient()
Gets Gradient fill characteristics for the ShapeSeries Shape. |
ShapeTextHorizAlign |
getHorizAlignment()
Horizontally aligns the text. |
ChartPen |
getPen()
Defines pen to draw Series Shape. |
ShapeStyle |
getStyle()
Defines how a TChartShape component appears on a Chart. |
java.lang.String[] |
getText()
Displays customized Strings inside Shapes. |
java.lang.String |
getText(int index)
|
boolean |
getTransparent()
Allows Shape Brush attributes to fill the interior of the Shape. |
ShapeTextVertAlign |
getVertAlignment()
Sets the vertical alignment of Text within a TChartShape Series shape. |
double |
getX0()
Coordinate used to define the englobing ShapeSeries rectangle. |
double |
getX1()
Coordinate used to define the englobing ShapeSeries rectangle. |
ShapeXYStyle |
getXYStyle()
Can be set to:- Axis, AxisOrigin or Pixels. |
double |
getY0()
Coordinate used to define the englobing ShapeSeries rectangle. |
double |
getY1()
Coordinate used to define the englobing ShapeSeries rectangle. |
boolean |
isValidSourceOf(Series s)
Returns false if the Value parameter is the same as Self. |
protected boolean |
moreSameZOrder()
Returns true if there are more series that share the same Z order. |
void |
prepareForGallery(boolean isEnabled)
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setHorizAlignment(ShapeTextHorizAlign value)
Horizontally aligns the text. |
void |
setStyle(ShapeStyle value)
Defines how a TChartShape component appears on a Chart. |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
void |
setText(java.lang.String[] value)
|
void |
setTransparent(boolean value)
Allows Shape Brush attributes to fill the interior of the Shape. |
void |
setVertAlignment(ShapeTextVertAlign value)
Sets the vertical alignment of Text within a TChartShape Series shape. |
void |
setX0(double value)
Coordinate used to define the englobing ShapeSeries rectangle. |
void |
setX1(double value)
Coordinate used to define the englobing ShapeSeries rectangle. |
void |
setXYStyle(ShapeXYStyle value)
Can be set to:- Axis, AxisOrigin or Pixels. |
void |
setY0(double value)
Coordinate used to define the englobing ShapeSeries rectangle. |
void |
setY1(double value)
Coordinate used to define the englobing ShapeSeries rectangle. |
| 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 |
| Constructor Detail |
|---|
public Shape()
public Shape(IBaseChart c)
| Method Detail |
|---|
public void setChart(IBaseChart c)
TeeBase
setChart in interface ISeriessetChart in class Seriesc - IBaseChart
protected void drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle rect)
drawLegendShape in class Seriespublic java.lang.String getText(int index)
public double getX0()
public void setX0(double value)
value - doublepublic double getX1()
public void setX1(double value)
value - doublepublic double getY0()
public void setY0(double value)
value - doublepublic double getY1()
public void setY1(double value)
value - doublepublic ShapeStyle getStyle()
public void setStyle(ShapeStyle value)
value - ShapeStylepublic TextShape getFormat()
public ShapeTextVertAlign getVertAlignment()
public void setVertAlignment(ShapeTextVertAlign value)
value - ShapeTextVertAlignpublic ShapeTextHorizAlign getHorizAlignment()
public void setHorizAlignment(ShapeTextHorizAlign value)
value - ShapeTextHorizAlignpublic void drawValue(int valueIndex)
drawValue in interface ISeriesdrawValue in class SeriesvalueIndex - intprotected void addSampleValues(int numValues)
addSampleValues in class Series
public int clicked(int x,
int y)
clicked in interface ISeriesclicked in class Seriesx - inty - int
public ChartFont getFont()
public ChartBrush getBrush()
public ChartPen getPen()
public Gradient getGradient()
public java.lang.String[] getText()
public void setText(java.lang.String[] value)
public boolean getTransparent()
public void setTransparent(boolean value)
value - booleanpublic void prepareForGallery(boolean isEnabled)
prepareForGallery in class Seriespublic void calcZOrder()
calcZOrder in class Seriesprotected boolean moreSameZOrder()
Series
moreSameZOrder in class Seriespublic ShapeXYStyle getXYStyle()
public void setXYStyle(ShapeXYStyle value)
value - ShapeXYStylepublic boolean isValidSourceOf(Series s)
isValidSourceOf in class Seriess - Series
public void createSubGallery(Gallery addSubChart)
createSubGallery in class Seriespublic void setSubGallery(int index)
Series
setSubGallery in interface ISeriessetSubGallery in class Seriesindex - intpublic java.lang.String getDescription()
getDescription in class Series
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||