public abstract static class GralWidget.ImplAccess extends java.lang.Object implements GralWidgImplAccess_ifc
Modifier and Type | Field and Description |
---|---|
protected boolean |
bRedrawOnlyDynamics |
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 |
chgCurrTab |
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 |
protected GralMng.ImplAccess |
mngImpl
The manager for the implementation.
|
GralRectangle |
pixBounds
Bounds of the implementation widget in its container. null if not used.
|
protected java.lang.Object |
wdgimpl
Aggregation to the widget implementation.
|
GralWidget |
widgg |
version
Modifier | Constructor and Description |
---|---|
protected |
ImplAccess(GralWidget widgg)
Deprecated.
use
ImplAccess#ImplAccess(GralWidget, GralMng.ImplAccess) |
protected |
ImplAccess(GralWidget widgg,
GralMng.ImplAccess mngImpl)
Constructs the base of the graphic implementation widget wrapper (SWT, AWT).
|
protected |
ImplAccess(GralWidget widgg,
GralMng mng)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected 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) |
protected int |
getChanged()
Gets the bits what is changed in the widget's data.
|
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
GralMng |
gralMng()
Access to the GralMng from the implementation level.
|
static GralWidget |
gralWidgetFromImplData(java.lang.Object data) |
boolean |
redrawOnlyDynamics()
Query once in the redraw handler, reset after them see
GralWidget.redraw(int, int, boolean) |
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.
|
GralRectangle |
setPosBounds(GralRectangle parentPix)
Set the bounds of the widget from the stored GralPos.
|
protected void |
setTextChanged()
Notify that the text is changed in
GralWidget.DynamicData.bTextChanged |
protected 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, redrawGthread, removeWidgetImplementation, setBoundsPixel, setFocusGThread, setVisibleGThread, updateValuesForAction
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 chgPos
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 chgCurrTab
public static final int chgVisible
public static final int chgInvisible
public static final int chgBitsDerived
public final GralWidget widgg
protected java.lang.Object wdgimpl
GralWidgetHelper
instance which refers the implementation widget
or the widget itself. Should be cast due to implementation level.protected final GralMng.ImplAccess mngImpl
SwtMng
public GralRectangle pixBounds
protected boolean bRedrawOnlyDynamics
@Deprecated protected ImplAccess(GralWidget widgg, GralMng mng)
@Deprecated protected ImplAccess(GralWidget widgg)
ImplAccess#ImplAccess(GralWidget, GralMng.ImplAccess)
widgg
- protected ImplAccess(GralWidget widgg, GralMng.ImplAccess mngImpl)
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 GralRectangle setPosBounds(GralRectangle parentPix)
setPosBounds
in interface GralWidgImplAccess_ifc
parentPix
- the bounds of a parent. It is not necessary that this is the bounds of an existing panel.
Also a sub region in a panel can be described with it, used for GralWidgComposite
.public final GralMng gralMng()
public final 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.protected void setVisibleState(boolean visible)
visible
- protected final GralUserAction actionShow()
protected final GralWidget.DynamicData dyda()
GralWidget.dyda
.protected final void setTextChanged()
GralWidget.DynamicData.bTextChanged
protected void setDragEnable(int dragType)
dragType
- one of org.vishia.util.KeyCode#dragFiles
or ..dragTextprotected void setDropEnable(int dropType)
dropType
- one of org.vishia.util.KeyCode#dropFiles
or ..dropTextprotected final int getChanged()
chgText
etc.protected final void acknChanged(int mask)
protected final GralWidget_ifc.ActionChange getActionChange(GralWidget_ifc.ActionChangeWhen when)
public java.lang.Object getWidgetImplementation()
GralWidgImplAccess_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.getWidgetImplementation
in interface GralWidgImplAccess_ifc
public static GralWidget gralWidgetFromImplData(java.lang.Object data)
public boolean redrawOnlyDynamics()
GralWidget.redraw(int, int, boolean)