Package | Description |
---|---|
org.jfree.data.gantt |
Data interfaces and classes for Gantt charts.
|
org.jfree.data.time |
Interfaces and classes for time-related data.
|
Modifier and Type | Method and Description |
---|---|
TimePeriod |
Task.getDuration()
Returns the duration (actual or estimated) of the task.
|
Modifier and Type | Method and Description |
---|---|
void |
Task.setDuration(TimePeriod duration)
Sets the task duration (actual or estimated).
|
Constructor and Description |
---|
Task(java.lang.String description,
TimePeriod duration)
Creates a new task.
|
Modifier and Type | Class and Description |
---|---|
class |
Day
Represents a single day in the range 1-Jan-1900 to 31-Dec-9999.
|
class |
FixedMillisecond
Wrapper for a
java.util.Date object that allows it to be used
as a RegularTimePeriod . |
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 using
java.util.Date . |
class |
Week
A calendar week.
|
class |
Year
Represents a year in the range -9999 to 9999.
|
Modifier and Type | Method and Description |
---|---|
TimePeriod |
TimePeriodValue.getPeriod()
Returns the time period.
|
TimePeriod |
TimeTableXYDataset.getTimePeriod(int item)
Returns the time period for the specified item.
|
TimePeriod |
TimePeriodValues.getTimePeriod(int index)
Returns the time period at the specified index.
|
Modifier and Type | Method and Description |
---|---|
void |
TimePeriodValues.add(TimePeriod period,
double value)
Adds a new data item to the series and sends a
SeriesChangeEvent
to all registered listeners. |
void |
TimeTableXYDataset.add(TimePeriod period,
double y,
java.lang.Comparable seriesName)
Adds a new data item to the dataset and sends a
DatasetChangeEvent to all registered listeners. |
void |
TimePeriodValues.add(TimePeriod period,
java.lang.Number value)
Adds a new data item to the series and sends a
SeriesChangeEvent
to all registered listeners. |
void |
TimeTableXYDataset.add(TimePeriod period,
java.lang.Number y,
java.lang.Comparable seriesName,
boolean notify)
Adds a new data item to the dataset and, if requested, sends a
DatasetChangeEvent to all registered listeners. |
void |
TimeTableXYDataset.remove(TimePeriod period,
java.lang.Comparable seriesName)
Removes an existing data item from the dataset.
|
void |
TimeTableXYDataset.remove(TimePeriod period,
java.lang.Comparable seriesName,
boolean notify)
Removes an existing data item from the dataset and, if requested,
sends a
DatasetChangeEvent to all registered listeners. |
Constructor and Description |
---|
TimePeriodValue(TimePeriod period,
double value)
Constructs a new data item.
|
TimePeriodValue(TimePeriod period,
java.lang.Number value)
Constructs a new data item.
|