public class AwtWidgetHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AwtMng |
mng |
protected java.awt.Component |
widga |
Modifier | Constructor and Description |
---|---|
protected |
AwtWidgetHelper(java.awt.Component widga,
AwtMng mng) |
Modifier and Type | Method and Description |
---|---|
static GralColor |
getColor(java.awt.Color awtColor) |
GralRectangle |
getPixelPositionSize() |
static GralRectangle |
getPixelPositionSize(java.awt.Component widga) |
void |
removeWidgetImplementation() |
static GralColor |
setBackgroundColor(GralColor color,
java.awt.Component awtWidget) |
void |
setBoundsPixel(int x,
int y,
int dx,
int dy) |
boolean |
setFocusGThread() |
(package private) static boolean |
setFocusOfTabSwt(java.awt.Component control)
Sets the correct TabItem if any widget at this TabItem is focused.
|
static GralColor |
setForegroundColor(GralColor color,
java.awt.Component awtWidget) |
void |
setVisibleGThread(boolean bVisible) |
protected AwtMng mng
protected java.awt.Component widga
protected AwtWidgetHelper(java.awt.Component widga, AwtMng mng)
public void setBoundsPixel(int x, int y, int dx, int dy)
public GralRectangle getPixelPositionSize()
public static GralRectangle getPixelPositionSize(java.awt.Component widga)
public static GralColor getColor(java.awt.Color awtColor)
public static GralColor setBackgroundColor(GralColor color, java.awt.Component awtWidget)
public static GralColor setForegroundColor(GralColor color, java.awt.Component awtWidget)
static boolean setFocusOfTabSwt(java.awt.Component control)
control
- public boolean setFocusGThread()
public void setVisibleGThread(boolean bVisible)
public void removeWidgetImplementation()