public class SwtValueBar extends GralValueBar.GraphicImplAccess
| Modifier and Type | Class and Description |
|---|---|
class |
SwtValueBar.BarWidget |
| Modifier and Type | Field and Description |
|---|---|
(package private) org.eclipse.swt.graphics.Color |
black |
private org.eclipse.swt.graphics.Color[] |
colorBorder |
private SwtWidgetHelper |
wdgh
It contains the association to the swt widget (Control) and the
SwtMng
and implements some methods of GralWidgImpl_ifc which are delegate from this. |
protected SwtValueBar.BarWidget |
widgetSwt |
horizontal, ixColor, pix0line, pixLevel, pixvaluechgBitsDerived, chgColorBack, chgColorLine, chgColorText, chgEditable, chgFloat, chgFocus, chgFont, chgIntg, chgInvisible, chgObjects, chgPos, chgText, chgVisible, chgVisibleInfo, pixBounds, wdgimpl, widgg| 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.
|
protected void |
paintRoutine(SwtValueBar.BarWidget wdgs,
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 |
setBorderAndColorsImpl(java.lang.String[] sColorLevels) |
void |
setBounds() |
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.
|
(package private) void |
stop() |
horizontal, ixColor, pix0line, pixvalue, setValueacknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGainedprivate final SwtWidgetHelper wdgh
SwtMng
and implements some methods of GralWidgImpl_ifc which are delegate from this.protected SwtValueBar.BarWidget widgetSwt
final org.eclipse.swt.graphics.Color black
private org.eclipse.swt.graphics.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 repaintGthread()
GralWidgImpl_ifc#repaintRequpublic void setBorderAndColorsImpl(java.lang.String[] sColorLevels)
setBorderAndColorsImpl in class GralValueBar.GraphicImplAccesspublic java.lang.Object getWidgetImplementation()
GralWidgImpl_ifcComponent.
GralWidget._wdgImpl class
which should contain the references to that implementation widgets.public boolean setFocusGThread()
GralWidgImpl_ifcGralMng_ifc#setFocus(GralWidget).public void setVisibleGThread(boolean bVisible)
GralWidgImpl_ifcGralWidget.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 paintRoutine(SwtValueBar.BarWidget wdgs, org.eclipse.swt.events.PaintEvent e)
void stop()
public void setBoundsPixel(int x, int y, int dx, int dy)
public void removeWidgetImplementation()
GralWidgImpl_ifcpublic GralRectangle getPixelPositionSize()