public static class GralCurveView.TimeOrganisation extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
firstShortTimeDateInCurve
Short time stamp of the oldest stored point.
|
int |
lastShortTimeDateInCurve |
int |
nrofPixelForTimestep |
float |
pixel7time
The reciprocal of
timePerPixel . |
int |
pixelWrittenAfterStrongDiv
Accumulated nr of pixel written with short drawing after a strong division.
|
java.lang.String[] |
sTimeAbsDiv
The text written at the time divisions.
|
long |
timeAbsOnLastStrongDiv |
int |
timeLeftShowing
The last tested time to produce vertical lines for time division.
|
float |
timePerPixel
Number of shorttime units for 1 pixel.
|
int |
timeSpread
Number of time shortTime steps to showing the curve in the current view.
|
int[] |
xPixelTimeDiv
Pixel position from right for fine divisions of time lines (vertical lines) and normal divisions.
|
int[] |
xPixelTimeDivFine
Pixel position from right for fine divisions of time lines (vertical lines) and normal divisions.
|
Constructor and Description |
---|
TimeOrganisation() |
Modifier and Type | Method and Description |
---|---|
void |
calc()
Calculates the divisions with known
timePerPixel . |
public int firstShortTimeDateInCurve
public int lastShortTimeDateInCurve
public int nrofPixelForTimestep
public float pixel7time
timePerPixel
. The number of pixel for 1 short time step. It is less 1.0 often.public int pixelWrittenAfterStrongDiv
public final java.lang.String[] sTimeAbsDiv
public long timeAbsOnLastStrongDiv
public int timeLeftShowing
public float timePerPixel
GralCurveView.setSample(float[], int)
.public int timeSpread
timePerPixel
will be calculated from this
regarding the current graphic size.
This value should be given in the same value unit as used for GralCurveView.setSample(float[], int)
.public final int[] xPixelTimeDiv
#prepareIndicesDataForDrawing(int, int, int)
and used in the draw routine of the implementation level.public final int[] xPixelTimeDivFine
#prepareIndicesDataForDrawing(int, int, int)
and used in the draw routine of the implementation level.public TimeOrganisation()
public void calc()
timePerPixel
.
This routine should be called whenever the display zoom will be changed.
It sets #divType
, pixelPerTimeFineDiv
, millisecPerFineDiv