|
|||||||||||
| 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.LegendRenderAttributes
LegendRenderAttributes represents chart legend rendering attributes. The attributes control in particular the following legend area aspects:
Label font and color define the style and color for the label texts.
LegendAttributes,
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 |
LABEL
Index for the label attribute set (2). |
static int |
LEGEND
Index for the legend attribute set (3). |
static int |
NROFSETS
Number of render attributes (4). |
| 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 | |
LegendRenderAttributes()
Default constructor. |
|
LegendRenderAttributes(LegendRenderAttributes ra)
Shallow copy constructor. |
|
LegendRenderAttributes(LegendRenderAttributes ra,
LegendRenderAttributes defaults)
Shallow copy constructor, with explicitly given default values. |
|
LegendRenderAttributes(java.awt.Paint color,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Shape shape,
java.awt.Font font,
int alignment,
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 LABEL
public static final int LEGEND
public static final int NROFSETS
| Constructor Detail |
public LegendRenderAttributes()
RenderAttributes.RenderAttributes(int)public LegendRenderAttributes(LegendRenderAttributes ra)
ra - render attributes to be copied (may be null)RenderAttributes.RenderAttributes(RenderAttributes)
public LegendRenderAttributes(LegendRenderAttributes ra,
LegendRenderAttributes defaults)
ra - render attributes to be copied (may be null)defaults - default render attibutes (may be null)RenderAttributes.RenderAttributes(RenderAttributes,RenderAttributes)
public LegendRenderAttributes(java.awt.Paint color,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Shape shape,
java.awt.Font font,
int alignment,
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)alignment - initial alignment 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 | ||||||||||