|
|||||||||||
| 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.MarkerRenderAttributes
MarkerRenderAttributes represents rendering attributes for chart axis markers. The attributes cover the following sets of rendering attributes:
AxisRenderAttributes,
BackRenderAttributes,
ChartAttributes,
PlotRenderAttributes,
Serialized Form| Field Summary | |
static int |
DEFAULTS
Index for the default attribute set (0). |
static int |
LABEL
Index for the label attribute set (3). |
static int |
LINE
Index for the line attribute set (2). |
static int |
NROFSETS
Number of marker render attribute sets (4). |
static int |
POINT
Index for the point attribute set (1). |
| Fields inherited from class com.davisor.graphics.RenderAttributes |
ANTIALIASINDEX, ANTIALIASWORDS, AUTO, BACK, CEILING, CENTER, DIAGONAL, DOWN, FLOOR, FRONT, GRAPHICS, HORIZONTAL, INSIDE, LEFT, LEFTWALL, 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 | |
MarkerRenderAttributes()
Default constructor. |
|
MarkerRenderAttributes(MarkerRenderAttributes ra)
Shallow copy constructor. |
|
MarkerRenderAttributes(MarkerRenderAttributes ra,
MarkerRenderAttributes defaults)
Shallow copy constructor, with explicity given default values. |
|
MarkerRenderAttributes(java.awt.Paint[] colors,
java.awt.Paint[] paints,
java.awt.Stroke[] strokes,
java.awt.Shape[] shapes,
java.awt.Font[] fonts,
int[] aligments,
java.awt.Composite[] composites,
RenderAttributes defaults)
Creates a render attributes set with given the initial attribute values. |
|
MarkerRenderAttributes(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 marker 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 POINT
public static final int LINE
public static final int LABEL
public static final int NROFSETS
| Constructor Detail |
public MarkerRenderAttributes()
RenderAttributes.RenderAttributes(int)public MarkerRenderAttributes(MarkerRenderAttributes ra)
ra - render attributes to be copied (may be null)RenderAttributes.RenderAttributes(RenderAttributes)
public MarkerRenderAttributes(MarkerRenderAttributes ra,
MarkerRenderAttributes defaults)
ra - render attributes to be copied (may be null)defaults - default render attibutes (may be null)RenderAttributes.RenderAttributes(RenderAttributes,RenderAttributes)
public MarkerRenderAttributes(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)
public MarkerRenderAttributes(java.awt.Paint[] colors,
java.awt.Paint[] paints,
java.awt.Stroke[] strokes,
java.awt.Shape[] shapes,
java.awt.Font[] fonts,
int[] aligments,
java.awt.Composite[] composites,
RenderAttributes defaults)
null (or UNSET).
colors - initial color attribute values (may be null)paints - initial paint attribute values (may be null)strokes - initial stroke attribute values (may be null)shapes - initial shape attribute values (may be null)fonts - initial font attribute values (may be null)aligments - initial aligment attribute values (may be null)composites - 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()
RenderAttributes
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 | ||||||||||