public static class GralPos.Coordinate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
char |
dirNext
direction of the next element.
|
(package private) int |
n1
Start Position as proportionately to the size of the parent (panel).
|
(package private) int |
n2
as proportionately to the size of the parent (panel).
|
int |
p1
The start position for the spread.
|
int |
p2
The end position for the spread.
|
int |
pb
Additional border value for
GralPos.next . |
Constructor and Description |
---|
Coordinate() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
set(GralPos.Coordinate src)
Copies all values.
|
protected GralPos.Coordinate |
set(int z,
int ze,
java.lang.String nextPosChars,
GralPos.Coordinate refCoord)
Sets the new position for this coordinate.
|
java.lang.String |
toString()
Calculate from size to pixel.
|
public int p1
public int p2
int n1
int n2
public int pb
GralPos.next
.public char dirNext
protected GralPos.Coordinate set(int z, int ze, java.lang.String nextPosChars, GralPos.Coordinate refCoord)
z1 | z2 | ... |
0 | sameSize 0x6... | absolute start coord, same size |
0 | absolute start coord, same size | |
0 | sameSize | absolute start coord, same size |
refer | 0 | relative start coord, abs. end coord |
refer | 0 | relative start coord, abs. end coord |
refer | 0 | relative start coord, abs. end coord |
z
- zFrac
- ze
- zeFrac
- refCoord
- The refer position. Note that parent may be == this because the new position based on the current.void set(GralPos.Coordinate src)
src
- public java.lang.String toString()
toString
in class java.lang.Object