ilog.views.chart.hidden
Class IlvDataPointStyle

ilog.views.chart.hidden.IlvDataPointStyle

public class IlvDataPointStyle

A Bean-compliant class that provides information about the rendering attributes of a data point. Used as a bridge for styling data points through the Bean interpretation of CSS declarations.

CSS example:

point {
    class : "ilog.views.chart.hidden.IlvDataPointStyle";
    annotation : "@#ilvDataLabelAnnotation";
    color1 : "#000000";
    color2 : "#000000";
    endCap : "CAP_BUTT";
    lineJoin : "JOIN_BEVEL";
    lineStyle : "";
    lineWidth : "2.0";
    marker : "CIRCLE";
    miterLimit : "2.0";
    stroke : "@#stroke";
    style : "@#ilvStyle";
    visible : "false";
}


Property Summary
 IlvDataAnnotation annotation
          
Sets the annotation associated with the point.
 java.lang.String class
          
Default constructor.
 Paint color1
          
Sets the primary color.
 Paint color2
          
Sets the secondary color.
 int endCap
          
Sets the end cap.
 int lineJoin
          
Sets the line join.
 float[] lineStyle
          
Sets the line style.
 float lineWidth
          
Sets the line width.
 ilog.views.chart.graphic.IlvMarker marker
          
Sets the marker symbol for this data set.
 float miterLimit
          
Sets the limit of miter joins.
 Stroke stroke
          
Sets the stroke.
 IlvStyle style
          
Sets the rendering style.
 boolean visible
          
Sets whether the point is visible.
 

Property Detail

class

public java.lang.String class

Default constructor.

CSS example:     class : "ilog.views.chart.hidden.IlvDataPointStyle";


annotation

public IlvDataAnnotation annotation

Sets the annotation associated with the point.

CSS example:     annotation : "@#ilvDataLabelAnnotation";

See implementing class IlvDataLabelAnnotation for an example of implementing an annotation.


color1

public Paint color1

Sets the primary color.

CSS example:     color1 : "#000000";


color2

public Paint color2

Sets the secondary color.

CSS example:     color2 : "#000000";


endCap

public int endCap

Sets the end cap.

CSS example:     endCap : "CAP_BUTT";

Allowed values:
CAP_BUTT    Ends unclosed subpaths and dash segments with no added decoration.
CAP_ROUND    Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen.
CAP_SQUARE    Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width.


lineJoin

public int lineJoin

Sets the line join.

CSS example:     lineJoin : "JOIN_BEVEL";

Allowed values:
JOIN_BEVEL    Joins path segments by connecting the outer corners of their wide outlines with a straight segment.
JOIN_MITER    Joins path segments by extending their outside edges until they meet.
JOIN_ROUND    Joins path segments by rounding off the corner at a radius of half the line width.


lineStyle

public float[] lineStyle

Sets the line style.

CSS example:     lineStyle : "";

Allowed values:
   new float[] {}
Dot    new float[] {4.0f,4.0f}
Dash    new float[] {8.0f,8.0f}
DashDot    new float[] {8.0f,4.0f,4.0f,4.0f}
DashDoubleDot    new float[] {8.0f,4.0f,4.0f,4.0f,4.0f}
Alternate    new float[] {1.0f,1.0f}
LongDash    new float[] {12.0f,4.0f}
DoubleDot    new float[] {4.0f,4.0f,4.0f,13.0f}


lineWidth

public float lineWidth

Sets the line width.

CSS example:     lineWidth : "2.0";


marker

public ilog.views.chart.graphic.IlvMarker marker

Sets the marker symbol for this data set.

CSS example:     marker : "CIRCLE";

Allowed values:
CIRCLE    Predefined circle marker type.
CROSS    Predefined cross marker type.
DIAMOND    Predefined diamond marker type.
PLUS    Predefined plus marker type.
TRIANGLE    Predefined triangle marker type.
SQUARE    Predefined square marker type.
NONE    Predefined internal marker type.


miterLimit

public float miterLimit

Sets the limit of miter joins.

CSS example:     miterLimit : "2.0";


stroke

public Stroke stroke

Sets the stroke.

CSS example:     stroke : "@#stroke";

See implementing class BasicStroke for an example of implementing a stroke.


style

public IlvStyle style

Sets the rendering style.

CSS example:     style : "@#ilvStyle";

See implementing class IlvStyle for an example of implementing a style.


visible

public boolean visible

Sets whether the point is visible.

CSS example:     visible : "false";



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.