|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<AxisPaintTags>
lt.monarch.chart.mapper.Axis
lt.monarch.chart.chart2D.axis.Axis2D
lt.monarch.chart.chart2D.axis.Axis2DRadar
public class Axis2DRadar extends Axis2D
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class lt.monarch.chart.chart2D.axis.Axis2D |
|---|
Axis2D.AxisLabelEntity |
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.chart2D.axis.Axis2D |
|---|
arrowPolygon, arrowPolygon2, arrowSettings, axisAlign, axisOrientation, dataModel, dragFrom, dragTo, finestVisibleScale, isMoreZoomAvailable, isScrollable, isVisible, isZooming, isZoomingEnabled, labelSettings, mappedAxis, mappedValue, mappedValueCoord, metaModel, mouseClick, mouseListener, mouseMotionListener, pt2D1, pt2D2, range, rangeListener, tickSettings |
| Fields inherited from class lt.monarch.chart.mapper.Axis |
|---|
isInvertedMapper, mapper, textStyle |
| Fields inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style |
| Constructor and Description |
|---|
Axis2DRadar(AxisMapper mapper,
Orientation axisOrientation)
|
Axis2DRadar(AxisMapper mapper,
Orientation axisOrientation,
MetaDataModel metaModel,
DataModel dataModel)
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawAxis(AbstractGraphics g)
Draws axis line |
protected void |
drawLabels(AbstractGraphics g,
LinearLabelLayouter layouter)
Draws the labels of the axis in the specified Graphics context. |
protected void |
drawTicksLabels(AbstractGraphics g,
LinearLabelLayouter layouter)
|
protected void |
drawTitle(AbstractGraphics g,
LinearLabelLayouter layouter,
AxisTitle axisTitle)
Draws the title of the axis and updates label layouter that is used to layout the axis labels. |
protected Rectangle2D |
getActiveArea()
Returns the Rectangle representing active area. |
int |
getIndex()
Radar axis index |
Projector2D |
getProjector()
Returns modified projector. |
AbstractAxisLabel[] |
getVisibleLabels()
Returns objects of visible labels. |
protected Axis2D[] |
getZoomableAxes()
Gets all zoomable axes for the specified orientation |
boolean |
isShowLabels()
Are labels displayed on axis |
void |
prepare(AbstractGraphics g)
Calculates axis boundaries and range. |
void |
setIndex(int index)
Radar axis index |
void |
setShowLabels(boolean showLabels)
Are labels displayed on axis |
void |
setTitle(int titleNr,
AxisTitle title)
|
| Methods inherited from class lt.monarch.chart.chart2D.axis.Axis2D |
|---|
activate, createAxisLabel, deactivate, digitizePosition, draw, drawArrow, drawSecondArrow, drawZoomRectangle, getArrowPolygon, getArrowSettings, getAxisAlign, getAxisAlignment, getBounds, getChartObjectBounds, getFinestScale, getLabelSettings, getMappedAxis, getMappedValue, getMappedValueCoord, getMetaDataModel, getPreferredInsets, getStyle, getTickLength, getTickSettings, isScrollable, isVisible, isZoomingEnabled, setAxisAlign, setAxisPosition, setBounds, setMappedValueCoord, setScrollable, setVisible, setZoomingEnabled |
| Methods inherited from class lt.monarch.chart.mapper.Axis |
|---|
getFont, getMapper, getSortPosition, getTextStyle, getTitle, getTitles, getTitleSettings, setTitle |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, invalidate, layout, repaint, repaint, setChart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Axis2DRadar(AxisMapper mapper,
Orientation axisOrientation)
public Axis2DRadar(AxisMapper mapper,
Orientation axisOrientation,
MetaDataModel metaModel,
DataModel dataModel)
mapper - the axis mapperaxisOrientation - axis orientationmetaModel - meta data modeldataModel - data model| Method Detail |
|---|
protected void drawAxis(AbstractGraphics g)
Axis2D
drawAxis in class Axis2Dg - graphics context
protected void drawLabels(AbstractGraphics g,
LinearLabelLayouter layouter)
Axis2D
drawLabels in class Axis2Dg - the Graphics context in which the axis labels to paintlayouter - the Layouter used to layout axis labels
protected void drawTicksLabels(AbstractGraphics g,
LinearLabelLayouter layouter)
drawTicksLabels in class Axis2D
public void setTitle(int titleNr,
AxisTitle title)
setTitle in class Axis
protected void drawTitle(AbstractGraphics g,
LinearLabelLayouter layouter,
AxisTitle axisTitle)
Axis2D
drawTitle in class Axis2Dg - the Graphics context in which the axis title to paintlayouter - the label layouter used to layout axis labelsaxisTitle - the axis title to drawprotected Rectangle2D getActiveArea()
Axis2D
getActiveArea in class Axis2Dpublic AbstractAxisLabel[] getVisibleLabels()
Axis2D
getVisibleLabels in class Axis2Dprotected Axis2D[] getZoomableAxes()
Axis2D
getZoomableAxes in class Axis2Dpublic void prepare(AbstractGraphics g)
Axis2D
prepare in class Axis2Dg - current Graphics context.public Projector2D getProjector()
getProjector in class Axis2Dpublic int getIndex()
public void setIndex(int index)
public boolean isShowLabels()
public void setShowLabels(boolean showLabels)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||