Uses of Interface
org.jfree.data.time.TimePeriod
Package | Description |
---|---|
org.jfree.data.gantt |
Data interfaces and classes for Gantt charts.
|
org.jfree.data.time |
Interfaces and classes for time-related data.
|
-
Uses of TimePeriod in org.jfree.data.gantt
Methods in org.jfree.data.gantt that return TimePeriod Modifier and Type Method Description TimePeriod
Task. getDuration()
Returns the duration (actual or estimated) of the task.Methods in org.jfree.data.gantt with parameters of type TimePeriod Modifier and Type Method Description void
Task. setDuration(TimePeriod duration)
Sets the task duration (actual or estimated).Constructors in org.jfree.data.gantt with parameters of type TimePeriod Constructor Description Task(String description, TimePeriod duration)
Creates a new task. -
Uses of TimePeriod in org.jfree.data.time
Classes in org.jfree.data.time that implement TimePeriod Modifier and Type Class Description class
Day
Represents a single day in the range 1-Jan-1900 to 31-Dec-9999.class
FixedMillisecond
Wrapper for ajava.util.Date
object that allows it to be used as aRegularTimePeriod
.class
Hour
Represents an hour in a specific day.class
Millisecond
Represents a millisecond.class
Minute
Represents a minute.class
Month
Represents a single month.class
Quarter
Defines a quarter (in a given year).class
RegularTimePeriod
An abstract class representing a unit of time.class
Second
Represents a second in a particular day.class
SimpleTimePeriod
An arbitrary period of time, measured to millisecond precision usingjava.util.Date
.class
Week
A calendar week.class
Year
Represents a year in the range -9999 to 9999.Methods in org.jfree.data.time that return TimePeriod Modifier and Type Method Description TimePeriod
TimePeriodValue. getPeriod()
Returns the time period.TimePeriod
TimePeriodValues. getTimePeriod(int index)
Returns the time period at the specified index.TimePeriod
TimeTableXYDataset. getTimePeriod(int item)
Returns the time period for the specified item.Methods in org.jfree.data.time with parameters of type TimePeriod Modifier and Type Method Description void
TimePeriodValues. add(TimePeriod period, double value)
Adds a new data item to the series and sends aSeriesChangeEvent
to all registered listeners.void
TimePeriodValues. add(TimePeriod period, Number value)
Adds a new data item to the series and sends aSeriesChangeEvent
to all registered listeners.void
TimeTableXYDataset. add(TimePeriod period, double y, Comparable seriesName)
Adds a new data item to the dataset and sends aDatasetChangeEvent
to all registered listeners.void
TimeTableXYDataset. add(TimePeriod period, Number y, Comparable seriesName, boolean notify)
Adds a new data item to the dataset and, if requested, sends aDatasetChangeEvent
to all registered listeners.void
TimeTableXYDataset. remove(TimePeriod period, Comparable seriesName)
Removes an existing data item from the dataset.void
TimeTableXYDataset. remove(TimePeriod period, Comparable seriesName, boolean notify)
Removes an existing data item from the dataset and, if requested, sends aDatasetChangeEvent
to all registered listeners.Constructors in org.jfree.data.time with parameters of type TimePeriod Constructor Description TimePeriodValue(TimePeriod period, double value)
Constructs a new data item.TimePeriodValue(TimePeriod period, Number value)
Constructs a new data item.