public class GralSlider extends GralWidget implements GralSlider_ifc
| Modifier and Type | Class and Description |
|---|---|
class |
GralSlider._GraphicImplAccess_
This class contains the access to the GralWidget class.
|
GralWidget.ActionChangeSelect, GralWidget.ConfigData, GralWidget.DynamicData, GralWidget.ImplAccessGralWidgetBase.GralWidgComposite, GralWidgetBase.TimeOrderCreateImplWidgetGralWidget_ifc.ActionChange, GralWidget_ifc.ActionChangeWhen| Modifier and Type | Field and Description |
|---|---|
protected float |
posSlider |
protected float |
sizeSlider |
_wdgImpl, bEditable, bShouldInitialize, cfg, contextMenu, dateUser, dyda, htmlHelp, lastTimeSetVisible, redrawDelayMax, redrawtDelay, sCmd, sFormat, showWidgetInfo, sToolTip, sVersion, whatIs, XXXbuildMng_cdata, _wdgPos, bVisibleState, gralMng, name, pixSizeversionversion| Constructor and Description |
|---|
GralSlider(java.lang.String sName,
GralMng mng) |
| Modifier and Type | Method and Description |
|---|---|
float |
getSliderPosition()
Returns a value between 0.0 and 1.0 which presents the slider position.
0.0 is left or bottom, 1.0 is right or top.
|
void |
setSliderSize(float ratio)
Sets the slider size as ratio of the slider range.
|
clearShowParam, createImplWidget_Gthread, getActionChange, getActionChangeStrict, getActionDrag, getActionDrop, getActionFocused, getActionShow, getBackColor, getCfgElement, getCmd, getCmd, getContentIdent, getContentInfo, getContextMenu, getData, getDataIx, getDataPath, getDataPath, getFloatValue, getFocusedWidget, getFormat, getGralWidget, getHtmlHelp, getImplAccess, getImplWidget, getItsPanel, getLongValue, getName, getShowMethod, getShowParam, getsToolTip, getText, getValue, getVariable, getVariableFromContentInfo, isChanged, isEditable, isGraphicDisposed, isInFocus, isNotEditableOrShouldInitialize, isVisible, redraw, redraw, redraw, redraw1, redrawOnlyDynamics, refreshFromVariable, refreshFromVariable, removeImplWidget_Gthread, requestNewValueForVariable, setActionChange, setActionFocused, setActionMouse, setActionShow, setBackColor, setBackgroundColor, setBoundsPixel, setCfgElement, setCmd, setContentIdent, setContentInfo, setData, setDataIx, setDataPath, setDragEnable, setDropEnable, setEditable, setFocus, setFocus, setFocusedWidget, setForegroundColor, setFormat, setHtmlHelp, setLineColor, setLongValue, setMinMax, setPrimaryWidgetOfPanel, setText, setTextColor, setToolTip, setToPanel, setValue, setValue, setValue, setValue, setVariable, setVisible, specifyActionChange, specifyContextMenu, stop, toString, toString, XXXgetWidgetImplementation, XXXremoveWidgetImplementation, XXXrepaintGthread, XXXsetFocusGThreadcheckImplWidgetCreation, createImplWidget, gralMng, hasFocus, pos, remove, resizePostPreparation, setFocusedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgralMng, pos, setFocusedpublic GralSlider(java.lang.String sName,
GralMng mng)
public float getSliderPosition()
GralSlider_ifcgetSliderPosition in interface GralSlider_ifcpublic void setSliderSize(float ratio)
GralSlider_ifcsetSliderSize in interface GralSlider_ifcratio - Value from 0.0 to 1.0: 0.0 means a 1-pixel-line slider. 1.0 means a non-move-able slider because
it uses the full range for moving.