public class PathInfo
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
PathInfo(java.awt.Color c,
java.awt.Color c2,
java.awt.Color c3,
java.awt.Color c4,
Enums.ColorPolicy colorPolicy,
java.lang.Double gradientCenter,
Enums.ShadeType shadeType,
Enums.PointType type,
Enums.Size size,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor.
|
PathInfo(java.awt.Color c,
java.awt.Color c2,
java.awt.Color c3,
java.awt.Color c4,
Enums.ColorPolicy colorPolicy,
java.lang.Double gradientCenter,
Enums.ShadeType shadeType,
float width,
float[] dash,
Enums.PointType type,
Enums.Size size,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor.
|
PathInfo(java.awt.Color c,
java.awt.Color c2,
java.awt.Color c3,
java.awt.Color c4,
Enums.ColorPolicy colorPolicy,
java.lang.Double gradientCenter,
Enums.ShadeType shadeType,
float width,
float[] dash,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor
|
PathInfo(java.awt.Color c,
java.awt.Color c2,
Enums.ColorPolicy colorPolicy,
java.lang.Double gradientCenter,
Enums.ShadeType shadeType,
Enums.PointType type,
Enums.Size size,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor.
|
PathInfo(java.awt.Color c,
java.awt.Color c2,
Enums.ColorPolicy colorPolicy,
java.lang.Double gradientCenter,
Enums.ShadeType shadeType,
float width,
float[] dash,
Enums.PointType type,
Enums.Size size,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor.
|
PathInfo(java.awt.Color c,
java.awt.Color c2,
Enums.ColorPolicy colorPolicy,
java.lang.Double gradientCenter,
Enums.ShadeType shadeType,
float width,
float[] dash,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor
|
PathInfo(java.awt.Color c,
java.awt.Color c2,
Enums.PointType type,
Enums.Size size,
int maxPoints,
boolean allPoints,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor.
|
PathInfo(java.awt.Color c,
float width,
float[] dash,
boolean enabled,
boolean continuous,
boolean showBars,
java.lang.Integer fixedWidth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PathInfo |
clone()
Creates a clone (copy) of this object.
|
boolean |
equals(java.lang.Object o)
Compares the give object with this object and returns true if they are equal.
|
java.awt.Color |
getColor()
Gets the main color of the path lines and points.
|
java.awt.Color |
getColor2()
Gets the secondary color of the path lines and points.
|
java.awt.Color |
getColor3()
Gets the tertiary color of the path lines and points.
|
java.awt.Color |
getColor4()
Gets the quaternary color of the path lines and points.
|
Enums.ColorPolicy |
getColorPolicy()
Indicates the policy for applying colors to the series of values.
|
float[] |
getDash()
Gets the dash style for the lines connecting the path points (null for solid line).
|
java.lang.Integer |
getFixedWidth()
Gets the fixed width for drawing the bars (null for dynamic width).
|
java.lang.Double |
getGradientCenter()
Gets the gradient center (real value).
|
int |
getMaxPoints()
Gets the max points to show.
|
Enums.Size |
getPointSize()
Gets the size of the path points.
|
Enums.PointType |
getPointType()
Gets the type of the path points.
|
java.awt.Stroke |
getSelectedStroke()
Gets the stroke for drawing the path when the study is selected.
|
Enums.ShadeType |
getShadeType()
Indicates the shade type for shading above/below the path.
|
java.awt.Stroke |
getStroke()
Gets the stroke for drawing the path.
|
float |
getWidth()
Gets the width of the lines connecting the path points.
|
boolean |
isContinuous()
Indicates if the path is continuous.
|
boolean |
isEnabled()
Indicates if this path should be displayed.
|
boolean |
isGradient()
Deprecated.
use getColorPolicy instead
|
boolean |
isShowAllPoints()
Indicates if all points should be shown.
|
boolean |
isShowAsBars()
Indicates if the path should be shown as bars.
|
boolean |
isShowPath()
Indicates if the path lines should be shown.
|
boolean |
isShowPoints()
Indicates if the points should be displayed.
|
public PathInfo(java.awt.Color c, float width, float[] dash, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- color of the pathwidth
- width of line used to connect the path pointsdash
- dash style (null if solid line)enabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if the path should be shown as barsfixedWidth
- fixed with of the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, Enums.ColorPolicy colorPolicy, java.lang.Double gradientCenter, Enums.ShadeType shadeType, float width, float[] dash, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- primary path colorc2
- secondary path colorcolorPolicy
- policy for applying colors to the pathgradientCenter
- center point for the gradient, null if automaticshadeType
- type of shading for pathwidth
- width of the lines connecting the path pointsdash
- dash style (null for solid line)maxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4, Enums.ColorPolicy colorPolicy, java.lang.Double gradientCenter, Enums.ShadeType shadeType, float width, float[] dash, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- primary path colorc2
- secondary path colorc3
- tertiary path colorc4
- quaternary path colorcolorPolicy
- policy for applying colors to the pathgradientCenter
- center point for the gradient, null if automaticshadeType
- type of shading for pathwidth
- width of the lines connecting the path pointsdash
- dash style (null for solid line)maxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, Enums.PointType type, Enums.Size size, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- color for lines that are trending upwardc2
- color for lines that are trending downwardtype
- type of point to displaysize
- size of the pointsmaxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, Enums.ColorPolicy colorPolicy, java.lang.Double gradientCenter, Enums.ShadeType shadeType, Enums.PointType type, Enums.Size size, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- color for lines that are trending upwardc2
- color for lines that are trending downwardcolorPolicy
- policy for applying colors to the pathgradientCenter
- center point for the gradient, null if automaticshadeType
- type of shading for pathtype
- type of point to displaysize
- size of the pointsmaxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4, Enums.ColorPolicy colorPolicy, java.lang.Double gradientCenter, Enums.ShadeType shadeType, Enums.PointType type, Enums.Size size, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- primary path colorc2
- secondary path colorc3
- tertiary path colorc4
- quaternary path colorcolorPolicy
- policy for applying colors to the pathgradientCenter
- center point for the gradient, null if automaticshadeType
- type of shading for pathtype
- type of point to displaysize
- size of the pointsmaxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, Enums.ColorPolicy colorPolicy, java.lang.Double gradientCenter, Enums.ShadeType shadeType, float width, float[] dash, Enums.PointType type, Enums.Size size, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- color for lines that are trending upwardc2
- color for lines that are trending downwardcolorPolicy
- policy for applying colors to the pathgradientCenter
- center point for the gradient, null if automaticshadeType
- type of shading for pathwidth
- width of the lines connecting the path pointsdash
- dash style (null for solid line)type
- type of point to displaysize
- size of the pointsmaxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic PathInfo(java.awt.Color c, java.awt.Color c2, java.awt.Color c3, java.awt.Color c4, Enums.ColorPolicy colorPolicy, java.lang.Double gradientCenter, Enums.ShadeType shadeType, float width, float[] dash, Enums.PointType type, Enums.Size size, int maxPoints, boolean allPoints, boolean enabled, boolean continuous, boolean showBars, java.lang.Integer fixedWidth)
c
- primary colorc2
- secondary colorc3
- tertiary colorc4
- quaternary colorcolorPolicy
- policy for applying colors to the pathgradientCenter
- center point for the gradient, null if automaticshadeType
- type of shading for pathwidth
- width of the lines connecting the path pointsdash
- dash style (null for solid line)type
- type of point to displaysize
- size of the pointsmaxPoints
- max points to displayallPoints
- true if all points should be displayedenabled
- true if this path should be displayedcontinuous
- true if this path is continuous even with missing valuesshowBars
- true if this path should be shown as barsfixedWidth
- fixed width for the barspublic java.awt.Color getColor()
public java.awt.Color getColor2()
public java.awt.Color getColor3()
public java.awt.Color getColor4()
public float[] getDash()
public float getWidth()
public boolean isEnabled()
public boolean isShowPoints()
public boolean isShowPath()
public Enums.Size getPointSize()
public Enums.PointType getPointType()
public int getMaxPoints()
public boolean isShowAllPoints()
public boolean isContinuous()
public Enums.ColorPolicy getColorPolicy()
public Enums.ShadeType getShadeType()
public boolean isGradient()
public java.lang.Double getGradientCenter()
public boolean isShowAsBars()
public java.lang.Integer getFixedWidth()
public java.awt.Stroke getStroke()
public java.awt.Stroke getSelectedStroke()
public PathInfo clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object