|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectField
com.steema.teechart.TChart
public class TChart
Title: TeeChart for BlackBerry
Description: TeeChart for BlackBerry
Copyright: (c) 2005-2012 by Steema Software. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary | |
---|---|
static interface |
TChart.Scrollable
|
Field Summary | |
---|---|
protected AxisLabelResolver |
axisLabelResolver
|
protected LegendResolver |
legendResolver
|
Point |
mousePosition
|
protected TChart.Scrollable |
scrollable
|
Constructor Summary | |
---|---|
TChart()
|
Method Summary | |
---|---|
Series |
addSeries(Series s)
Adds a new Series. |
void |
checkBackground(java.lang.Object sender,
FrameworkMouseEvent e)
|
boolean |
checkClickSeries()
|
Graphics3D |
checkGraphics()
|
void |
checkTitle(Title aTitle,
FrameworkMouseEvent e,
ClickedParts c)
|
void |
copyToClipboard(java.lang.Object content)
|
void |
doAfterDraw()
|
void |
doAfterDrawSeries()
|
void |
doAllowScroll(Axis a,
double delta,
ScrollResult result)
|
void |
doBeforeDraw()
|
void |
doBeforeDrawAxes()
|
void |
doBeforeDrawSeries()
|
void |
doChartPrint()
|
void |
doClickAxis(Axis a,
FrameworkMouseEvent e)
|
void |
doClickLegend(Legend legend,
FrameworkMouseEvent e)
|
void |
doClickSeries(java.lang.Object sender,
Series s,
int valueIndex,
FrameworkMouseEvent e)
|
void |
doDrawImage(IGraphics3D g)
|
void |
doInvalidate()
|
void |
doScroll(java.lang.Object sender)
|
void |
doSetBuffered(boolean value)
|
void |
doUnZoomed(java.lang.Object sender)
|
void |
doZoomed(java.lang.Object sender)
|
protected void |
fireChartAdded(ChartEvent e)
|
protected boolean |
fireChartClicked(ChartMouseEvent e)
|
protected void |
fireChartMotion(ChartEvent e)
|
protected void |
fireChartPaint(ChartDrawEvent e)
|
protected void |
fireChartPrint(ChartDrawEvent ce)
|
protected void |
fireSeriesClick(SeriesMouseEvent seriesClickEvent)
|
Aspect |
getAspect()
Accesses view characteristics of the Chart. |
boolean |
getAutoRepaint()
Enables/Disables repainting of Chart when points are added. |
Axes |
getAxes()
|
AxisLabelResolver |
getAxisLabelResolver()
|
Image |
getBackgroundImage()
Returns background image of TChart |
IGraphics3D |
getCanvas()
|
Chart |
getChart()
|
java.lang.Object |
getControl()
|
int |
getControlHeight()
|
int |
getControlWidth()
|
Exports |
getExport()
|
Footer |
getFooter()
Defines Text shown at the bottom of the Chart. |
java.lang.Object |
getGraphics()
|
IGraphics3D |
getGraphics3D()
|
Header |
getHeader()
Defines the Text and formatting properties to be drawn at the top of the Chart. |
Imports |
getImport()
|
Legend |
getLegend()
Legend characteristics. |
LegendResolver |
getLegendResolver()
|
Page |
getPage()
Accesses multiple page characteristics of the Chart. |
Panel |
getPanel()
Background visible attributes. |
Scroll |
getPanning()
Accesses Panning characteristics. |
int |
getPreferredHeight()
|
int |
getPreferredWidth()
|
Printer |
getPrinter()
Printing related attributes. |
int |
getScreenHeight()
|
int |
getScreenWidth()
|
SeriesCollection |
getSeries()
|
Series |
getSeries(int index)
|
int |
getSeriesCount()
Returns the number of Series in Chart. |
Footer |
getSubFooter()
Defines Text shown directly above Footer. |
Header |
getSubHeader()
Defines Text shown directly below Header. |
Cursor |
getTeeCursor()
|
java.lang.String |
getText()
The text for the Footer, Header, SubFooter and SubHeader. |
ToolsCollection |
getTools()
|
Walls |
getWalls()
|
Zoom |
getZoom()
Accesses the Zoom characteristics of the Chart. |
Image |
image(int width,
int height)
|
boolean |
invertedRotation()
|
boolean |
isDesignTime()
|
boolean |
isFocusable()
|
protected void |
layout(int width,
int height)
Lay out the graph |
void |
mouseDragged(FrameworkMouseEvent e)
|
void |
mouseMoved(FrameworkMouseEvent e)
Captures current mouse position every time the mouse is moved. |
protected void |
onDraw(Graphics canvas)
|
boolean |
onTouch(Field v,
TouchEvent message)
|
boolean |
onTrackballEvent(TouchEvent message)
|
protected void |
paint(Graphics graphics)
|
Point |
pointToScreen(Point p)
|
protected void |
processMouseEvent(FrameworkMouseEvent e)
|
protected void |
processMouseMotionEvent(FrameworkMouseEvent e)
|
void |
refreshControl()
|
void |
removeAllSeries()
Removes all Series. |
void |
removeAxisLabelResolver()
|
void |
removeLegendResolver()
|
void |
removeScrollable()
|
void |
setAutoRepaint(boolean value)
Enables/Disables repainting of Chart when points are added. |
void |
setAxes(Axes axes)
|
void |
setAxisLabelResolver(AxisLabelResolver resolver)
|
void |
setBackground(Color value)
Sets the color the Chart rectangle is filled with. |
void |
setCanvas(Graphics3D value)
|
void |
setChart(Chart value)
|
void |
setCursor(Cursor cursor)
|
void |
setExtent(int xwidth,
int xheight)
|
void |
setFooter(Footer footer)
|
void |
setGraphics3D(Graphics3D value)
|
void |
setHeader(Header header)
|
void |
setHeight(int value)
|
void |
setLegend(Legend legend)
|
void |
setLegendResolver(LegendResolver resolver)
|
void |
setOpaque(boolean value)
|
void |
setPage(Page page)
|
void |
setPanel(Panel panel)
|
void |
setPanning(Scroll panning)
|
void |
setPrinter(Printer printer)
|
void |
setScrollable(TChart.Scrollable scrollable)
|
void |
setSeries(int index,
Series value)
|
void |
setSubFooter(Footer subFooter)
|
void |
setSubHeader(Header subHeader)
|
void |
setText(java.lang.String value)
Sets the text for the Footer, Header, SubFooter and SubHeader. |
void |
setToolTip(ToolTip tooltip,
java.lang.String text)
|
void |
setWalls(Walls walls)
|
void |
setWidth(int value)
|
void |
setZoom(Zoom zoom)
|
void |
showEditor()
Shows the TeeChart editor dialog. |
void |
timerExec(int time,
java.lang.Runnable runnable)
|
Chart |
xmlDecode(java.io.InputStream stream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.steema.teechart.IChart |
---|
isDisposing, setDisposing |
Field Detail |
---|
public Point mousePosition
protected TChart.Scrollable scrollable
protected transient LegendResolver legendResolver
protected transient AxisLabelResolver axisLabelResolver
Constructor Detail |
---|
public TChart()
Method Detail |
---|
protected void fireSeriesClick(SeriesMouseEvent seriesClickEvent)
protected void fireChartAdded(ChartEvent e)
protected boolean fireChartClicked(ChartMouseEvent e)
protected void fireChartMotion(ChartEvent e)
protected void fireChartPaint(ChartDrawEvent e)
protected void fireChartPrint(ChartDrawEvent ce)
public int getPreferredWidth()
public int getPreferredHeight()
public void setExtent(int xwidth, int xheight)
protected void paint(Graphics graphics)
protected void onDraw(Graphics canvas)
public Cursor getTeeCursor()
getTeeCursor
in interface IChart
public void doBeforeDrawAxes()
doBeforeDrawAxes
in interface IChart
public void doAfterDrawSeries()
doAfterDrawSeries
in interface IChart
public void doBeforeDrawSeries()
doBeforeDrawSeries
in interface IChart
public void doAfterDraw()
doAfterDraw
in interface IChart
public void doBeforeDraw()
doBeforeDraw
in interface IChart
public void doClickSeries(java.lang.Object sender, Series s, int valueIndex, FrameworkMouseEvent e)
doClickSeries
in interface IChart
public void doAllowScroll(Axis a, double delta, ScrollResult result)
doAllowScroll
in interface IChart
public void setCursor(Cursor cursor)
setCursor
in interface IChart
public void setOpaque(boolean value)
setOpaque
in interface IChart
public void setToolTip(ToolTip tooltip, java.lang.String text)
setToolTip
in interface IChart
public void refreshControl()
refreshControl
in interface IChart
public void checkTitle(Title aTitle, FrameworkMouseEvent e, ClickedParts c)
checkTitle
in interface IChart
public void doClickLegend(Legend legend, FrameworkMouseEvent e)
doClickLegend
in interface IChart
public void doScroll(java.lang.Object sender)
doScroll
in interface IChart
public void doZoomed(java.lang.Object sender)
doZoomed
in interface IChart
public void doSetBuffered(boolean value)
doSetBuffered
in interface IChart
public void doUnZoomed(java.lang.Object sender)
doUnZoomed
in interface IChart
public void doInvalidate()
doInvalidate
in interface IChart
public Point pointToScreen(Point p)
pointToScreen
in interface IChart
public Chart getChart()
public void showEditor()
public java.lang.String getText()
public void setText(java.lang.String value)
value
- Stringpublic Panel getPanel()
public Printer getPrinter()
public Page getPage()
public Legend getLegend()
public Header getHeader()
public Header getSubHeader()
public Footer getFooter()
public Zoom getZoom()
public Scroll getPanning()
public Footer getSubFooter()
public Aspect getAspect()
public IGraphics3D getCanvas()
public void setCanvas(Graphics3D value)
public IGraphics3D getGraphics3D()
public void setGraphics3D(Graphics3D value)
public SeriesCollection getSeries()
public ToolsCollection getTools()
public Walls getWalls()
public Axes getAxes()
public Exports getExport()
public Imports getImport()
public Series getSeries(int index)
public void setAxes(Axes axes)
public void setFooter(Footer footer)
public void setHeader(Header header)
public void setLegend(Legend legend)
public void setSubFooter(Footer subFooter)
public void setSubHeader(Header subHeader)
public void setWalls(Walls walls)
public void setZoom(Zoom zoom)
public void setSeries(int index, Series value)
public void setPanel(Panel panel)
public void setPage(Page page)
public void setPrinter(Printer printer)
public void setPanning(Scroll panning)
public void setBackground(Color value)
value
- Colorpublic void mouseDragged(FrameworkMouseEvent e)
public void mouseMoved(FrameworkMouseEvent e)
e
- MouseEventpublic Series addSeries(Series s)
s
- Series
public boolean getAutoRepaint()
public void setAutoRepaint(boolean value)
value
- booleangetAutoRepaint()
public void setHeight(int value)
public void setWidth(int value)
public void removeAllSeries()
public int getSeriesCount()
public void setScrollable(TChart.Scrollable scrollable)
public void removeScrollable()
public Image getBackgroundImage()
public void doDrawImage(IGraphics3D g)
doDrawImage
in interface IChart
public void setChart(Chart value)
value
- Chartpublic void setLegendResolver(LegendResolver resolver)
public void removeLegendResolver()
public LegendResolver getLegendResolver()
getLegendResolver
in interface IChart
public void doChartPrint()
doChartPrint
in interface IChart
public Graphics3D checkGraphics()
checkGraphics
in interface IChart
public void doClickAxis(Axis a, FrameworkMouseEvent e)
doClickAxis
in interface IChart
public void checkBackground(java.lang.Object sender, FrameworkMouseEvent e)
checkBackground
in interface IChart
public void setAxisLabelResolver(AxisLabelResolver resolver)
setAxisLabelResolver
in interface IChart
public void removeAxisLabelResolver()
removeAxisLabelResolver
in interface IChart
public AxisLabelResolver getAxisLabelResolver()
getAxisLabelResolver
in interface IChart
protected void processMouseEvent(FrameworkMouseEvent e)
protected void processMouseMotionEvent(FrameworkMouseEvent e)
public boolean checkClickSeries()
checkClickSeries
in interface IChart
public boolean isDesignTime()
isDesignTime
in interface IChart
public void timerExec(int time, java.lang.Runnable runnable)
timerExec
in interface IChart
public void copyToClipboard(java.lang.Object content)
copyToClipboard
in interface IChart
public Chart xmlDecode(java.io.InputStream stream)
xmlDecode
in interface IChart
public java.lang.Object getGraphics()
getGraphics
in interface IChart
public int getScreenHeight()
getScreenHeight
in interface IChart
public int getScreenWidth()
getScreenWidth
in interface IChart
public java.lang.Object getControl()
getControl
in interface IChart
public int getControlWidth()
getControlWidth
in interface IChart
public int getControlHeight()
getControlHeight
in interface IChart
public Image image(int width, int height)
image
in interface IChart
public boolean onTouch(Field v, TouchEvent message)
public boolean onTrackballEvent(TouchEvent message)
public boolean invertedRotation()
invertedRotation
in interface IChart
protected void layout(int width, int height)
Lay out the graph
width
- The maximum width available.height
- The maximum height available.public boolean isFocusable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |