public static class GralCurveView.TimeOrganisation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Timeshort |
absTime |
private int |
ctTimeSet
It is counted while the pair
#absTime_short and absTime is set newly. |
int |
firstShortTimeDateInCurve
Short time stamp of the oldest stored point.
|
int |
lastShortTimeDateInCurve |
(package private) int |
millisecPerDiv
Number of millisec between 2 fine divisions.
|
(package private) int[] |
millisecPerDivVariants
Milliseconds per division for number of pixel per fine division between 12..30.
|
(package private) int |
millisecPerFineDiv
Number of millisec between 2 fine divisions.
|
(package private) int[] |
millisecPerFineDivVariants |
(package private) float |
msPerTimeshort
The millisec per 1 timeshort step.
|
int |
nrofPixelForTimestep |
float |
pixel7time
The reciprocal of
timePerPixel . |
(package private) float |
pixelPerTimeDiv
Number of pixel per 1 fine division in vertical lines.
|
(package private) float |
pixelPerTimeFineDiv
Number of pixel per 1 fine division in vertical lines.
|
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.
|
(package private) int |
timeshortAdd
Value to add to the time stamp to get a continuous time for some simulations one after another.
|
(package private) int |
timeshortLast
The last timeshort from the timeVariable.
|
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 . |
Timeshort absTime
private volatile int ctTimeSet
#absTime_short
and absTime
is set newly.
The pair is consistent only if this counter is the same before and after read.float msPerTimeshort
int timeshortLast
int timeshortAdd
public int lastShortTimeDateInCurve
public int firstShortTimeDateInCurve
public int nrofPixelForTimestep
float pixelPerTimeDiv
float pixelPerTimeFineDiv
int millisecPerDiv
int millisecPerFineDiv
public float timePerPixel
#setSample(float[], int)
.public float pixel7time
timePerPixel
. The number of pixel for 1 short time step. It is less 1.0 often.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 #setSample(float[], int)
.public int timeLeftShowing
public long timeAbsOnLastStrongDiv
public int pixelWrittenAfterStrongDiv
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 final java.lang.String[] sTimeAbsDiv
int[] millisecPerFineDivVariants
int[] millisecPerDivVariants
public void calc()
timePerPixel
.
This routine should be called whenever the display zoom will be changed.
It sets #divType
, pixelPerTimeFineDiv
, millisecPerFineDiv