|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<MarkerTextPaintTags>
lt.monarch.chart.marker.BoxMarker
public class BoxMarker extends AbstractChartObject<MarkerTextPaintTags>
Renders a BoxMarker. BoxMarker is similar to chart itself as it displays chart data, only resized.
| Modifier and Type | Field and Description |
|---|---|
protected PlaneMapper |
mapper
|
Style |
style
Local stylesheet. |
protected AxisMapper |
xMapper
|
protected java.lang.Object |
xPos1
|
protected java.lang.Object |
xPos2
|
protected AxisMapper |
yMapper
|
protected java.lang.Object |
yPos1
|
protected java.lang.Object |
yPos2
|
| 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 |
| Constructor and Description |
|---|
BoxMarker(Axis xAxis,
Axis yAxis)
Constructs a box marker. |
BoxMarker(PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
Constructs a box marker with given plane mapper and axis mappers. |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(AbstractGraphics g)
Paints the box marker using current style foreground and background colors. |
PaintStyle<MarkerTextPaintTags> |
getPaintStyle()
Gets series paint style object |
Projector |
getProjector()
Returns modified projector. |
int |
getSortPosition()
Returns chart object paint order index. |
void |
setBounds(java.lang.Object x1,
java.lang.Object y1,
java.lang.Object x2,
java.lang.Object y2)
Sets rectangle bounds. |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
activate, chart, copy, deactivate, dispose, finalize, getChart, getChartObjectBounds, getParent, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final PlaneMapper mapper
protected final AxisMapper xMapper
protected final AxisMapper yMapper
protected java.lang.Object xPos1
protected java.lang.Object yPos1
protected java.lang.Object xPos2
protected java.lang.Object yPos2
public final Style style
| Constructor Detail |
|---|
public BoxMarker(Axis xAxis,
Axis yAxis)
xAxis - X axisyAxis - Y axis
public BoxMarker(PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
mapper - plane mapperxMapper - X axis mapperyMapper - Y axis mapper| Method Detail |
|---|
public Projector getProjector()
public void draw(AbstractGraphics g)
g - Graphics context
public void setBounds(java.lang.Object x1,
java.lang.Object y1,
java.lang.Object x2,
java.lang.Object y2)
x1 - X position value of starting cornery1 - Y position value of starting cornerx2 - X position value of opposite cornery2 - Y position value of opposite cornerpublic PaintStyle<MarkerTextPaintTags> getPaintStyle()
AbstractChartObject
getPaintStyle in class AbstractChartObject<MarkerTextPaintTags>public int getSortPosition()
ChartObject
getSortPosition in interface ChartObjectgetSortPosition in class AbstractChartObject<MarkerTextPaintTags>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||