JMSLTM Numerical Library 3.0

com.imsl.chart
Class ChartNode

java.lang.Object
  extended bycom.imsl.chart.ChartNode
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
Axis, Axis1D, AxisLabel, AxisLine, AxisR, AxisRLabel, AxisRLine, AxisRMajorTick, AxisTheta, AxisTitle, AxisUnit, BarSet, Chart, ContourLevel, Data, Grid, GridPolar, MajorTick, MinorTick, ToolTip

public abstract class ChartNode
extends Object
implements Serializable, Cloneable

The base class of all of the nodes in the chart tree.

See Also:
Serialized Form

Field Summary
static int AUTOSCALE_DATA
          Flag used to indicate that autoscaling is to be done by scanning the data nodes.
static int AUTOSCALE_DENSITY
          Flag used to indicate that autoscaling is to adjust the "Density" attribute.
static int AUTOSCALE_NUMBER
          Flag used to indicate that autoscaling is to adjust the "Number" attribute.
static int AUTOSCALE_OFF
          Flag used to indicate that autoscaling is turned off.
static int AUTOSCALE_WINDOW
          Flag used to indicate that autoscaling is to be done by using the "Window" attribute.
static int AXIS_X
          Flag to indicate x-axis.
static int AXIS_X_TOP
          Flag to indicate x-axis placed on top of the chart.
static int AXIS_Y
          Flag to indicate y-axis.
static int AXIS_Y_RIGHT
          Flag to indicate y-axis placed to the right of the chart.
static int BAR_TYPE_HORIZONTAL
          Flag to indicate a horizontal bar chart.
static int BAR_TYPE_VERTICAL
          Flag to indicate a vertical bar chart.
static double[] DASH_PATTERN_DASH
          Flag to draw a dashed line.
static double[] DASH_PATTERN_DASH_DOT
          Flag to draw a dash-dot pattern line.
static double[] DASH_PATTERN_DOT
          Flag to draw a dotted line.
static double[] DASH_PATTERN_SOLID
          Flag to draw solid line.
static int DATA_TYPE_FILL
          Value for attribute "DataType" indicating that the area between the lines connecting the data points and the horizontal reference line (y = attribute "Reference") should be filled.
static int DATA_TYPE_LINE
          Value for attribute "DataType" indicating that the data points should be connected with line segments.
static int DATA_TYPE_MARKER
          Value for attribute "DataType" indicating that a marker should be drawn at each data point.
static int DATA_TYPE_PICTURE
          Value for attribute "DataType" indicating that an image (attribute "Image") should be drawn at each data point.
static int FILL_TYPE_GRADIENT
          Value for attribute "FillType" indicating that the region is to be drawn in a color gradient as specified by the attribute Gradient.
static int FILL_TYPE_NONE
          Value for attribute "FillType" and "FillOutlineType" indicating that the region is not to be drawn.
static int FILL_TYPE_PAINT
          Value for attribute "FillType" indicating that the region is to be drawn using the texture specified by the attribute FillPaint.
static int FILL_TYPE_SOLID
          Value for attribute "FillType" and "FillOutlineType" indicating that the region is to be drawn using the solid color specified by the attribute FillColor or FillOutlineColor.
static int LABEL_TYPE_NONE
          Flag used to indicate the an element is not to be labeled.
static int LABEL_TYPE_PERCENT
          Flag used to indicate that a pie slice is to be labeled with a percentage value.
static int LABEL_TYPE_TITLE
          Flag used to indicate that an element is to be labeled with the value of its title attribute.
static int LABEL_TYPE_X
          Flag used to indicate that an element is to be labeled with the value of its x-coordinate.
static int LABEL_TYPE_Y
          Flag used to indicate that an element is to be labeled with the value of its y-coordinate.
static int MARKER_TYPE_ASTERISK
          Flag for a asterisk data marker.
static int MARKER_TYPE_CIRCLE_CIRCLE
          Flag for a circle in a circle data marker.
static int MARKER_TYPE_CIRCLE_PLUS
          Flag for a plus in a circle data marker.
static int MARKER_TYPE_CIRCLE_X
          Flag for an x in a circle data marker.
static int MARKER_TYPE_DIAMOND_PLUS
          Flag for a plus in a diamond data marker.
static int MARKER_TYPE_FILLED_CIRCLE
          Flag for a filled circle data marker.
static int MARKER_TYPE_FILLED_DIAMOND
          Flag for a filled diamond data marker.
static int MARKER_TYPE_FILLED_SQUARE
          Flag for a filled square data marker.
static int MARKER_TYPE_FILLED_TRIANGLE
          Flag for a filled triangle data marker.
static int MARKER_TYPE_HOLLOW_CIRCLE
          Flag for a hollow circle data marker.
static int MARKER_TYPE_HOLLOW_DIAMOND
          Flag for a hollow diamond data marker.
static int MARKER_TYPE_HOLLOW_SQUARE
          Flag for a hollow square data marker.
static int MARKER_TYPE_HOLLOW_TRIANGLE
          Flag for hollow triangle data marker.
static int MARKER_TYPE_OCTAGON_PLUS
          Flag for a plus in an octagon data marker.
static int MARKER_TYPE_OCTAGON_X
          Flag for a x in an octagon data marker.
static int MARKER_TYPE_PLUS
          Flag for a plus-shaped data marker.
static int MARKER_TYPE_SQUARE_PLUS
          Flag for a plus in a square data marker.
static int MARKER_TYPE_SQUARE_X
          Flag for an x in a square data marker.
static int MARKER_TYPE_X
          Flag for a x-shaped data marker.
static int TEXT_X_CENTER
          Value for attribute "TextAlignment" indicating that the text should be centered.
static int TEXT_X_LEFT
          Value for attribute "TextAlignment" indicating that the text should be left adjusted.
static int TEXT_X_RIGHT
          Value for attribute "TextAlignment" indicating that the text should be right adjusted.
static int TEXT_Y_BOTTOM
          Value for attribute "TextAlignment" indicating that the text should be drawn on the baseline.
static int TEXT_Y_CENTER
          Value for attribute "TextAlignment" indicating that the text should be vertically centered.
static int TEXT_Y_TOP
          Value for attribute "TextAlignment" indicating that the text should be drawn with the top of the letters touching the top of the drawing region.
static int TRANSFORM_CUSTOM
          Flag used to indicate that the axis using a custom transformation.
static int TRANSFORM_LINEAR
          Flag used to indicate that the axis uses linear scaling.
static int TRANSFORM_LOG
          Flag used to indicate that the axis uses logarithmic scaling.
 
Constructor Summary
ChartNode(ChartNode parent)
          Construct a ChartNode object.
 
Method Summary
 void addPickListener(PickListener pickListener)
          Adds a PickListener to this node.
protected  Object clone(Hashtable hashClonedNode)
          Returns a deep-copy clone of this node.
protected  Hashtable clone(Hashtable hashIn, Hashtable hashClonedNode)
          Returns a deep copy of a Hashtable.
protected  Object clone(Object value, Hashtable hashClonedNode)
          Returns a deep copy of an Object.
protected  Vector clone(Vector vecIn, Hashtable hashClonedNode)
          Returns a deep copy of a vector of ChartNode's.
 void firePickListeners(MouseEvent event)
          Fires the pick listeners defined at this node and at all of its ancestors, if the event "hits" the node.
 String getALT()
          Returns the value of the "ALT" attribute.
 Object getAttribute(String name)
          Gets an attribute.
 int getAutoscaleInput()
          Returns the value of the "AutoscaleInput" attribute.
 int getAutoscaleMinimumTimeInterval()
          Returns the value of the "AutoscaleMinimumTimeInterval" attribute.
 int getAutoscaleOutput()
          Returns the value of the "AutoscaleOutput" attribute.
 Axis getAxis()
          Returns the value of the "Axis" attribute.
 Background getBackground()
          Returns the value of the "Background" attribute.
 double getBarGap()
          Returns the value of the "BarGap" attribute.
 int getBarType()
          Returns the value of the "BarType" attribute.
 double getBarWidth()
          Returns the value of the "BarWidth" attribute.
 boolean getBooleanAttribute(String name, boolean defaultValue)
          Convenience routine to get a Boolean-valued attribute.
 Chart getChart()
          Returns the value of the "Chart" attribute.
 ChartTitle getChartTitle()
          Returns the value of the "ChartTitle" attribute.
 ChartNode[] getChildren()
          Returns an array of the children of this node.
 boolean getClipData()
          Returns the value of the "ClipData" attribute.
 Color getColorAttribute(String name)
          Convenience routine to get a Color-valued attribute.
 Component getComponent()
          Returns the value of the "Component" attribute.
 double[] getConcatenatedViewport()
          Returns the value of the "Viewport" attribute concatenated with the "Viewport" attributes set in its ancestor nodes.
 Transform getCustomTransform()
          Returns the value of the "CustomTransform" attribute.
 int getDataType()
          Returns the value of the "DataType" attribute.
 int getDensity()
          Returns the value of the "Density" attribute.
 double getDoubleAttribute(String name, double defaultValue)
          Convenience routine to get a Double-valued attribute.
 boolean getDoubleBuffering()
          Returns the value of the "DoubleBuffering" attribute.
 double getExplode()
          Returns the value of the "Explode" attribute.
 Color getFillColor()
          Returns the value of the "FillColor" attribute.
 Color getFillOutlineColor()
          Returns the value of the "FillOutlineColor" attribute.
 int getFillOutlineType()
          Returns the value of the "FillOutlineType" attribute.
 Paint getFillPaint()
          Returns the value of the "FillPaint" attribute.
 int getFillType()
          Returns the value of the "FillType" attribute.
 Font getFont()
          Convenience routine which gets a Font object based on the "FontName", "FontStyle" and "FontSize" attributes.
 String getFontName()
          Returns the value of the "FontName" attribute.
 int getFontSize()
          Returns the value of the "FontSize" attribute.
 int getFontStyle()
          Returns the value of the "FontStyle" attribute.
 Color[] getGradient()
          Returns the value of the "Gradient" attribute.
 String getHREF()
          Returns the value of the "HREF" attribute.
 Image getImage()
          Returns the value of the "Image" attribute.
 int getIntegerAttribute(String name, int defaultValue)
          Convenience routine to get an Integer-valued attribute.
 int getLabelType()
          Returns the value of the "LabelType" attribute.
 Legend getLegend()
          Returns the value of the "Legend" attribute.
 Color getLineColor()
          Returns the value of the "LineColor" attribute.
 double[] getLineDashPattern()
          Returns the value of the "LineDashPattern" attribute.
 double getLineWidth()
          Returns the value of the "LineWidth" attribute.
 Locale getLocale()
          Returns the value of the "Locale" attribute.
 Color getMarkerColor()
          Returns the value of the "MarkerColor" attribute.
 double[] getMarkerDashPattern()
          Returns the value of the "MarkerPattern" attribute.
 double getMarkerSize()
          Returns the value of the "MarkerSize" attribute.
 double getMarkerThickness()
          Returns the value of the "MarkerThickness" attribute.
 int getMarkerType()
          Returns the value of the "MarkerType" attribute.
 String getName()
          Returns the value of the "Name" attribute.
 int getNumber()
          Returns the value of the "Number" attribute.
 boolean getPaint()
          Returns the value of the "Paint" attribute.
 ChartNode getParent()
          Returns the parent of this node.
 double getReference()
          Returns the value of the "Reference" attribute.
 AxisXY getScreenAxis()
          Returns the value of the "ScreenAxis" attribute.
 Dimension getScreenSize()
          Returns the value of the "ScreenSize" attribute.
 int[] getScreenViewport()
          Returns the value of the "Viewport" attribute scaled by the screen size.
 Dimension getSize()
          Returns the value of the "Size" attribute.
 boolean getSkipWeekends()
          Returns the value of the "SkipWeekends" attribute.
 String getStringAttribute(String name)
          Convenience routine to get a String-valued attribute.
 int getTextAngle()
          Returns the value of the "TextAngle" attribute.
 Color getTextColor()
          Returns the value of the "TextColor" attribute.
 Format getTextFormat()
          Returns the value of the "TextFormat" attribute.
 double getTickLength()
          Returns the value of the "TickLength" attribute.
 Text getTitle()
          Returns the value of the "Title" attribute.
 String getToolTip()
          Returns the value of the "ToolTip" attribute.
 int getTransform()
          Returns the value of the "Transform" attribute.
 double[] getViewport()
          Returns the value of the "Viewport" attribute.
 double[] getX()
          Returns the value of the "X" attribute.
 double[] getY()
          Returns the value of the "Y" attribute.
 boolean isAncestorOf(ChartNode node)
          Returns true if this node is an ancestor of the argument node.
 boolean isAttributeSet(String name)
          Determines if an attribute is defined (may have been inherited).
 boolean isAttributeSetAtThisNode(String name)
          Determines if an attribute is defined in this node (not inherited).
static boolean isBitSet(int flag, int mask)
          Returns true if the bit set in flag is set in mask.
abstract  void paint(Draw draw)
          Paints this node and all of its children.
static Color parseColor(String nameColor)
          Returns a color specified by name or a red-green-blue triple.
 void remove()
          Removes the node from its parents list of children.
 void removePickListener(PickListener pickListener)
          Removes a PickListener from this node.
 void setALT(String value)
          Sets the value of the "ALT" attribute.
 void setAttribute(String name, Object value)
          Sets an attribute.
 void setAutoscaleInput(int value)
          Sets the value of the "AutoscaleInput" attribute.
 void setAutoscaleMinimumTimeInterval(int value)
          Sets the value of the "AutoscaleMinimumTimeInterval" attribute.
 void setAutoscaleOutput(int value)
          Sets the value of the "AutoscaleOutput" attribute.
 void setBarGap(double value)
          Sets the value of the "BarGap" attribute.
 void setBarType(int value)
          Sets the value of the "BarType" attribute.
 void setBarWidth(double value)
          Sets the value of the "BarWidth" attribute.
 void setChartTitle(ChartTitle value)
          Sets the value of the "ChartTitle" attribute.
 void setClipData(boolean value)
          Sets the value of the "ClipData" attribute.
 void setCustomTransform(Transform value)
          Sets the value of the "CustomTransform" attribute.
 void setDataType(int value)
          Sets the value of the "DataType" attribute.
 void setDensity(int value)
          Sets the value of the "Density" attribute.
 void setDoubleBuffering(boolean value)
          Sets the value of the "DoubleBuffering" attribute.
 void setExplode(double value)
          Sets the value of the "Explode" attribute.
 void setFillColor(Color color)
          Sets the value of the "FillColor" attribute.
 void setFillColor(String color)
          Sets the "FillColor" attribute to a color specified by name.
 void setFillOutlineColor(Color color)
          Sets the value of the "FillOutlineColor" attribute.
 void setFillOutlineColor(String color)
          Sets the value of the "FillOutlineColor" attribute to a color specified by name.
 void setFillOutlineType(int value)
          Sets the value of the "FillOutlineType" attribute.
 void setFillPaint(ImageIcon imageIcon)
          Sets the value of the "FillPaint" attribute.
 void setFillPaint(Paint value)
          Sets the value of the "FillPaint" attribute.
 void setFillPaint(URL urlImage)
          Sets the value of the "FillPaint" attribute.
 void setFillType(int value)
          Sets the value of the "FillType" attribute.
 void setFont(Font font)
          Sets the value of the font attributes.
 void setFontName(String value)
          Sets the value of the "FontName" attribute.
 void setFontSize(int value)
          Sets the value of the "FontSize" attribute.
 void setFontStyle(int value)
          Sets the value of the "FontStyle" attribute.
 void setGradient(Color[] colorGradient)
          Sets the value of the "Gradient" attribute.
 void setGradient(Color colorLL, Color colorLR, Color colorUR, Color colorUL)
          Sets the value of the "Gradient" attribute.
 void setGradient(String colorLL, String colorLR, String colorUR, String colorUL)
          Sets the value of the "Gradient" attribute using named colors.
 void setHREF(String value)
          Sets the value of the "HREF" attribute.
 void setImage(Image value)
          Sets the value of the "Image" attribute.
 void setImage(ImageIcon value)
          Sets the value of the "Image" attribute.
 void setLabelType(int type)
          Sets the value of the "LabelType" attribute.
 void setLineColor(Color color)
          Sets the value of the "LineColor" attribute.
 void setLineColor(String color)
          Sets the value of the "LineColor" attribute.
 void setLineDashPattern(double[] value)
          Sets the value of the "LineDashPattern" attribute.
 void setLineWidth(double value)
          Sets the value of the "LineWidth" attribute.
 void setLocale(Locale value)
          Sets the value of the "Locale" attribute.
 void setMarkerColor(Color color)
          Sets the value of the "MarkerColor" attribute.
 void setMarkerColor(String color)
          Sets the value of the "MarkerColor" attribute to a color specified by name.
 void setMarkerDashPattern(double[] value)
          Sets the value of the "MarkerDashPattern" attribute.
 void setMarkerSize(double size)
          Sets the value of the "MarkerSize" attribute.
 void setMarkerThickness(double width)
          Sets the value of the "MarkerThickness" attribute.
 void setMarkerType(int type)
          Sets the value of the "MarkerType" attribute.
 void setName(String value)
          Sets the value of the "Name" attribute.
 void setNumber(int value)
          Sets the value of the "Number" attribute.
 void setPaint(boolean value)
          Sets the value of the "Paint" attribute.
 void setReference(double value)
          Sets the value of the "Reference" attribute.
 void setScreenSize(Dimension value)
          Sets the value of the "ScreenSize" attribute.
 void setSize(Dimension value)
          Sets the value of the "Size" attribute.
 void setSkipWeekends(boolean skipWeekends)
          Sets the value of the "SkipWeekends" attribute.
 void setTextAngle(int value)
          Sets the value of the "TextAngle" attribute.
 void setTextColor(Color color)
          Sets the value of the "TextColor" attribute.
 void setTextColor(String color)
          Sets the value of the "TextColor" attribute to a color specified by name.
 void setTextFormat(Format value)
          Sets the value of the "TextFormat" attribute.
 void setTextFormat(String value)
          Sets the value of the "TextFormat" attribute.
 void setTickLength(double value)
          Sets the value of the "TickLength" attribute.
 void setTitle(String value)
          Sets the value of the "Title" attribute.
 void setTitle(Text value)
          Sets the value of the "Title" attribute.
 void setToolTip(String value)
          Sets the value of the "ToolTip" attribute.
 void setTransform(int value)
          Sets the value of the "Transform" attribute.
 void setViewport(double[] value)
          Sets the value of the "Viewport" attribute.
 void setViewport(double xmin, double xmax, double ymin, double ymax)
          Sets the value of the "Viewport" attribute.
 void setX(Object value)
          Sets the value of the "X" attribute.
 void setY(Object value)
          Sets the value of the "Y" attribute.
 String toString()
          Returns the name of this ChartNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AXIS_X

public static final int AXIS_X
Flag to indicate x-axis.

See Also:
Constant Field Values

AXIS_Y

public static final int AXIS_Y
Flag to indicate y-axis.

See Also:
Constant Field Values

AXIS_X_TOP

public static final int AXIS_X_TOP
Flag to indicate x-axis placed on top of the chart.

See Also:
Constant Field Values

AXIS_Y_RIGHT

public static final int AXIS_Y_RIGHT
Flag to indicate y-axis placed to the right of the chart.

See Also:
Constant Field Values

AUTOSCALE_OFF

public static final int AUTOSCALE_OFF
Flag used to indicate that autoscaling is turned off.

See Also:
setAutoscaleInput(int), setAutoscaleOutput(int), Constant Field Values

AUTOSCALE_DATA

public static final int AUTOSCALE_DATA
Flag used to indicate that autoscaling is to be done by scanning the data nodes.

See Also:
setAutoscaleInput(int), Constant Field Values

AUTOSCALE_WINDOW

public static final int AUTOSCALE_WINDOW
Flag used to indicate that autoscaling is to be done by using the "Window" attribute.

See Also:
setAutoscaleInput(int), setAutoscaleOutput(int), Constant Field Values

AUTOSCALE_NUMBER

public static final int AUTOSCALE_NUMBER
Flag used to indicate that autoscaling is to adjust the "Number" attribute.

See Also:
setAutoscaleOutput(int), Constant Field Values

AUTOSCALE_DENSITY

public static final int AUTOSCALE_DENSITY
Flag used to indicate that autoscaling is to adjust the "Density" attribute. This applies only to time axes.

See Also:
setAutoscaleOutput(int), Constant Field Values

BAR_TYPE_VERTICAL

public static final int BAR_TYPE_VERTICAL
Flag to indicate a vertical bar chart.

See Also:
setBarType(int), getBarType(), Constant Field Values

BAR_TYPE_HORIZONTAL

public static final int BAR_TYPE_HORIZONTAL
Flag to indicate a horizontal bar chart.

See Also:
setBarType(int), getBarType(), Constant Field Values

DATA_TYPE_LINE

public static final int DATA_TYPE_LINE
Value for attribute "DataType" indicating that the data points should be connected with line segments. This is the default setting.

See Also:
Constant Field Values

DATA_TYPE_MARKER

public static final int DATA_TYPE_MARKER
Value for attribute "DataType" indicating that a marker should be drawn at each data point.

See Also:
Constant Field Values

DATA_TYPE_FILL

public static final int DATA_TYPE_FILL
Value for attribute "DataType" indicating that the area between the lines connecting the data points and the horizontal reference line (y = attribute "Reference") should be filled. This is an area chart.

See Also:
Constant Field Values

DATA_TYPE_PICTURE

public static final int DATA_TYPE_PICTURE
Value for attribute "DataType" indicating that an image (attribute "Image") should be drawn at each data point. This can be used to draw fancy markers.

See Also:
Constant Field Values

DASH_PATTERN_SOLID

public static final double[] DASH_PATTERN_SOLID
Flag to draw solid line.

See Also:
setLineDashPattern(double[])

DASH_PATTERN_DOT

public static final double[] DASH_PATTERN_DOT
Flag to draw a dotted line.

See Also:
setLineDashPattern(double[])

DASH_PATTERN_DASH

public static final double[] DASH_PATTERN_DASH
Flag to draw a dashed line.

See Also:
setLineDashPattern(double[])

DASH_PATTERN_DASH_DOT

public static final double[] DASH_PATTERN_DASH_DOT
Flag to draw a dash-dot pattern line.

See Also:
setLineDashPattern(double[])

FILL_TYPE_NONE

public static final int FILL_TYPE_NONE
Value for attribute "FillType" and "FillOutlineType" indicating that the region is not to be drawn.

See Also:
Constant Field Values

FILL_TYPE_SOLID

public static final int FILL_TYPE_SOLID
Value for attribute "FillType" and "FillOutlineType" indicating that the region is to be drawn using the solid color specified by the attribute FillColor or FillOutlineColor.

See Also:
Constant Field Values

FILL_TYPE_GRADIENT

public static final int FILL_TYPE_GRADIENT
Value for attribute "FillType" indicating that the region is to be drawn in a color gradient as specified by the attribute Gradient.

See Also:
Constant Field Values

FILL_TYPE_PAINT

public static final int FILL_TYPE_PAINT
Value for attribute "FillType" indicating that the region is to be drawn using the texture specified by the attribute FillPaint.

See Also:
Constant Field Values

LABEL_TYPE_NONE

public static final int LABEL_TYPE_NONE
Flag used to indicate the an element is not to be labeled.

See Also:
setLabelType(int), Constant Field Values

LABEL_TYPE_X

public static final int LABEL_TYPE_X
Flag used to indicate that an element is to be labeled with the value of its x-coordinate.

See Also:
setLabelType(int), Constant Field Values

LABEL_TYPE_Y

public static final int LABEL_TYPE_Y
Flag used to indicate that an element is to be labeled with the value of its y-coordinate.

See Also:
setLabelType(int), Constant Field Values

LABEL_TYPE_TITLE

public static final int LABEL_TYPE_TITLE
Flag used to indicate that an element is to be labeled with the value of its title attribute.

See Also:
setLabelType(int), Constant Field Values

LABEL_TYPE_PERCENT

public static final int LABEL_TYPE_PERCENT
Flag used to indicate that a pie slice is to be labeled with a percentage value. This attribute only applies to pie charts.

See Also:
setLabelType(int), Constant Field Values

MARKER_TYPE_PLUS

public static final int MARKER_TYPE_PLUS
Flag for a plus-shaped data marker.

See Also:
Constant Field Values

MARKER_TYPE_ASTERISK

public static final int MARKER_TYPE_ASTERISK
Flag for a asterisk data marker.

See Also:
Constant Field Values

MARKER_TYPE_X

public static final int MARKER_TYPE_X
Flag for a x-shaped data marker.

See Also:
Constant Field Values

MARKER_TYPE_HOLLOW_SQUARE

public static final int MARKER_TYPE_HOLLOW_SQUARE
Flag for a hollow square data marker.

See Also:
Constant Field Values

MARKER_TYPE_FILLED_SQUARE

public static final int MARKER_TYPE_FILLED_SQUARE
Flag for a filled square data marker.

See Also:
Constant Field Values

MARKER_TYPE_HOLLOW_TRIANGLE

public static final int MARKER_TYPE_HOLLOW_TRIANGLE
Flag for hollow triangle data marker.

See Also:
Constant Field Values

MARKER_TYPE_FILLED_TRIANGLE

public static final int MARKER_TYPE_FILLED_TRIANGLE
Flag for a filled triangle data marker.

See Also:
Constant Field Values

MARKER_TYPE_HOLLOW_DIAMOND

public static final int MARKER_TYPE_HOLLOW_DIAMOND
Flag for a hollow diamond data marker.

See Also:
Constant Field Values

MARKER_TYPE_FILLED_DIAMOND

public static final int MARKER_TYPE_FILLED_DIAMOND
Flag for a filled diamond data marker.

See Also:
Constant Field Values

MARKER_TYPE_DIAMOND_PLUS

public static final int MARKER_TYPE_DIAMOND_PLUS
Flag for a plus in a diamond data marker.

See Also:
Constant Field Values

MARKER_TYPE_SQUARE_X

public static final int MARKER_TYPE_SQUARE_X
Flag for an x in a square data marker.

See Also:
Constant Field Values

MARKER_TYPE_SQUARE_PLUS

public static final int MARKER_TYPE_SQUARE_PLUS
Flag for a plus in a square data marker.

See Also:
Constant Field Values

MARKER_TYPE_OCTAGON_X

public static final int MARKER_TYPE_OCTAGON_X
Flag for a x in an octagon data marker.

See Also:
Constant Field Values

MARKER_TYPE_OCTAGON_PLUS

public static final int MARKER_TYPE_OCTAGON_PLUS
Flag for a plus in an octagon data marker.

See Also:
Constant Field Values

MARKER_TYPE_HOLLOW_CIRCLE

public static final int MARKER_TYPE_HOLLOW_CIRCLE
Flag for a hollow circle data marker.

See Also:
Constant Field Values

MARKER_TYPE_FILLED_CIRCLE

public static final int MARKER_TYPE_FILLED_CIRCLE
Flag for a filled circle data marker.

See Also:
Constant Field Values

MARKER_TYPE_CIRCLE_X

public static final int MARKER_TYPE_CIRCLE_X
Flag for an x in a circle data marker.

See Also:
Constant Field Values

MARKER_TYPE_CIRCLE_PLUS

public static final int MARKER_TYPE_CIRCLE_PLUS
Flag for a plus in a circle data marker.

See Also:
Constant Field Values

MARKER_TYPE_CIRCLE_CIRCLE

public static final int MARKER_TYPE_CIRCLE_CIRCLE
Flag for a circle in a circle data marker.

See Also:
Constant Field Values

TEXT_X_LEFT

public static final int TEXT_X_LEFT
Value for attribute "TextAlignment" indicating that the text should be left adjusted. This is the default setting.

See Also:
Constant Field Values

TEXT_X_CENTER

public static final int TEXT_X_CENTER
Value for attribute "TextAlignment" indicating that the text should be centered.

See Also:
Constant Field Values

TEXT_X_RIGHT

public static final int TEXT_X_RIGHT
Value for attribute "TextAlignment" indicating that the text should be right adjusted.

See Also:
Constant Field Values

TEXT_Y_BOTTOM

public static final int TEXT_Y_BOTTOM
Value for attribute "TextAlignment" indicating that the text should be drawn on the baseline. This is the default setting.

See Also:
Constant Field Values

TEXT_Y_CENTER

public static final int TEXT_Y_CENTER
Value for attribute "TextAlignment" indicating that the text should be vertically centered.

See Also:
Constant Field Values

TEXT_Y_TOP

public static final int TEXT_Y_TOP
Value for attribute "TextAlignment" indicating that the text should be drawn with the top of the letters touching the top of the drawing region.

See Also:
Constant Field Values

TRANSFORM_LINEAR

public static final int TRANSFORM_LINEAR
Flag used to indicate that the axis uses linear scaling.

See Also:
setTransform(int), Constant Field Values

TRANSFORM_LOG

public static final int TRANSFORM_LOG
Flag used to indicate that the axis uses logarithmic scaling.

See Also:
setTransform(int), Constant Field Values

TRANSFORM_CUSTOM

public static final int TRANSFORM_CUSTOM
Flag used to indicate that the axis using a custom transformation.

See Also:
setTransform(int), Constant Field Values
Constructor Detail

ChartNode

public ChartNode(ChartNode parent)
Construct a ChartNode object.

Parameters:
parent - the ChartNode parent of this object
Method Detail

toString

public String toString()
Returns the name of this ChartNode

Returns:
a String, the name of this ChartNode

clone

protected Object clone(Hashtable hashClonedNode)
Returns a deep-copy clone of this node. Each class derived from this class should override this function IF the derived class contains ChartNode objects or double[] arrays as member data. The overriden function should call this function and then clone each of its ChartNode data members. For example, in AxisXY we have
	protected Object clone(Hashtable hashClonedNode)