org.ascape.util.vis
Class SeriesRepresentation

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

public class SeriesRepresentation
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
SeriesRepresentation()
          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

SeriesRepresentation

public SeriesRepresentation()
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.