Class TimeSeriesAttributes

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TimeSeriesAttributes extends SeriesAttributes
A SeriesAttributes used for user control pf time series created with TimeSeriesCharGenerator. This is done largely through the manipulation of XYSeries objects and features of the XYPlot class.
See Also:
  • Field Details

  • Constructor Details

    • TimeSeriesAttributes

      public TimeSeriesAttributes(ChartGenerator generator, org.jfree.data.xy.XYSeries series, int index, org.jfree.data.general.SeriesChangeListener stoppable)
      Builds a TimeSeriesAttributes with the given generator, series, and index for the series.
  • Method Details

    • setThickness

      public void setThickness(double value)
    • getThickness

      public double getThickness()
    • setStretch

      public void setStretch(double value)
    • getStretch

      public double getStretch()
    • setDashPattern

      public void setDashPattern(int value)
    • getDashPattern

      public int getDashPattern()
    • setStrokeColor

      public void setStrokeColor(Color value)
    • getStrokeColor

      public Color getStrokeColor()
    • getSeries

      public org.jfree.data.xy.XYSeries getSeries()
    • setSeries

      public void setSeries(org.jfree.data.xy.XYSeries series)
      Clears the existing internal XYSeries, then adds all the series elements in the provided XYSeries to the internal XYSeries. Does not notify the chart to update.
    • setSeriesName

      public void setSeriesName(String val)
      Overrides:
      setSeriesName in class SeriesAttributes
    • getSeriesName

      public String getSeriesName()
      Overrides:
      getSeriesName in class SeriesAttributes
    • clear

      public void clear()
    • rebuildGraphicsDefinitions

      public void rebuildGraphicsDefinitions()
      Description copied from class: SeriesAttributes
      Updates features of the series to reflect the current widget settings as specified by the user.
      Specified by:
      rebuildGraphicsDefinitions in class SeriesAttributes
    • buildAttributes

      public void buildAttributes()
      Description copied from class: SeriesAttributes
      Constructs the widget by adding items to the LabelledList. Will be called in the middle of the SeriesAttributes constructor, and so certain instance variables may not yet have been initialized.
      Specified by:
      buildAttributes in class SeriesAttributes
    • possiblyCull

      public boolean possiblyCull()