|
|||||||||||
| 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.AxisRenderAttributes
AxisRenderAttributes represents rendering attributes for chart axes. The attributes cover the following sets of rendering attributes:
AxisFactory, will use those
attributes it finds meaningfull, and ignores the rest.
BackRenderAttributes,
ChartAttributes,
PlotRenderAttributes,
Serialized Form| Field Summary | |
static int |
BACK
Index for the back attribute set (6). |
static int |
DEFAULTS
Index for the default attribute set (0). |
static int |
GRID
Index for the grid attribute set (2). |
static int |
LABEL
Index for the label attribute set (3). |
static int |
LINE
Index for the axis attribute set (1). |
static int |
NROFSETS
Number of axis render attribute sets (7). |
static int |
TIC
Index for the title attribute set (4). |
static int |
TITLE
Index for the title attribute set (5). |
| Fields inherited from class com.davisor.graphics.RenderAttributes |
ANTIALIASINDEX, ANTIALIASWORDS, AUTO, 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 | |
AxisRenderAttributes()
Default constructor. |
|
AxisRenderAttributes(AxisRenderAttributes ra)
Shallow copy constructor. |
|
AxisRenderAttributes(AxisRenderAttributes ra,
AxisRenderAttributes defaults)
Shallow copy constructor, with explicity given default values. |
|
AxisRenderAttributes(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. |
|
AxisRenderAttributes(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 axis 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 LINE
public static final int GRID
public static final int LABEL
public static final int TIC
public static final int TITLE
public static final int BACK
public static final int NROFSETS
| Constructor Detail |
public AxisRenderAttributes()
RenderAttributes.RenderAttributes(int)public AxisRenderAttributes(AxisRenderAttributes ra)
ra - render attributes to be copied (may be null)RenderAttributes.RenderAttributes(RenderAttributes)
public AxisRenderAttributes(AxisRenderAttributes ra,
AxisRenderAttributes defaults)
ra - render attributes to be copied (may be null)defaults - default render attibutes (may be null)RenderAttributes.RenderAttributes(RenderAttributes,RenderAttributes)
public AxisRenderAttributes(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 AxisRenderAttributes(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 | ||||||||||