|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.quinncurtis.chart2djava.ChartObj
com.quinncurtis.chart2djava.UserCoordinates
com.quinncurtis.chart2djava.WorldCoordinates
com.quinncurtis.chart2djava.WorkingCoordinates
com.quinncurtis.chart2djava.PhysicalCoordinates
com.quinncurtis.chart2djava.TimeCoordinates
public class TimeCoordinates
The TimeCoordinates class extends the PhysicalCoordinates class to support a time-based x-axis and a linear or log y-axis coordinate system.
Field Summary |
---|
Constructor Summary | |
---|---|
TimeCoordinates()
The default constructor for TimeCoordinates. |
|
TimeCoordinates(java.util.GregorianCalendar dstart,
double y1,
java.util.GregorianCalendar dstop,
double y2)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
|
TimeCoordinates(java.util.GregorianCalendar dstart,
double y1,
java.util.GregorianCalendar dstop,
double y2,
int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
|
TimeCoordinates(java.util.GregorianCalendar dstart,
double y1,
java.util.GregorianCalendar dstop,
double y2,
int ntimeaxis,
int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
|
TimeCoordinates(java.util.GregorianCalendar dstart,
long starttime,
double y1,
java.util.GregorianCalendar dstop,
long stoptime,
double y2,
int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
|
TimeCoordinates(java.util.GregorianCalendar dstart,
long starttime,
double y1,
java.util.GregorianCalendar dstop,
long stoptime,
double y2,
int ntimeaxis,
int nweektype)
This constructor creates a new TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
|
TimeCoordinates(int xscale,
int yscale)
This constructor creates a new TimeCoordinates, specifying the x- and y-coordinate systems, using default values for each. |
Method Summary | |
---|---|
void |
autoScale(ChartDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. |
void |
autoScale(ChartDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. |
void |
autoScale(ChartDataset[] datasets,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. |
void |
autoScale(ChartDataset dataset,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. |
void |
autoScale(int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object, running the auto-axis algorithm on the current minimum and maximum scaling values. |
void |
autoScale(TimeGroupDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object. |
void |
autoScale(TimeGroupDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeGroupDataset datasets. |
void |
autoScale(TimeGroupDataset[] datasets,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeGroupDataset datasets. |
void |
autoScale(TimeGroupDataset dataset,
int nroundmode)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object. |
void |
autoScale(TimeGroupDataset dataset,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeGroupDataset object. |
void |
autoScale(TimeSimpleDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. |
void |
autoScale(TimeSimpleDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. |
void |
autoScale(TimeSimpleDataset[] datasets,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. |
void |
autoScale(TimeSimpleDataset dataset,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. |
void |
calcTimeAutoScale(ChartDataset[] datasets,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. |
void |
calcTimeAutoScale(ChartDataset dataset,
int nroundmodex,
int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied T imeSimpleDataset dataset. |
boolean |
checkValidDate(java.util.GregorianCalendar cdate)
This method checks to see if the specified date is valid, checking to see if it within the specified time of day limits. |
boolean |
checkValidPoint(double x,
double y)
This method checks to see if the specified data point is valid, checking to see if the date component it within the specified time of day limits, and the numeric component is a valid number. |
java.lang.Object |
clone()
Returns an object that is a clone of this TimeCoordinates object. |
void |
copy(java.lang.Object source)
Copies the source scale. |
void |
copy(TimeCoordinates source)
Copies the source scale. |
int |
errorCheck(int nerror)
Checks the current TimeCoordinates object for common errors. |
Axis |
getCompatibleAxis(int axis)
Returns an TimeAxis axis compatible with the time axis of this object. |
long |
getScaleStartTOD()
This method returns the starting TOD value for the time scale. |
double |
getScaleStartY()
This method returns the lower left y-value for the plotting area of the physical coordinate system. |
long |
getScaleStopTOD()
This method returns the ending TOD value for the time scale. |
double |
getScaleStopY()
This method returns the upper right y-value for the plotting area of the physical coordinate system. |
TimeScale |
getTimeScale(int axis)
This method returns the TimeScale object associated with the specified axis. |
java.util.GregorianCalendar |
getTimeScaleStart()
This method returns the starting value of the TimeCoordinates time scale. |
java.util.GregorianCalendar |
getTimeScaleStart(int axis)
This method returns the starting value of the TimeCoordinates time scale. |
java.util.GregorianCalendar |
getTimeScaleStop()
This method returns the ending value of the TimeCoordinates time scale. |
java.util.GregorianCalendar |
getTimeScaleStop(int axis)
This method returns the ending value of the TimeCoordinates time scale. |
int |
getWeekType()
This method returns the week type. |
void |
setScaleStartTOD(long starttime)
Sets the starting TOD value for the time scale. |
void |
setScaleStartX(double rX1)
Sets the lower left x-coordinate of the TimeCoordinates scale. |
void |
setScaleStartY(double rY1)
Sets the lower left y-coordinate of the TimeCoordinates scale. |
void |
setScaleStopTOD(long stoptime)
Sets the ending TOD value for the time scale. |
void |
setScaleStopX(double rX2)
Sets the upper right x-coordinate of the TimeCoordinates scale. |
void |
setScaleStopY(double rY2)
Sets the upper right y-coordinate of the TimeCoordinates scale. |
void |
setScaleX(double rX1,
double rX2)
Sets the x-coordinate bounds of the TimeCoordinates scale. |
void |
setScaleY(double rY1,
double rY2)
Sets the y-coordinate bounds of the TimeCoordinates scale. |
void |
setTimeCoordinateBounds(java.util.GregorianCalendar dstart,
double y1,
java.util.GregorianCalendar dstop,
double y2)
This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
void |
setTimeCoordinateBounds(java.util.GregorianCalendar dstart,
double y1,
java.util.GregorianCalendar dstop,
double y2,
int nweektype)
This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
void |
setTimeCoordinateBounds(java.util.GregorianCalendar dstart,
long starttod,
double y1,
java.util.GregorianCalendar dstop,
long stoptod,
double y2,
int nweektype)
This method initializes an TimeCoordinates object using the specified starting and ending dates, and the minimum and maximum values for x- and y-axis. |
void |
setTimeScaleStart(java.util.GregorianCalendar start)
Sets the starting value of the TimeCoordinates time scale. |
void |
setTimeScaleStart(int axis,
java.util.GregorianCalendar start)
Sets the starting value of the TimeCoordinates time scale. |
void |
setTimeScaleStop(java.util.GregorianCalendar stop)
Sets the ending value of the TimeCoordinates time scale. |
void |
setTimeScaleStop(int axis,
java.util.GregorianCalendar stop)
Sets the ending value of the TimeCoordinates time scale. |
void |
setTimeScaleTransforms(int xscale,
int yscale)
This method specifies the x- and y-coordinate systems, using default values for each. |
void |
setWeekType(int weektype)
Sets the week type. |
void |
swapScaleOrientation()
This method swaps the minimum x-value of the coordinate system with the minimum y-value; and the maximum x-value with the maximum y-value. |
Methods inherited from class com.quinncurtis.chart2djava.WorkingCoordinates |
---|
calcWorkingScale, copy, getClippingArea, getGraphAreaScale, getGraphAspectRatio, getGraphBorderFrame, getGraphRect, getPlotAreaScale, getPlotRect, getWorkingRangeX, getWorkingRangeY, setClippingArea, setFixedGraphBorderInset, setFixedGraphBorderInsets, setGraphBorderDiagonal, setGraphBorderFrame, setGraphBorderFrame, setGraphBorderInsets, setPlotAreaScale |
Methods inherited from class com.quinncurtis.chart2djava.WorldCoordinates |
---|
copy, getWorldCurrentPos, getWorldX1, getWorldX2, getWorldY1, getWorldY2, setWorldScale, setWorldScale, userToWorld, userToWorld, userToWorld, userToWorld, userToWorldAbsX, userToWorldAbsY, userToWorldRelX, userToWorldRelY, worldToUser, worldToUser, worldToUser, worldToUserAbsX, worldToUserAbsY, worldToUserRelX, worldToUserRelY |
Methods inherited from class com.quinncurtis.chart2djava.ChartObj |
---|
copy, getChartObjIDCntr, getChartObjType, getThisChartObjID, TypeSafeVectorCopy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeCoordinates()
public TimeCoordinates(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2)
dstart
- Sets the starting date value for the x-axis of the plotting area physical
coordinate system.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical
coordinate system.y2
- Sets the upper right y-value for the plotting area physical coordinate system.public TimeCoordinates(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2, int nweektype)
dstart
- Sets the starting date value for the x-axis of the plotting area physical
coordinate system.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical
coordinate system.y2
- Sets the upper right y-value for the plotting area physical coordinate system.nweektype
- Specifies the current week mode for calendar calculations. Use one of the
time/date week constants: WEEK_7D or WEEK_5D.public TimeCoordinates(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2, int ntimeaxis, int nweektype)
dstart
- Sets the starting date value for the x-axis of the plotting area physical
coordinate system.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical
coordinate system.y2
- Sets the upper right y-value for the plotting area physical coordinate system.ntimeaxis
- Specifies whether the time axis is the x-axis or the y-axis.nweektype
- Specifies the current week mode for calendar calculations. Use one of the
time/date week constants: WEEK_7D or WEEK_5D.public TimeCoordinates(java.util.GregorianCalendar dstart, long starttime, double y1, java.util.GregorianCalendar dstop, long stoptime, double y2, int nweektype)
dstart
- Sets the starting time of day and date value for the x-axis of the plotting area physical
coordinate system.starttime
- Sets the start time used for all days in the plotting area.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical coordinate system.stoptime
- Sets the stop time used for all days in the plotting area.y2
- Sets the upper right y-value for the plotting area physical coordinate system.nweektype
- Specifies the current week mode for calendar calculations. Use one of the time/date
week constants: WEEK_7D or WEEK_5D.public TimeCoordinates(java.util.GregorianCalendar dstart, long starttime, double y1, java.util.GregorianCalendar dstop, long stoptime, double y2, int ntimeaxis, int nweektype)
dstart
- Sets the starting time of day and date value for the x-axis of the plotting area physical
coordinate system.starttime
- Sets the start time used for all days in the plotting area.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical coordinate system.stoptime
- Sets the stop time used for all days in the plotting area.y2
- Sets the upper right y-value for the plotting area physical coordinate system.ntimeaxis
- Specifies if the x- or y-coordinate is the time axis. Use the X_AXIS or Y_AXIS constant.nweektype
- Specifies the current week mode for calendar calculations. Use one of the time/date week
constants: WEEK_7D or WEEK_5D.public TimeCoordinates(int xscale, int yscale)
xscale
- Sets the x-coordinate system to either time, linear or logarithmic scaling. Use one
of the scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.yscale
- Sets the y-coordinate system to either linear or logarithmic scaling. Use one of the
scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.Method Detail |
---|
public void autoScale(ChartDataset dataset)
autoScale
in class PhysicalCoordinates
dataset
- The TimeSimpleDataset dataset used as the basis for the new coordinate system.public void autoScale(ChartDataset[] datasets)
autoScale
in class PhysicalCoordinates
datasets
- The array of dataset used as the basis for the new coordinate system.public void autoScale(ChartDataset[] datasets, int nroundmodex, int nroundmodey)
autoScale
in class PhysicalCoordinates
datasets
- The array of dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(ChartDataset dataset, int nroundmodex, int nroundmodey)
autoScale
in class PhysicalCoordinates
dataset
- The TimeSimpleDataset dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(int nroundmodex, int nroundmodey)
autoScale
in class PhysicalCoordinates
nroundmodex
- Sets the auto-scale mode for the x-axis. Use one of the auto-scale rounding mode
constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-axis. Use one of the auto-scale rounding mode
constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(TimeGroupDataset dataset)
dataset
- The TimeGroupDataset dataset used as the basis for the new coordinate system.public void autoScale(TimeGroupDataset[] datasets)
datasets
- The array of datasets used as the basis for the new coordinate system.public void autoScale(TimeGroupDataset[] datasets, int nroundmodex, int nroundmodey)
datasets
- The array of dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(TimeGroupDataset dataset, int nroundmode)
dataset
- The TimeGroupDataset dataset used as the basis for the new coordinate system.nroundmode
- Sets the auto-scale mode for the x- and y-coordinates. Use one of the
auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(TimeGroupDataset dataset, int nroundmodex, int nroundmodey)
dataset
- The TimeGroupDataset dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(TimeSimpleDataset dataset)
dataset
- The TimeSimpleDataset dataset used as the basis for the new coordinate system.public void autoScale(TimeSimpleDataset[] datasets)
datasets
- The array of dataset used as the basis for the new coordinate system.public void autoScale(TimeSimpleDataset[] datasets, int nroundmodex, int nroundmodey)
datasets
- The array of dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void autoScale(TimeSimpleDataset dataset, int nroundmodex, int nroundmodey)
dataset
- The TimeSimpleDataset dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale
rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void calcTimeAutoScale(ChartDataset[] datasets, int nroundmodex, int nroundmodey)
datasets
- The array of dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-axis. Use one of the auto-scale rounding
mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-axis. Use one of the auto-scale rounding
mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public void calcTimeAutoScale(ChartDataset dataset, int nroundmodex, int nroundmodey)
dataset
- The dataset used as the basis for the new coordinate system.nroundmodex
- Sets the auto-scale mode for the x-axis. Use one of the auto-scale rounding
mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.nroundmodey
- Sets the auto-scale mode for the y-axis. Use one of the auto-scale rounding
mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.public boolean checkValidDate(java.util.GregorianCalendar cdate)
cdate
- The date that is checked.
public boolean checkValidPoint(double x, double y)
checkValidPoint
in class PhysicalCoordinates
x
- The x-coordinate that is checked.y
- The y-coordinate that is checked.
public java.lang.Object clone()
clone
in class WorkingCoordinates
public void copy(java.lang.Object source)
copy
in class PhysicalCoordinates
source
- The source scale object.public void copy(TimeCoordinates source)
source
- The source scale object.public int errorCheck(int nerror)
errorCheck
in class PhysicalCoordinates
nerror
- Current error state
public Axis getCompatibleAxis(int axis)
getCompatibleAxis
in class PhysicalCoordinates
axis
- Specify the coordinate direction, either x or y, using one of the axis constants:
X_AXIS or Y_AXIS. Current this value is ignored and the axis returned is always an x-axis.
public long getScaleStartTOD()
public double getScaleStartY()
getScaleStartY
in class PhysicalCoordinates
public long getScaleStopTOD()
public double getScaleStopY()
getScaleStopY
in class PhysicalCoordinates
public TimeScale getTimeScale(int axis)
axis
- Specifies the time scale axis.
public java.util.GregorianCalendar getTimeScaleStart()
public java.util.GregorianCalendar getTimeScaleStart(int axis)
axis
- Specifies the time scale axis.
public java.util.GregorianCalendar getTimeScaleStop()
public java.util.GregorianCalendar getTimeScaleStop(int axis)
axis
- Specifies the time scale axis.
public int getWeekType()
public void setScaleStartTOD(long starttime)
starttime
- Sets the starting TOD value for the time scale.public void setScaleStartX(double rX1)
setScaleStartX
in class PhysicalCoordinates
rX1
- Sets the lower left x-value for the TimeCoordinates scale.public void setScaleStartY(double rY1)
setScaleStartY
in class PhysicalCoordinates
rY1
- Sets the lower left y-value for the TimeCoordinates scale.public void setScaleStopTOD(long stoptime)
stoptime
- Sets the ending TOD value for the time scale.public void setScaleStopX(double rX2)
setScaleStopX
in class PhysicalCoordinates
rX2
- Sets the upper right x-value for the TimeCoordinates scale.public void setScaleStopY(double rY2)
setScaleStopY
in class PhysicalCoordinates
rY2
- Sets the upper right y-value for the TimeCoordinates scale.public void setScaleX(double rX1, double rX2)
setScaleX
in class PhysicalCoordinates
rX1
- Sets the lower left x-value for the TimeCoordinates scale.rX2
- Sets the upper right x-value for the TimeCoordinates scale.public void setScaleY(double rY1, double rY2)
setScaleY
in class PhysicalCoordinates
rY1
- Sets the lower left y-value for the TimeCoordinates scale.rY2
- Sets the upper right y-value for the TimeCoordinates scale.public void setTimeCoordinateBounds(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2)
dstart
- Sets the starting time of day and date value for the x-axis of the plotting area
physical coordinate system.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical coordinate system.y2
- Sets the upper right y-value for the plotting area physical coordinate system.public void setTimeCoordinateBounds(java.util.GregorianCalendar dstart, double y1, java.util.GregorianCalendar dstop, double y2, int nweektype)
dstart
- Sets the starting time of day and date value for the x-axis of the plotting area
physical coordinate system.y1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical coordinate system.y2
- Sets the upper right y-value for the plotting area physical coordinate system.nweektype
- Specifies the current week mode for calendar calculations. Use one of the time/date
week constants: WEEK_7D or WEEK_5D.public void setTimeCoordinateBounds(java.util.GregorianCalendar dstart, long starttod, double y1, java.util.GregorianCalendar dstop, long stoptod, double y2, int nweektype)
dstart
- Sets the starting time-of-day and date value for the x-axis of the plotting area
physical coordinate system.starttod
- Sets the starting time (in msecs) for the range of hours to use for a dayy1
- Sets the lower left y-value for the plotting area physical coordinate system.dstop
- Sets the ending date value for the x-axis of the plotting area physical coordinate system.stoptod
- Sets the ending time-of-day (in msecs) for the range of hours to use for a dayy2
- Sets the upper right y-value for the plotting area physical coordinate system.nweektype
- Specifies the current week mode for calendar calculations. Use one of the
time/date week constants: WEEK_7D or WEEK_5D.public void setTimeScaleStart(java.util.GregorianCalendar start)
start
- Sets the starting time value for the TimeCoordinates scale.public void setTimeScaleStart(int axis, java.util.GregorianCalendar start)
axis
- Specifies the time scale axis.start
- Sets the starting time value for the TimeCoordinates scale.public void setTimeScaleStop(java.util.GregorianCalendar stop)
stop
- Sets the ending time value for the TimeCoordinates scale.public void setTimeScaleStop(int axis, java.util.GregorianCalendar stop)
axis
- Specifies the time scale axis.stop
- Sets the ending time value for the TimeCoordinates scale.public void setTimeScaleTransforms(int xscale, int yscale)
xscale
- Sets the x-coordinate system to either time, linear or logarithmic scaling. Use one
of the scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.yscale
- Sets the y-coordinate system to either linear or logarithmic scaling. Use one of the
scaling constants: TIME_SCALE, LINEAR_SCALE or LOG_SCALE.public void setWeekType(int weektype)
weektype
- Sets the week type.public void swapScaleOrientation()
swapScaleOrientation
in class PhysicalCoordinates
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |