public abstract static class GralWidget.ImplAccess extends java.lang.Object implements GralWidgImpl_ifc
Modifier and Type | Field and Description |
---|---|
static int |
chgBitsDerived
This is only documentation.
|
static int |
chgColorBack
What is changed in the dynamic data, see
GralWidget.DynamicData.whatIsChanged . |
static int |
chgColorLine
What is changed in the dynamic data, see
GralWidget.DynamicData.whatIsChanged . |
static int |
chgColorText
What is changed in the dynamic data, see
GralWidget.DynamicData.whatIsChanged . |
static int |
chgEditable |
static int |
chgFloat |
static int |
chgFocus |
static int |
chgFont
What is changed in the dynamic data, see
GralWidget.DynamicData.whatIsChanged . |
static int |
chgIntg |
static int |
chgInvisible |
static int |
chgObjects |
static int |
chgPos |
static int |
chgText
What is changed in the dynamic data, see
GralWidget.DynamicData.whatIsChanged . |
static int |
chgVisible |
static int |
chgVisibleInfo |
GralRectangle |
pixBounds
Bounds of the implementation widget in its container. null if not used.
|
protected GralWidgetImpl_ifc |
wdgimpl
Aggregation to the widget implementation which resolves the required implementation methods.
|
GralWidget |
widgg |
Modifier | Constructor and Description |
---|---|
protected |
ImplAccess(GralWidget widgg)
Constructs the base of the graphic implemantion widget wrapper (SWT, AWT).
|
protected |
ImplAccess(GralWidget widgg,
GralMng mng)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
acknChanged(int mask) |
protected GralUserAction |
actionShow()
Access method to GralWidget's method.
|
protected GralWidget.DynamicData |
dyda()
Access method to
GralWidget.dyda . |
protected GralWidget_ifc.ActionChange |
getActionChange(GralWidget_ifc.ActionChangeWhen when) |
int |
getChanged()
Gets the bits what is changed in the widget's data.
|
static GralWidget |
gralWidgetFromImplData(java.lang.Object data) |
protected void |
setDragEnable(int dragType)
Implementation routine to set receiving a drag event and initializes the drag feature of the widget.
|
protected void |
setDropEnable(int dropType)
Implementation routine to set receiving a drop event and initializes the drop feature of the widget.
|
static void |
setFocused(GralWidget widgg,
boolean focus)
This routine does not change the focus state in the implementation widget,
it denotes only that the GralWidget has the focus or not.
|
protected void |
setTextChanged()
Notify that the text is changed in
GralWidget.DynamicData.bTextChanged |
void |
setVisibleState(boolean visible)
Sets the state of the widget whether it seams to be visible.
|
void |
XXXfocusGained()
This method is not intent to call by user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPixelPositionSize, getWidgetImplementation, removeWidgetImplementation, repaintGthread, setBoundsPixel, setFocusGThread, setVisibleGThread
public static final int chgText
GralWidget.DynamicData.whatIsChanged
.public static final int chgColorBack
GralWidget.DynamicData.whatIsChanged
.public static final int chgColorText
GralWidget.DynamicData.whatIsChanged
.public static final int chgFont
GralWidget.DynamicData.whatIsChanged
.public static final int chgColorLine
GralWidget.DynamicData.whatIsChanged
.public static final int chgEditable
public static final int chgVisibleInfo
public static final int chgObjects
public static final int chgFloat
public static final int chgIntg
public static final int chgFocus
public static final int chgPos
public static final int chgVisible
public static final int chgInvisible
public static final int chgBitsDerived
public final GralWidget widgg
protected GralWidgetImpl_ifc wdgimpl
public GralRectangle pixBounds
@Deprecated protected ImplAccess(GralWidget widgg, GralMng mng)
protected ImplAccess(GralWidget widgg)
widgg
Stores the reference to the graphic implementation widget in GralWidget._wdgImpl
Initializes the pos() from the given GralMng.pos()
if it is not given by construction.widgg
- The associated derived class of GralWidget.public void XXXfocusGained()
GralWidget.setFocus()
to set a widget in the focus.
It sets the html help for the widget and notifies the widgets in focus for the GralWidgetMng.
Don't override this method in the graphic implementation!
It should be overridden only in a Gral widget inheritance only if necessary.public void setVisibleState(boolean visible)
visible
- protected GralUserAction actionShow()
protected GralWidget.DynamicData dyda()
GralWidget.dyda
.protected void setTextChanged()
GralWidget.DynamicData.bTextChanged
protected void setDragEnable(int dragType)
dragType
- one of KeyCode.dragFiles
or ..dragTextprotected void setDropEnable(int dropType)
dropType
- one of KeyCode.dropFiles
or ..dropTextpublic int getChanged()
chgText
etc.public void acknChanged(int mask)
protected GralWidget_ifc.ActionChange getActionChange(GralWidget_ifc.ActionChangeWhen when)
public static GralWidget gralWidgetFromImplData(java.lang.Object data)
public static void setFocused(GralWidget widgg, boolean focus)
widgg
- the GralWidget instancefocus
- true on focus gained, false on focus lost.