|
||||||||||
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.tools.Tool
com.steema.teechart.tools.ToolAxis
com.steema.teechart.tools.ColorBand
public class ColorBand
Title: ColorBand class
Description: Color band tool, use it to display a coloured rectangle (band) at the specified axis and position.
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary |
---|
Fields inherited from class com.steema.teechart.tools.ToolAxis |
---|
iAxis |
Fields inherited from class com.steema.teechart.tools.Tool |
---|
bBrush, clickTolerance, listenerList, pPen |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart, InternalUse |
Constructor Summary | |
---|---|
ColorBand()
|
|
ColorBand(IBaseChart c)
|
Method Summary | |
---|---|
void |
chartEvent(ChartDrawEvent e)
|
boolean |
clicked(int x,
int y)
|
void |
dragFinished(ChangeEvent e)
|
void |
dragMoving(ChangeEvent e)
|
ChartBrush |
getBrush()
Element Brush characteristics. |
Color |
getColor()
SThe Band Color. |
java.lang.String |
getDescription()
Gets descriptive text. |
boolean |
getDrawBehind()
Draws the Colorband behind the series values when true. |
double |
getEnd()
The End Axis value of colorband. |
ColorLine |
getEndLine()
Contains formatting properties for the automatic line used to drag the end value of the ColorBand tool at runtime. |
ChartPen |
getEndLinePen()
|
Gradient |
getGradient()
Sets Band colour gradient. |
boolean |
getResizeEnd()
Gets or sets if the ColorBand tool allows mouse dragging of the edge corresponding to the end value. |
boolean |
getResizeStart()
|
double |
getStart()
The Start Axis value of colorband. |
ColorLine |
getStartLine()
Contains formatting properties for the automatic line used to drag the start value of the ColorBand tool at runtime. |
ChartPen |
getStartLinePen()
|
java.lang.String |
getSummary()
Gets detailed descriptive text. |
int |
getTransparency()
The Transparency of ColorBand as percentage. |
Cursor |
mouseEvent(FrameworkMouseEvent e,
Cursor c)
|
void |
setAxis(Axis value)
Sets the axis to which a Tool will belong. |
void |
setColor(Color value)
Sets Band Color. |
void |
setDrawBehind(boolean value)
Draws the Colorband behind the series values when true. |
void |
setEnd(double value)
Sets End Axis value of colorband. |
void |
setResizeEnd(boolean value)
|
void |
setResizeStart(boolean value)
|
void |
setStart(double value)
Sets Start Axis value of colorband. |
void |
setTransparency(int value)
Sets the Transparency of ColorBand as percentage. |
Methods inherited from class com.steema.teechart.tools.ToolAxis |
---|
checkDrawHidden, getAxis, getPen |
Methods inherited from class com.steema.teechart.tools.Tool |
---|
dispose, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, readResolve, setActive, setChart, toString |
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, wait, wait, wait |
Constructor Detail |
---|
public ColorBand()
public ColorBand(IBaseChart c)
Method Detail |
---|
public Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent
in class Tool
public void setAxis(Axis value)
ToolAxis
setAxis
in class ToolAxis
value
- Axispublic java.lang.String getDescription()
getDescription
in class Tool
public java.lang.String getSummary()
getSummary
in class Tool
public boolean getDrawBehind()
public void setDrawBehind(boolean value)
value
- booleanpublic double getStart()
public void setStart(double value)
value
- doublepublic double getEnd()
public void setEnd(double value)
value
- doublepublic int getTransparency()
public void setTransparency(int value)
value
- intpublic Gradient getGradient()
public Color getColor()
public void setColor(Color value)
value
- Colorpublic ChartBrush getBrush()
public ColorLine getStartLine()
public ColorLine getEndLine()
public boolean getResizeEnd()
public void setResizeEnd(boolean value)
public boolean getResizeStart()
public void setResizeStart(boolean value)
public ChartPen getStartLinePen()
public ChartPen getEndLinePen()
public boolean clicked(int x, int y)
public void chartEvent(ChartDrawEvent e)
chartEvent
in class Tool
public void dragFinished(ChangeEvent e)
public void dragMoving(ChangeEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |