edu.brook.ascape.view
Class SeriesView

java.lang.Object
  |
  +--edu.brook.ascape.view.SeriesView

public class SeriesView
extends java.lang.Object

Information needed by views to display a data series.

Since:
1.2
Version:
1.2

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.
Parameters:
object - Ignored; normally, the object the object to get a color from.

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.
Parameters:
object - Ignored; normally, the object the object to get a color from.

setContinuous

public void setContinuous(boolean continuous)
Sets whether the series is protrayed as continuous.
Parameters:
color - the color this feature should always return

(c) 1998-2000 The Brookings Insitution
Webpage