public class AwtButton extends GralButton.GraphicImplAccess
| Modifier and Type | Class and Description |
|---|---|
private class |
AwtButton.AwtButtonImpl |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.awt.Color |
black |
(package private) java.awt.Font |
fontText |
(package private) AwtWidgetHelper |
helper |
(package private) AwtGralMouseListener.MouseListenerGralAction |
mouseListener |
static int |
version
Version, history and license.
|
(package private) java.awt.Color |
white |
(package private) AwtButton.AwtButtonImpl |
widgetSwt |
colorgback, colorgline, mouseWidgetAction, sButtonText, widggbRedrawOnlyDynamics, chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgCurrTab, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, mngImpl, pixBounds, wdgimpl| Constructor and Description |
|---|
AwtButton(GralButton widgg,
AwtMng mng) |
| Modifier and Type | Method and Description |
|---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
protected void |
paintRoutine(java.awt.Graphics gc,
java.awt.Canvas canvas) |
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.
|
(package private) void |
setBoundsGraphic(AwtMng mng) |
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 vible or not.
|
void |
updateValuesForAction()
This operation should be called before any action is invoked in the user space.
|
isPressed, paint1, prepareWidgetacknChanged, actionShow, dyda, getActionChange, getChanged, gralMng, gralWidgetFromImplData, redrawOnlyDynamics, setDragEnable, setDropEnable, setPosBounds, setTextChanged, setVisibleState, XXXfocusGainedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPosBoundspublic 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.
AwtWidgetHelper helper
AwtButton.AwtButtonImpl widgetSwt
final java.awt.Color black
final java.awt.Color white
final java.awt.Font fontText
final AwtGralMouseListener.MouseListenerGralAction mouseListener
AwtButton(GralButton widgg, AwtMng mng)
public GralRectangle getPixelPositionSize()
void setBoundsGraphic(AwtMng mng)
public boolean setFocusGThread()
GralWidgImplAccess_ifcGralMng_ifc#setFocus(GralWidget).public void removeWidgetImplementation()
GralWidgImplAccess_ifcpublic 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 void setBoundsPixel(int x,
int y,
int dx,
int dy)
GralWidgImplAccess_ifcprotected void paintRoutine(java.awt.Graphics gc,
java.awt.Canvas canvas)
public void redrawGthread()
GralWidgImplAccess_ifc#repaintRequpublic void setVisibleGThread(boolean bVisible)
bVisible - true then the widget should be visible, false it is set to invisible.GralWidgImplAccess_ifc.setVisibleGThread(boolean)public void updateValuesForAction()
GralWidgImplAccess_ifc