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.
|
outer
bRedrawOnlyDynamics, 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, tab
acknChanged, actionShow, dyda, getActionChange, getChanged, gralMng, gralWidgetFromImplData, redrawOnlyDynamics, setDragEnable, setDropEnable, setPosBounds, setTextChanged, setVisibleState, XXXfocusGained
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPosBounds
public 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
#repaintRequ
redrawGthread
in interface GralWidgImplAccess_ifc
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
getWidgetImplementation
in class GralWidget.ImplAccess
public boolean setFocusGThread()
GralWidgImplAccess_ifc
GralMng_ifc#setFocus(GralWidget)
.setFocusGThread
in interface GralWidgImplAccess_ifc
public void setVisibleGThread(boolean bVisible)
GralWidgImplAccess_ifc
GralWidgetBase.bVisibleState
too. Therewith it is able to quest GralWidget.isVisible()
in any thread.setVisibleGThread
in interface GralWidgImplAccess_ifc
bVisible
- true then the widget should be visible, false it is set to invisible.public void removeWidgetImplementation()
GralWidgImplAccess_ifc
removeWidgetImplementation
in interface GralWidgImplAccess_ifc
public void setBoundsPixel(int x, int y, int dx, int dy)
GralWidgImplAccess_ifc
setBoundsPixel
in interface GralWidgImplAccess_ifc
public GralRectangle getPixelPositionSize()
getPixelPositionSize
in interface GralWidgImplAccess_ifc
protected void paintControl(Canvas swt, PaintEvent e)
protected void mouseDown(MouseEvent e)
public void mouseUp(MouseEvent e)
public void updateValuesForAction()
GralWidgImplAccess_ifc
updateValuesForAction
in interface GralWidgImplAccess_ifc