public class AwtLabel extends GralLabel.GraphicImplAccess
Modifier and Type | Field and Description |
---|---|
private java.awt.Font |
fontAwt |
protected java.awt.Label |
labelAwt |
static int |
version
Version, history and license.
|
private AwtWidgetHelper |
widgHelper
It contains the association to the swt widget (Control) and the
SwtMng
and implements some methods of GralWidgImpl_ifc which are delegate from this. |
chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl, widgg
Constructor and Description |
---|
AwtLabel(GralLabel widgg,
AwtWidgetMng 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 vible or not.
|
origin
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
public static final int version
private final AwtWidgetHelper widgHelper
SwtMng
and implements some methods of GralWidgImpl_ifc
which are delegate from this.protected java.awt.Label labelAwt
private java.awt.Font fontAwt
AwtLabel(GralLabel widgg, AwtWidgetMng mng)
public GralRectangle getPixelPositionSize()
public java.lang.Object getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.public void removeWidgetImplementation()
GralWidgImpl_ifc
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
public void setBoundsPixel(int x, int y, int dx, int dy)
public boolean setFocusGThread()
GralWidgImpl_ifc
GralMng_ifc#setFocus(GralWidget)
.public void setVisibleGThread(boolean bVisible)
bVisible
- true then the widget should be visible, false it is set to invisible.GralWidgImpl_ifc.setVisibleGThread(boolean)