public class SwtButton extends GralButton.GraphicImplAccess
Modifier and Type | Class and Description |
---|---|
protected class |
SwtButton.KeyListener |
Modifier and Type | Field and Description |
---|---|
static int |
version
Version, history and license.
|
colorgback, colorgline, mouseWidgetAction, sButtonText, widgg
chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl
Modifier and Type | Method and Description |
---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
protected void |
paintRoutine(org.eclipse.swt.events.PaintEvent e,
org.eclipse.swt.widgets.Canvas canvas) |
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.
|
isPressed, paint1, prepareWidget
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
public static final int version
GralButton
uses the new concept of instantiation: It is not
the super class of the implementation class. But it provides GralButton.GraphicImplAccess
as the super class.
public GralRectangle getPixelPositionSize()
public java.lang.Object getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.protected void paintRoutine(org.eclipse.swt.events.PaintEvent e, org.eclipse.swt.widgets.Canvas canvas)
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)