public class SwtHorizontalSelector extends GralHorizontalSelector.GraphicImplAccess implements GralWidgImpl_ifc
Modifier and Type | Field and Description |
---|---|
private org.eclipse.swt.graphics.Font |
fontText |
(package private) org.eclipse.swt.events.MouseListener |
mouseListener |
(package private) org.eclipse.swt.events.PaintListener |
paintListener |
private SwtWidgetHelper |
swtWdgW
It contains the association to the swt widget (Control) and the
SwtMng
and implements some methods of GralWidgImpl_ifc which are delegate from this. |
static int |
version
Version, history and copyright/copyleft.
|
outer
chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, 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(org.eclipse.swt.events.MouseEvent e) |
void |
mouseUp(org.eclipse.swt.events.MouseEvent e) |
protected void |
paintControl(org.eclipse.swt.widgets.Canvas swt,
org.eclipse.swt.events.PaintEvent e) |
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(s) visible state.
|
actItem, calcLeftTab, clearDstItem, execAfterCreationImplWidget, findTab, items, nrItem, nrLeftTab, nrofTabs, removeDstItem, setDstToActItem, tab
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
public static final int version
private final SwtWidgetHelper swtWdgW
SwtMng
and implements some methods of GralWidgImpl_ifc
which are delegate from this.private org.eclipse.swt.graphics.Font fontText
org.eclipse.swt.events.PaintListener paintListener
org.eclipse.swt.events.MouseListener mouseListener
public SwtHorizontalSelector(SwtMng mng, GralHorizontalSelector<?> wdgGral)
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
repaintGthread
in interface GralWidgImpl_ifc
public java.lang.Object getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.getWidgetImplementation
in interface GralWidgImpl_ifc
public boolean setFocusGThread()
GralWidgImpl_ifc
GralMng_ifc#setFocus(GralWidget)
.setFocusGThread
in interface GralWidgImpl_ifc
public void setVisibleGThread(boolean bVisible)
GralWidgImpl_ifc
GralWidget.bVisibleState
too. Therewith it is able to quest GralWidget.isVisible()
in any thread.setVisibleGThread
in interface GralWidgImpl_ifc
bVisible
- true then the widget should be visible, false it is set to invisible.public void removeWidgetImplementation()
GralWidgImpl_ifc
removeWidgetImplementation
in interface GralWidgImpl_ifc
public void setBoundsPixel(int x, int y, int dx, int dy)
setBoundsPixel
in interface GralWidgImpl_ifc
public GralRectangle getPixelPositionSize()
getPixelPositionSize
in interface GralWidgImpl_ifc
protected void paintControl(org.eclipse.swt.widgets.Canvas swt, org.eclipse.swt.events.PaintEvent e)
protected void mouseDown(org.eclipse.swt.events.MouseEvent e)
public void mouseUp(org.eclipse.swt.events.MouseEvent e)