public abstract 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.ImplAccess
GralWidget_ifc.ActionChange, GralWidget_ifc.ActionChangeWhen
Modifier and Type | Field and Description |
---|---|
protected float |
posSlider |
protected float |
sizeSlider |
_wdgImpl, bEditable, bHasFocus, bShouldInitialize, buildMng, bVisibleState, cfg, contextMenu, dateUser, dyda, htmlHelp, itsMng, name, repaintDelay, repaintDelayMax, sCmd, sFormat, sToolTip, sVersion, whatIs
version
version
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.
|
chgPos, clearShowParam, createImplWidget_Gthread, getActionChange, getActionChangeStrict, getActionDrag, getActionDrop, getActionFocused, getActionShow, getBackColor, getCfgElement, getCmd, getCmd, getContentIdent, getContextMenu, getData, getDataIx, getDataPath, getDataPath, getFloatValue, getFormat, getGralWidget, getHtmlHelp, getImpl, getItsPanel, getLongValue, getName, getShowMethod, getShowParam, getsToolTip, getText, getValue, getVariable, getVariableFromContentInfo, gralMng, isChanged, isEditable, isGraphicDisposed, isInFocus, isNotEditableOrShouldInitialize, isVisible, pos, refreshFromVariable, refreshFromVariable, remove, repaint, repaint, requestNewValueForVariable, setActionChange, setActionFocused, setActionMouse, setActionShow, setBackColor, setBackgroundColor, setBoundsPixel, setCfgElement, setCmd, setContentIdent, setData, setDataIx, setDataPath, setDragEnable, setDropEnable, setEditable, setFocus, setFocus, setForegroundColor, setFormat, setHtmlHelp, setLineColor, setLongValue, setMinMax, setPrimaryWidgetOfPanel, setText, setTextColor, setToolTip, setValue, setValue, setValue, setValue, setVisible, setVisibleState, setVisibleStateWidget, specifyActionChange, specifyContextMenu, toString, XXXgetPixelPositionSize, XXXgetWidgetImplementation, XXXremoveWidgetImplementation, XXXrepaintGthread, XXXsetFocusGThread, XXXsetVisibleGThread
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContentInfo, setToPanel
getContentInfo, setContentInfo
protected float posSlider
protected float sizeSlider
public GralSlider(java.lang.String sName, GralMng mng)
public float getSliderPosition()
GralSlider_ifc
getSliderPosition
in interface GralSlider_ifc
public void setSliderSize(float ratio)
GralSlider_ifc
setSliderSize
in interface GralSlider_ifc
ratio
- 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.