com.approximatrix.charting.model
Class ScatterDataModel.SeriesProperties

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

private class ScatterDataModel.SeriesProperties
extends java.lang.Object

Simple private class that is used to store the drawing properties for a ScatterDataModel series. All interfacing with the class objects is performed with ScatterDataModel.

Author:
armstrong

Field Summary
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
ScatterDataModel.SeriesProperties()
          Initializes the properties object, setting no markers and line drawing
 
Method Summary
 boolean getLine()
          Returns state of line drawing
 boolean getMarker()
          Returns state of marker drawing
 void setLineOff()
          Sets connecting line to be hidden
 void setLineOn()
          Sets connecting line to be drawn
 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

Constructor Detail

ScatterDataModel.SeriesProperties

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

Method Detail

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