public class SwtValueBar extends GralValueBar.GraphicImplAccess
| Modifier and Type | Class and Description |
|---|---|
private class |
SwtValueBar.SwtBarCanvas |
| Modifier and Type | Field and Description |
|---|---|
(package private) Color |
black |
private Color[] |
colorBorder |
private SwtWidgetHelper |
wdgh
It contains the association to the swt widget (Control) and the
SwtMng
and implements some methods of GralWidgImplAccess_ifc which are delegate from this. |
protected SwtValueBar.SwtBarCanvas |
widgetSwt |
horizontal, ixColor, pix0line, pixLevel, pixvaluebRedrawOnlyDynamics, chgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgCurrTab, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, mngImpl, pixBounds, wdgimpl, widggversion| Constructor and Description |
|---|
SwtValueBar(GralValueBar widgg,
SwtMng mng)
Creates a value bar.
|
| Modifier and Type | Method and Description |
|---|---|
GralRectangle |
getPixelPositionSize() |
java.lang.Object |
getWidgetImplementation()
Returns the implementation class of the widget.
|
void |
redrawGthread()
This method should be implemented in all Widget implementations of the adapter for the
underlying graphic system.
|
protected void |
redrawRoutine(SwtValueBar.SwtBarCanvas wdgs,
PaintEvent e) |
void |
removeWidgetImplementation()
Removes the graphical widget in the graphic.
|
void |
setBorderAndColorsImpl(java.lang.String[] sColorLevels) |
void |
setBounds() |
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.
|
(package private) void |
stop() |
void |
updateValuesForAction()
This operation should be called before any action is invoked in the user space.
|
horizontal, ixColor, pix0line, pixvalue, setValueacknChanged, actionShow, dyda, getActionChange, getChanged, gralMng, gralWidgetFromImplData, redrawOnlyDynamics, setDragEnable, setDropEnable, setPosBounds, setTextChanged, setVisibleState, XXXfocusGainedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPosBoundsprivate final SwtWidgetHelper wdgh
SwtMng
and implements some methods of GralWidgImplAccess_ifc which are delegate from this.protected SwtValueBar.SwtBarCanvas widgetSwt
final Color black
private Color[] colorBorder
public SwtValueBar(GralValueBar widgg, SwtMng mng)
mng - The Gui-panel-manager contains information about the graphic frame and properties.size - The size of text in button, use 'A' or 'B' for small - boldpublic void setBounds()
public void redrawGthread()
GralWidgImplAccess_ifc#repaintRequpublic void setBorderAndColorsImpl(java.lang.String[] sColorLevels)
setBorderAndColorsImpl in class GralValueBar.GraphicImplAccesspublic 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).public void setVisibleGThread(boolean bVisible)
GralWidgImplAccess_ifcGralWidgetBase.bVisibleState too. Therewith it is able to quest GralWidget.isVisible() in any thread.bVisible - true then the widget should be visible, false it is set to invisible.protected void redrawRoutine(SwtValueBar.SwtBarCanvas wdgs, PaintEvent e)
void stop()
public void setBoundsPixel(int x,
int y,
int dx,
int dy)
GralWidgImplAccess_ifcpublic void removeWidgetImplementation()
GralWidgImplAccess_ifcpublic GralRectangle getPixelPositionSize()
public void updateValuesForAction()
GralWidgImplAccess_ifc