public static final class GralWidget.DynamicData extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
GralColor |
backColor
Three colors for background, line and text should be convert to the platforms color and used in the paint routine.
|
GralColor |
backColorNoFocus
Three colors for background, line and text should be convert to the platforms color and used in the paint routine.
|
protected boolean |
bTextChanged
Set to true from any listener of the implementation level if the data of the widget was changed from GUI handling.
|
protected boolean |
bTouchedField
Set to true from any listener of the implementation level if the cursor in the widget is moved or such GUI handling.
|
java.lang.String |
displayedText
A text to display.
|
float |
fValue |
float[] |
fValues |
GralColor |
lineColor
Three colors for background, line and text should be convert to the platforms color and used in the paint routine.
|
long |
lValue
If a long or int value is given, it is stored here.
|
float |
maxValue |
float |
minValue |
java.lang.Object[] |
oValues
Any specific value.
|
GralColor |
textColor
Three colors for background, line and text should be convert to the platforms color and used in the paint routine.
|
GralFont |
textFont
It depends of the pixel size.
|
java.lang.Object |
userData |
java.lang.Object |
visibleInfo |
Constructor and Description |
---|
DynamicData() |
Modifier and Type | Method and Description |
---|---|
void |
acknChanged(int mask)
Resets what is changed, Bits defined in
GralWidget.ImplAccess.chgColorBack etc. |
int |
getChanged()
Returns the bits what is changed.
|
void |
setChanged(int mask)
Sets what is changed, Bits defined in
GralWidget.ImplAccess.chgColorBack etc. |
public GralColor backColor
public GralColor backColorNoFocus
protected boolean bTextChanged
GralWidget.dyda
can be read and write in any threat. This bit helps to synchronize.protected boolean bTouchedField
GralWidget.setText(CharSequence)
furthermore till the focus is left.public java.lang.String displayedText
public float fValue
public float[] fValues
public GralColor lineColor
public long lValue
public float maxValue
public float minValue
public java.lang.Object[] oValues
public GralColor textColor
public GralFont textFont
public java.lang.Object userData
public java.lang.Object visibleInfo
public DynamicData()
public void acknChanged(int mask)
GralWidget.ImplAccess.chgColorBack
etc.
This routine should be called in the paint routine whenever the change was succeeded.mask
- one bit or some bits. ImplAccess.chgXYZpublic int getChanged()
acknChanged(int)
public void setChanged(int mask)
GralWidget.ImplAccess.chgColorBack
etc.mask
- one bit or some bits. ImplAccess.chgXYZ