com.approximatrix.charting.model
Class MultiScatterDataModel.SeriesProperties

java.lang.Object
  extended by com.approximatrix.charting.model.MultiScatterDataModel.SeriesProperties
Enclosing class:
MultiScatterDataModel

private class MultiScatterDataModel.SeriesProperties
extends java.lang.Object

Stores all Series Properties, including marker and line preferences, for a data series (originally implemented in ScatterDataModel).

Author:
armstrong

Field Summary
private  java.lang.String line_description
          String describing the line style to use
private  boolean show_line
          Whether a line is shown when drawing the series
private  boolean show_marker
          Whether a marker is shown when drawing the series
 
Constructor Summary
MultiScatterDataModel.SeriesProperties()
          Initializes the properties object, setting no markers, line drawing, and the default line style
 
Method Summary
 boolean getLine()
          Returns state of line drawing
 java.lang.String getLineStyle()
          Returns a string describing the line style
 boolean getMarker()
          Returns state of marker drawing
 void setLineOff()
          Sets connecting line to be hidden
 void setLineOn()
          Sets connecting line to be drawn
 void setLineStyle(java.lang.String value)
          Sets the line style to the specified format
 void setMarkerOff()
          Sets markers to be hidden
 void setMarkerOn()
          Sets markers to be drawn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

show_marker

private boolean show_marker
Whether a marker is shown when drawing the series


show_line

private boolean show_line
Whether a line is shown when drawing the series


line_description

private java.lang.String line_description
String describing the line style to use

Constructor Detail

MultiScatterDataModel.SeriesProperties

public MultiScatterDataModel.SeriesProperties()
Initializes the properties object, setting no markers, line drawing, and the default line style

Method Detail

setLineStyle

public void setLineStyle(java.lang.String value)
Sets the line style to the specified format

Parameters:
value - the line style to use

getLineStyle

public java.lang.String getLineStyle()
Returns a string describing the line style

Returns:
descrition of the line style

setMarkerOn

public void setMarkerOn()
Sets markers to be drawn


setMarkerOff

public void setMarkerOff()
Sets markers to be hidden


setLineOn

public void setLineOn()
Sets connecting line to be drawn


setLineOff

public void setLineOff()
Sets connecting line to be hidden


getMarker

public boolean getMarker()
Returns state of marker drawing

Returns:
true if markers are drawn, false otherwise

getLine

public boolean getLine()
Returns state of line drawing

Returns:
true if line is drawn, false otherwise