public class SwtHorizontalSelector extends GralHorizontalSelector.GraphicImplAccess implements GralWidgImplAccess_ifc
| Modifier and Type | Field and Description |
|---|---|
private Font |
fontText |
(package private) MouseListener |
mouseListener |
(package private) PaintListener |
paintListener |
private SwtWidgetHelper |
swtWdgW
It contains the association to the swt widget (Control) and the
SwtMng
and implements some methods of GralWidgImplAccess_ifc which are delegate from this. |
static int |
version
Version, history and copyright/copyleft.
|
outerbRedrawOnlyDynamics, chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgCurrTab, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, mngImpl, pixBounds, wdgimpl, widgg| Constructor and Description |
|---|
SwtHorizontalSelector(SwtMng mng,
GralHorizontalSelector<?> wdgGral) |
| Modifier and Type | Method and Description |
|---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
protected void |
mouseDown(MouseEvent e) |
void |
mouseUp(MouseEvent e) |
protected void |
paintControl(Canvas swt,
PaintEvent e) |
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.
|
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(s) visible state.
|
void |
updateValuesForAction()
This operation should be called before any action is invoked in the user space.
|
actItem, calcLeftTab, clearDstItem, execAfterCreationImplWidget, findTab, items, nrItem, nrLeftTab, nrofTabs, removeDstItem, setDstToActItem, tabacknChanged, 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
private final SwtWidgetHelper swtWdgW
SwtMng
and implements some methods of GralWidgImplAccess_ifc which are delegate from this.private Font fontText
PaintListener paintListener
MouseListener mouseListener
public SwtHorizontalSelector(SwtMng mng, GralHorizontalSelector<?> wdgGral)
public void redrawGthread()
GralWidgImplAccess_ifc#repaintRequredrawGthread in interface 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 boolean setFocusGThread()
GralWidgImplAccess_ifcGralMng_ifc#setFocus(GralWidget).setFocusGThread in interface GralWidgImplAccess_ifcpublic void setVisibleGThread(boolean bVisible)
GralWidgImplAccess_ifcGralWidgetBase.bVisibleState too. Therewith it is able to quest GralWidget.isVisible() in any thread.setVisibleGThread in interface GralWidgImplAccess_ifcbVisible - true then the widget should be visible, false it is set to invisible.public void removeWidgetImplementation()
GralWidgImplAccess_ifcremoveWidgetImplementation in interface GralWidgImplAccess_ifcpublic void setBoundsPixel(int x,
int y,
int dx,
int dy)
GralWidgImplAccess_ifcsetBoundsPixel in interface GralWidgImplAccess_ifcpublic GralRectangle getPixelPositionSize()
getPixelPositionSize in interface GralWidgImplAccess_ifcprotected void paintControl(Canvas swt,
PaintEvent e)
protected void mouseDown(MouseEvent e)
public void mouseUp(MouseEvent e)
public void updateValuesForAction()
GralWidgImplAccess_ifcupdateValuesForAction in interface GralWidgImplAccess_ifc