org.ascape.util.vis
Class SeriesView

java.lang.Object
  extended by org.ascape.util.vis.SeriesView
All Implemented Interfaces:
java.io.Serializable

public class SeriesView
extends java.lang.Object
implements java.io.Serializable

Information needed by views to display a data series.

Since:
1.2
Version:
1.2
Author:
Miles Parker
See Also:
Serialized Form

Constructor Summary
SeriesView()
          Constructs a new Series View with a random color, and assuming continuous data.
 
Method Summary
 java.awt.Color getColor()
          Returns a color for the object as defined irrespective of object by setColor.
 boolean isContinuous()
          Should the series be protrayed as continuous? Used for time series.
 void setColor(java.awt.Color color)
          Sets the color of the series.
 void setContinuous(boolean continuous)
          Sets whether the series is protrayed as continuous.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeriesView

public SeriesView()
Constructs a new Series View with a random color, and assuming continuous data.

Method Detail

getColor

public java.awt.Color getColor()
Returns a color for the object as defined irrespective of object by setColor.


setColor

public void setColor(java.awt.Color color)
Sets the color of the series.

Parameters:
color - the color this feature should always return

isContinuous

public boolean isContinuous()
Should the series be protrayed as continuous? Used for time series.


setContinuous

public void setContinuous(boolean continuous)
Sets whether the series is protrayed as continuous.

Parameters:
continuous -


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.