public class SeriesBand extends ToolSeries
Title: SeriesBand class
Description: Series Band tool.
Use it to display a band between two (line) series.
created 2003-12-14 by mkaul@leuze.de
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Tool.ToolListener
iSeries
bBrush, clickTolerance, listenerList, pPen
chart, InternalUse
Constructor and Description |
---|
SeriesBand() |
SeriesBand(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
chartEvent(ChartDrawEvent ce) |
protected void |
doAfterDrawValues(java.lang.Object sender) |
protected void |
doBeforeDrawValues(java.lang.Object sender) |
protected void |
drawBandTool() |
double |
getBoundValue()
Constant value to be used as one of the limits of band filled areas.
|
ChartBrush |
getBrush()
Element Brush characteristics.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
boolean |
getDrawBehindSeries()
Flag which causes filling to occur before or after the series are
displayed.
|
Gradient |
getGradient()
The gradient colors used to fill the area between the two series.
|
ChartPen |
getPen()
Indicates the kind of pen used to draw Series Band.
|
Series |
getSeries2()
Second series associated to this tool.
|
java.lang.String |
getSummary()
Gets detailed descriptive text.
|
int |
getTransparency()
The amount of semi-glass effect (opacity) to apply when filling the area
between the two series as percentage.
|
void |
setBoundValue(double value)
Sets a constant value to be used as one of the limits of band
filled areas.
|
void |
setBrush(ChartBrush value)
Set Brush characteristics.
|
void |
setDrawBehindSeries(boolean value)
Sets a flag which causes filling to occur before or after the series are
displayed.
|
void |
setGradient(Gradient value)
Sets the gradient colors used to fill the area between the two series.
|
void |
setPen(ChartPen value)
Determines the kind of pen used to draw Series Band.
|
void |
setSeries(Series value)
Sets the Series with which Tools are associated.
Default value: null |
void |
setSeries2(Series value)
Sets the second series associated to this tool.
SeriesBand tool needs two series to fill the area in between them. |
protected void |
SetSeries2(Series value) |
void |
setTransparency(int value)
Sets the amount of semi-glass effect (opacity) to apply when filling the
area between the two series as percentage.
|
getHorizAxis, getSeries, getVertAxis
addMouseMotionListener, addToolListener, dispose, fireActiveChanged, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, mouseEvent, readResolve, removeMouseMotionListener, removeToolListener, setActive, setChart, toString
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public SeriesBand()
public SeriesBand(IBaseChart c)
public double getBoundValue()
public void setBoundValue(double value)
value
- doublepublic boolean getDrawBehindSeries()
public void setDrawBehindSeries(boolean value)
value
- booleanpublic java.lang.String getDescription()
getDescription
in class Tool
public java.lang.String getSummary()
getSummary
in class Tool
public Series getSeries2()
public void setSeries2(Series value)
value
- Seriespublic ChartBrush getBrush()
public void setBrush(ChartBrush value)
value
- ChartBrushpublic ChartPen getPen()
public void setPen(ChartPen value)
value
- ChartPenpublic int getTransparency()
public void setTransparency(int value)
value
- intpublic Gradient getGradient()
public void setGradient(Gradient value)
value
- Gradientpublic void chartEvent(ChartDrawEvent ce)
chartEvent
in class Tool
public void setSeries(Series value)
ToolSeries
setSeries
in class ToolSeries
value
- Seriesprotected void SetSeries2(Series value)
protected void doBeforeDrawValues(java.lang.Object sender)
protected void doAfterDrawValues(java.lang.Object sender)
protected void drawBandTool()