public final class GralCfgPosition extends java.lang.Object implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
panel |
static int |
version
Version and history
Copyright/Copyleft:
For this source the LGPL Lesser General Public License, published by the Free Software Foundation is valid. |
(package private) boolean |
xIncr_ |
int |
xPos |
int |
xPosFrac |
boolean |
xPosRelative |
int |
xSizeFrac |
int |
xWidth |
(package private) boolean |
yIncr_ |
int |
yPos |
int |
yPosFrac |
boolean |
yPosRelative |
int |
ySizeDown |
int |
ySizeFrac |
Constructor and Description |
---|
GralCfgPosition() |
Modifier and Type | Method and Description |
---|---|
protected GralCfgPosition |
clone() |
void |
set_xIncr() |
void |
set_xOwnSize() |
void |
set_yIncr() |
void |
set_yOwnSize() |
void |
set(GralCfgPosition src)
Sets all data from src.
|
boolean |
setPosElement(char what,
java.lang.String sVal)
Sets a position element.
|
public static final int version
public java.lang.String panel
public boolean yPosRelative
public int yPos
public int yPosFrac
public int ySizeDown
public int ySizeFrac
boolean yIncr_
public boolean xPosRelative
public int xPos
public int xPosFrac
public int xWidth
public int xSizeFrac
boolean xIncr_
public GralCfgPosition()
public void set_xIncr()
public void set_yIncr()
public void set_xOwnSize()
public void set_yOwnSize()
protected GralCfgPosition clone()
clone
in class java.lang.Object
public void set(GralCfgPosition src)
clone()
but it uses a given instance.src
- of datapublic boolean setPosElement(char what, java.lang.String sVal)
what
- use y, x, h, w for pos-y, pos-x, height, width. All other chars causes an IllegalArgumentException.sVal
- String given Value in ZBNF-syntax-form ::=[< ?posRelative> &+]< #?val>[ \. <#?frac> ]. Fault inputs causes return false.
It should not have leeding or trailing spaces! Trim outside.
It is admissible that the string is empty, then no action is done.