|
||||||||||
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.SeriesPointer
public class SeriesPointer
Title: SeriesPointer class
Description: Some Series have a Pointer method which returns a SeriesPointer class. Pointers are shape figures drawn on each Y point coordinate.
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
protected boolean |
allowChangeSize
|
protected boolean |
bVisible
|
protected boolean |
defaultVisible
|
protected boolean |
draw3D
|
protected int |
xMinus
|
protected int |
xPlus
|
protected int |
yMinus
|
protected int |
yPlus
|
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart, InternalUse |
Constructor Summary | |
---|---|
SeriesPointer(IBaseChart c,
ISeries s)
|
Method Summary | |
---|---|
void |
assign(SeriesPointer source)
|
protected void |
calcHorizMargins(Margins margins)
|
protected void |
calcVerticalMargins(Margins margins)
|
void |
draw(IGraphics3D g,
boolean is3D,
int px,
int py,
int tmpHoriz,
int tmpVert,
Color colorValue,
PointerStyle aStyle)
Internal use. |
void |
draw(int px,
int py,
Color colorValue)
|
void |
draw(int px,
int py,
Color colorValue,
PointerStyle aStyle)
|
void |
draw(Point p,
Color colorValue)
|
void |
draw(Point p,
Color colorValue,
PointerStyle style)
|
protected void |
drawLegendShape(Color color,
Rectangle rect,
boolean drawPen)
|
protected void |
drawLegendShape(IGraphics3D g,
Color color,
Rectangle rect,
boolean drawPen)
|
ChartBrush |
getBrush()
Brush used to fill Series Pointers. |
Color |
getColor()
The pointer color. |
boolean |
getDark3D()
Fills pointer sides in 3D mode with darker color. |
boolean |
getDraw3D()
Draws pointer in 3D mode. |
int |
getEndZ()
For internal use. |
Gradient |
getGradient()
Configures Gradient filling attributes. |
int |
getHorizSize()
Horizontal size of pointer in pixels. |
boolean |
getInflateMargins()
Expands axes to fit pointers. |
int |
getMiddleZ()
For internal use. |
ChartPen |
getPen()
Pen used to draw a frame around Series Pointers. |
ISeries |
getSeries()
|
int |
getStartZ()
For internal use. |
PointerStyle |
getStyle()
The Pointer style. |
int |
getTransparency()
The Percent of semiglass effect. |
int |
getVertSize()
The Horizontal size of pointer in pixels. |
boolean |
getVisible()
Shows or hides the pointer. |
protected void |
prepareCanvas(IGraphics3D g,
Color colorValue)
|
protected java.lang.Object |
readResolve()
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setColor(Color value)
Sets the pointer color. |
void |
setDark3D(boolean value)
Fills pointer sides in 3D mode with darker color. |
void |
setDraw3D(boolean value)
Draws pointer in 3D mode. |
void |
setHorizSize(int value)
Horizontal size of pointer in pixels. |
void |
setInflateMargins(boolean value)
Expands axes to fit pointers. |
void |
setStyle(PointerStyle value)
Sets the Pointer style. |
void |
setTransparency(int value)
Sets Percent of semiglass effect. |
void |
setVertSize(int value)
Sets Horizontal size of pointer in pixels. |
void |
setVisible(boolean value)
Shows or hides the pointer. |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean bVisible
protected transient boolean defaultVisible
protected boolean allowChangeSize
protected boolean draw3D
protected transient int xMinus
protected transient int xPlus
protected transient int yMinus
protected transient int yPlus
Constructor Detail |
---|
public SeriesPointer(IBaseChart c, ISeries s)
Method Detail |
---|
public void assign(SeriesPointer source)
protected java.lang.Object readResolve()
public boolean getDark3D()
public void setDark3D(boolean value)
value
- booleanpublic boolean getDraw3D()
public void setDraw3D(boolean value)
value
- booleanpublic boolean getVisible()
public void setVisible(boolean value)
value
- booleanpublic int getHorizSize()
public void setHorizSize(int value)
value
- intpublic boolean getInflateMargins()
public void setInflateMargins(boolean value)
value
- booleanpublic PointerStyle getStyle()
public void setStyle(PointerStyle value)
value
- PointerStylepublic ISeries getSeries()
public int getVertSize()
public void setVertSize(int value)
value
- intpublic int getTransparency()
public void setTransparency(int value)
Example:
bubbleSeries.getPointer().setTransparency(50); // -- 50 %
value
- intpublic Gradient getGradient()
Example:
bubbleSeries.getPointer().getGradient().setVisible(true);
public int getStartZ()
public int getMiddleZ()
public int getEndZ()
public Color getColor()
public void setColor(Color value)
value
- Colorpublic void setChart(IBaseChart c)
TeeBase
setChart
in class TeeBase
c
- IBaseChartpublic void draw(IGraphics3D g, boolean is3D, int px, int py, int tmpHoriz, int tmpVert, Color colorValue, PointerStyle aStyle)
g
- IGraphics3Dis3D
- booleanpx
- intpy
- inttmpHoriz
- inttmpVert
- intcolorValue
- ColoraStyle
- PointerStylepublic void draw(Point p, Color colorValue)
public void draw(Point p, Color colorValue, PointerStyle style)
public void draw(int px, int py, Color colorValue)
public void draw(int px, int py, Color colorValue, PointerStyle aStyle)
protected void prepareCanvas(IGraphics3D g, Color colorValue)
public ChartPen getPen()
public ChartBrush getBrush()
protected void drawLegendShape(Color color, Rectangle rect, boolean drawPen)
protected void drawLegendShape(IGraphics3D g, Color color, Rectangle rect, boolean drawPen)
protected void calcHorizMargins(Margins margins)
protected void calcVerticalMargins(Margins margins)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |