public class SwtWidgetSimpleWrapper extends java.lang.Object implements GralWidgImpl_ifc
Modifier and Type | Field and Description |
---|---|
protected SwtMng |
mng |
protected org.eclipse.swt.widgets.Control |
widgetSwt |
Constructor and Description |
---|
SwtWidgetSimpleWrapper(org.eclipse.swt.widgets.Control widgetSwt,
SwtMng mng) |
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.
|
void |
swtUpdateRedraw() |
protected org.eclipse.swt.widgets.Control widgetSwt
public SwtWidgetSimpleWrapper(org.eclipse.swt.widgets.Control widgetSwt, SwtMng mng)
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
repaintGthread
in interface GralWidgImpl_ifc
public void swtUpdateRedraw()
public java.lang.Object getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.getWidgetImplementation
in interface GralWidgImpl_ifc
public boolean setFocusGThread()
GralWidgImpl_ifc
GralMng_ifc#setFocus(GralWidget)
.setFocusGThread
in interface GralWidgImpl_ifc
public void setVisibleGThread(boolean bVisible)
GralWidgImpl_ifc
GralWidget.bVisibleState
too. Therewith it is able to quest GralWidget.isVisible()
in any thread.setVisibleGThread
in interface GralWidgImpl_ifc
bVisible
- true then the widget should be visible, false it is set to invisible.public void removeWidgetImplementation()
GralWidgImpl_ifc
removeWidgetImplementation
in interface GralWidgImpl_ifc
public void setBoundsPixel(int x, int y, int dx, int dy)
setBoundsPixel
in interface GralWidgImpl_ifc
public GralRectangle getPixelPositionSize()
getPixelPositionSize
in interface GralWidgImpl_ifc