|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.AbstractView<PaintTags>
lt.monarch.chart.AbstractChart<PaintTags,GeneralProjector>
lt.monarch.chart.MultiSeriesChartBase<ChartPaintTags,Projector3D>
lt.monarch.chart.chart3D.Chart3D
public class Chart3D extends MultiSeriesChartBase<ChartPaintTags,Projector3D>
Manages 3-dimensional chart objects
| Modifier and Type | Field and Description |
|---|---|
protected Axis3D |
axisX
|
protected Axis3D |
axisY
|
protected Axis3D |
axisZ
|
protected Projector3D |
projector
|
| Fields inherited from class lt.monarch.chart.AbstractChart |
|---|
draftMode, locale, plugins |
| Fields inherited from class lt.monarch.chart.AbstractView |
|---|
layoutInvalid, paintStyle, style |
| Constructor and Description |
|---|
Chart3D()
|
Chart3D(Projector3D projector)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(ChartObject obj)
Adds the specified chart object to the chart at run-time. |
void |
deactivate()
Deactivates this chart. |
int |
findObjectUnder(Point2D point)
Gets id from a selection buffer |
AntiAliasing |
getAntiAliasing()
Anti aliasing method for 3d chart |
GraphicsManager.GraphicsType |
getGraphicsType()
Returns graphics type |
Projector3D |
getProjector()
|
double |
getScaleLevel()
Chart scaling level. |
void |
invalidate()
Invalidates the view. |
boolean |
isSmoothFonts()
Are anti-aliased fonts drawn |
boolean |
isSmoothLines()
Are anti-aliased lines drawn |
protected void |
layout(AbstractGraphics g)
Layouts the chart. |
protected void |
paintChart(AbstractGraphics g)
Paints the chart. |
Projector3D |
projector()
Deprecated. |
void |
removeObject(ChartObject obj)
Removes the specified chart object from the chart at run-time. |
void |
setAntiAliasing(AntiAliasing antiAliasing)
Anti aliasing method for 3d chart |
void |
setAxis(Axis3D x,
Axis3D y,
Axis3D z)
Sets all three axes for a chart |
void |
setScaleLevel(double scaleLevel)
Chart scaling level. |
void |
setSmoothFonts(boolean smoothFonts)
Are anti-aliased fonts drawn |
void |
setSmoothLines(boolean smoothLines)
Are anti-aliased lines drawn |
| Methods inherited from class lt.monarch.chart.MultiSeriesChartBase |
|---|
activate, createLegendEntries, dispose, finalize, findObject, getContainingObjects, getObjects, layoutObjects, replaceObject, reset, setObjects, shiftObjects |
| Methods inherited from class lt.monarch.chart.AbstractChart |
|---|
addPlugin, disableDrafMode, enableDraftMode, fillEntitySheet, getDescription, getLocale, getParentEntity, getPlugins, getShortDescription, isDraftMode, paint, removePlugin, removePlugins, setDraftMode, setLocale |
| Methods inherited from class lt.monarch.chart.AbstractView |
|---|
addViewListener, clone, container, getAlignmentX, getAlignmentY, getBounds, getChartObjectBounds, getContainer, getHeight, getMaximumSize, getMinimumSize, getPaintMode, getPaintStyle, getParent, getPreferredSize, getSize, getSize, getStyle, getStyle, getWidth, getX, getY, isLayoutValid, removeViewListener, render, repaint, repaint, setAlignmentX, setAlignmentY, setBounds, setBounds, setContainer, setLocation, setMaximumSize, setMinimumSize, setPaintMode, setPreferredSize, setSize, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.engine.View |
|---|
addViewListener, clone, container, getAlignmentX, getAlignmentY, getBounds, getHeight, getMaximumSize, getMinimumSize, getPreferredSize, getSize, getSize, getStyle, getWidth, getX, getY, removeViewListener, render, repaint, repaint, setAlignmentX, setAlignmentY, setBounds, setBounds, setContainer, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize, validate |
| Field Detail |
|---|
protected Projector3D projector
protected Axis3D axisX
protected Axis3D axisY
protected Axis3D axisZ
| Constructor Detail |
|---|
public Chart3D()
public Chart3D(Projector3D projector)
| Method Detail |
|---|
@Deprecated public Projector3D projector()
Chart
public Projector3D getProjector()
public void setAxis(Axis3D x,
Axis3D y,
Axis3D z)
x - x axisy - y axisz - z axisprotected void paintChart(AbstractGraphics g)
MultiSeriesChartBaselayout methods for AbstractBarSeries
are called. Layout method itself is not static, but bar and series spacing access methods are
static. All chart objects are drawn.
paintChart in class MultiSeriesChartBase<ChartPaintTags,Projector3D>g - the Graphics context in which chart will be paintedAbstractBarSeries.layout(int, int)public void addObject(ChartObject obj)
MultiSeriesChartBase
addObject in class MultiSeriesChartBase<ChartPaintTags,Projector3D>obj - the chart objectpublic void removeObject(ChartObject obj)
MultiSeriesChartBase
removeObject in class MultiSeriesChartBase<ChartPaintTags,Projector3D>obj - the chart objectpublic void invalidate()
AbstractView
invalidate in interface Viewinvalidate in class AbstractChart<ChartPaintTags,Projector3D>protected void layout(AbstractGraphics g)
MultiSeriesChartBaselayout method of super class and all chart objects are
called.
layout in class MultiSeriesChartBase<ChartPaintTags,Projector3D>g - the Graphics context in which chart will be paintedpublic GraphicsManager.GraphicsType getGraphicsType()
AbstractView
getGraphicsType in interface ViewgetGraphicsType in class AbstractView<ChartPaintTags>public AntiAliasing getAntiAliasing()
public void setAntiAliasing(AntiAliasing antiAliasing)
public double getScaleLevel()
public void setScaleLevel(double scaleLevel)
public boolean isSmoothLines()
public void setSmoothLines(boolean smoothLines)
public boolean isSmoothFonts()
public void setSmoothFonts(boolean smoothFonts)
public int findObjectUnder(Point2D point)
point - selection pointpublic void deactivate()
MultiSeriesChartBasedeactivate method of super class is called and parent
chart to all containing chart objects is set to null.
deactivate in class MultiSeriesChartBase<ChartPaintTags,Projector3D>AbstractView.deactivate(),
HotSpotMap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||