public class SwtValueBar extends GralValueBar.GraphicImplAccess
Modifier and Type | Class and Description |
---|---|
class |
SwtValueBar.BarWidget |
Modifier and Type | Field and Description |
---|---|
protected SwtValueBar.BarWidget |
widgetSwt |
horizontal, ixColor, pix0line, pixLevel, pixvalue
chgBitsDerived, 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.
|
horizontal, ixColor, pix0line, pixvalue, setValue
acknChanged, actionShow, dyda, getActionChange, getChanged, gralWidgetFromImplData, setDragEnable, setDropEnable, setFocused, setTextChanged, setVisibleState, XXXfocusGained
protected SwtValueBar.BarWidget widgetSwt
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 GralRectangle getPixelPositionSize()
public java.lang.Object getWidgetImplementation()
GralWidgImpl_ifc
Component
.
GralWidget._wdgImpl
class
which should contain the references to that implementation widgets.protected void paintRoutine(SwtValueBar.BarWidget wdgs, org.eclipse.swt.events.PaintEvent e)
public void removeWidgetImplementation()
GralWidgImpl_ifc
public void repaintGthread()
GralWidgImpl_ifc
#repaintRequ
public void setBorderAndColorsImpl(java.lang.String[] sColorLevels)
setBorderAndColorsImpl
in class GralValueBar.GraphicImplAccess
public void setBounds()
public void setBoundsPixel(int x, int y, int dx, int dy)
public boolean setFocusGThread()
GralWidgImpl_ifc
GralMng_ifc#setFocus(GralWidget)
.public void setVisibleGThread(boolean bVisible)
GralWidgImpl_ifc
GralWidget.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.