public class SwtWidgetSimpleWrapper extends GralWidget.ImplAccess
| Modifier and Type | Field and Description |
|---|---|
protected SwtMng |
mng |
protected Control |
widgetSwt |
bRedrawOnlyDynamics, chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgCurrTab, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, mngImpl, pixBounds, wdgimpl, widggversion| Constructor and Description |
|---|
SwtWidgetSimpleWrapper(GralWidget widgg,
Control widgetSwt,
SwtMng mng) |
| Modifier and Type | Method and Description |
|---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
void |
redrawGthread()
This method should be implemented in all Widget implementations of the adapter for the
underlying graphic system.
|
void |
removeWidgetImplementation()
Removes the graphical widget in the graphic.
|
void |
setBoundsPixel(int x,
int y,
int dx,
int dy)
Set the bounds of the implementation widget.
|
boolean |
setFocusGThread()
Sets the focus to the widget.
|
void |
setVisibleGThread(boolean bVisible)
Sets the implementation widget(s) visible state.
|
void |
swtUpdateRedraw() |
void |
updateValuesForAction()
This operation should be called before any action is invoked in the user space.
|
acknChanged, actionShow, dyda, getActionChange, getChanged, gralMng, gralWidgetFromImplData, redrawOnlyDynamics, setDragEnable, setDropEnable, setPosBounds, setTextChanged, setVisibleState, XXXfocusGainedprotected Control widgetSwt
protected final SwtMng mng
public SwtWidgetSimpleWrapper(GralWidget widgg, Control widgetSwt, SwtMng mng)
public void redrawGthread()
GralWidgImplAccess_ifc#repaintRequpublic void swtUpdateRedraw()
public java.lang.Object getWidgetImplementation()
GralWidgImplAccess_ifcComponent.
GralWidget._wdgImpl class
which should contain the references to that implementation widgets.getWidgetImplementation in interface GralWidgImplAccess_ifcgetWidgetImplementation in class GralWidget.ImplAccesspublic boolean setFocusGThread()
GralWidgImplAccess_ifcGralMng_ifc#setFocus(GralWidget).public void setVisibleGThread(boolean bVisible)
GralWidgImplAccess_ifcGralWidgetBase.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.public void removeWidgetImplementation()
GralWidgImplAccess_ifcpublic void setBoundsPixel(int x,
int y,
int dx,
int dy)
GralWidgImplAccess_ifcpublic GralRectangle getPixelPositionSize()
public void updateValuesForAction()
GralWidgImplAccess_ifc