|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.davisor.graphics.RenderAttributes
com.davisor.graphics.chart.BackRenderAttributes
BackRenderAttributes represents chart background rendering attributes. The attributes control in particular the following chart background area aspects:
null value, or setting the
stroke line width to zero. For more information about working with
strokes and paint, please see the StrokeType and PaintType documentation.
The chart's background fill paint will be applied to the whole area
left within and beneath the chart borderline before the actual
chart rendering begins. The background paint will therefore
determine the appearance of all areas not later covered with actual
chart components. The background area paint can be defined by any
Paint object, including image, gradient and solid
color paints, or even annotated paints. The PaintType
documentation describes the recommended paint definition system,
but any paint objects may be used if so desired.
AxisRenderAttributes,
PlotRenderAttributes,
ChartAttributes,
Serialized Form| Field Summary | |
static int |
BACK
Index for the background attribute set (1). |
static int |
DEFAULTS
Index for the default attributes set (0). |
static int |
NROFSETS
Number of render attributes (2). |
| Fields inherited from class com.davisor.graphics.RenderAttributes |
ANTIALIASINDEX, ANTIALIASWORDS, AUTO, CEILING, CENTER, DIAGONAL, DOWN, FLOOR, FRONT, GRAPHICS, HORIZONTAL, INSIDE, LEFT, LEFTWALL, LINE, M_alignment, M_color, M_composite, M_defaultIndex, M_defaults, M_font, M_paint, M_shape, M_size, M_stroke, NE, NONE, NW, OFF, ON, OUTSIDE, RIGHT, RIGHTWALL, SE, SW, TEXT, THROUGH, UNSET, UP, VERTICAL |
| Constructor Summary | |
BackRenderAttributes()
Default constructor. |
|
BackRenderAttributes(BackRenderAttributes ra)
Shallow copy constructor. |
|
BackRenderAttributes(BackRenderAttributes ra,
BackRenderAttributes defaults)
Shallow copy constructor, with explicitly given default values. |
|
BackRenderAttributes(java.awt.Paint color,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Shape shape,
java.awt.Font font,
int aligment,
java.awt.Composite composite,
RenderAttributes defaults)
Creates a render attributes set with the given initial default attribute values. |
|
| Method Summary | |
com.davisor.core.Dupable |
dup()
Duplicates this object. |
java.lang.String |
toString()
Gets rendering attributes XML representation. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DEFAULTS
public static final int BACK
public static final int NROFSETS
| Constructor Detail |
public BackRenderAttributes()
RenderAttributes.RenderAttributes(int)public BackRenderAttributes(BackRenderAttributes ra)
ra - render attributes to be copied (may be null)RenderAttributes.RenderAttributes(RenderAttributes)
public BackRenderAttributes(BackRenderAttributes ra,
BackRenderAttributes defaults)
ra - render attributes to be copied (may be null)defaults - default render attibutes (may be null)RenderAttributes.RenderAttributes(RenderAttributes,RenderAttributes)
public BackRenderAttributes(java.awt.Paint color,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Shape shape,
java.awt.Font font,
int aligment,
java.awt.Composite composite,
RenderAttributes defaults)
color - initial color attribute values (may be null)paint - initial paint attribute values (may be null)stroke - initial stroke attribute values (may be null)shape - initial shape attribute values (may be null)font - initial font attribute values (may be null)aligment - initial aligment attribute values (may be null)composite - initial composite attribute values (may be null)defaults - default attribute values (may be null)RenderAttributes.RenderAttributes(int,RenderAttributes,int,
Paint,Paint,Stroke,Shape,Font,int,
Composite)| Method Detail |
public com.davisor.core.Dupable dup()
dup in interface com.davisor.core.Dupabledup in class RenderAttributespublic java.lang.String toString()
toString in class RenderAttributesRenderAttributes.toString(int,String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||