public interface GralWidgImpl_ifc
GralWidget
capability and the
capabilities of its derived classes, for example GralWidget.setText(CharSequence)
or GralWidget.setBackColor(org.vishia.gral.ifc.GralColor, int)
. That methods
stores the text, color etc. in graphic-independent attributes. The method
repaintGthread()
is the central method to realize that user stimuli for the
implementation graphic layer. That method can use especially the GralWidget.DynamicData
and there quest method GralWidget.DynamicData.whatIsChanged
.
There is no needing of methods such as setText(String)
etc. because the user
should able to set the text in any thread. See concept of data set described on GralWidget.setText(CharSequence)
See GralWidget._wdgImpl
.Modifier and Type | Method and Description |
---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
void |
removeWidgetImplementation()
Removes the graphical widget in the graphic.
|
void |
repaintGthread()
This method should be implemented in all Widget implementations of the adapter for the
underlying graphic system.
|
void |
setBoundsPixel(int x,
int y,
int dx,
int dy) |
boolean |
setFocusGThread()
Sets the focus to the widget.
|
void |
setVisibleGThread(boolean bVisible)
Sets the implementation widget(s) visible state.
|
GralRectangle getPixelPositionSize()
java.lang.Object getWidgetImplementation()
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.void removeWidgetImplementation()
void repaintGthread()
#repaintRequ
void setBoundsPixel(int x, int y, int dx, int dy)
boolean setFocusGThread()
GralMng_ifc#setFocus(GralWidget)
.void setVisibleGThread(boolean bVisible)
GralWidget.bVisibleState
too. Therewith it is able to quest GralWidget.isVisible()
in any thread.bVisible
- true then the widget should be visible, false it is set to invisible.