public class GralSwitchButton extends GralButton
GralButton.GraphicImplAccess, GralButton.MouseActionButton, GralButton.State
GralWidget.ActionChangeSelect, GralWidget.ConfigData, GralWidget.DynamicData, GralWidget.ImplAccess
GralWidgetBase.GralWidgComposite, GralWidgetBase.TimeOrderCreateImplWidget
GralWidget_ifc.ActionChange, GralWidget_ifc.ActionChangeWhen
bThreeStateSwitch, colorBackDisabled, colorBackOn, colorLineDisabled, colorLineOff, colorLineOn, imageDisabled, imageOff, imageOn, isPressed, sButtonTextDisabled, sButtonTextOff, sButtonTextOn, shouldSwitched, switchState, version, wasPressed, wasReleased, XXXpressed
_wdgImpl, bEditable, bShouldInitialize, cfg, contextMenu, dateUser, dyda, htmlHelp, lastTimeSetVisible, redrawDelayMax, redrawtDelay, sCmd, sFormat, showWidgetInfo, sToolTip, sVersion, whatIs, XXXbuildMng
_cdata, _wdgPos, bVisibleState, gralMng, name, pixSize
Constructor and Description |
---|
GralSwitchButton(GralPos refPos,
java.lang.String sPosName,
java.lang.String sTextOn,
java.lang.String sTextOff,
GralColor... color)
Constructs a Switch Button with 2 states.
|
GralSwitchButton(GralPos refPos,
java.lang.String sPosName,
java.lang.String sTextOff,
java.lang.String sTextOn,
java.lang.String sDisabled,
GralColor... color)
Constructs a Switch Button with also disabled 3th state.
|
activate, getState, isDisabled, isOn, isPressed, setActivated, setBackColor, setDisableColorText, setState, setState, setSwitchMode, setSwitchMode, setSwitchMode, setSwitchMode, setSwitchMode, setSwitchMode, setText, setValue, wasPressed, wasReleased, XXXsetDisabled
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, 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, setVariable, setVisible, specifyActionChange, specifyContextMenu, stop, toString, toString, XXXgetWidgetImplementation, XXXremoveWidgetImplementation, XXXrepaintGthread, XXXsetFocusGThread
checkImplWidgetCreation, createImplWidget, gralMng, hasFocus, pos, remove, resizePostPreparation, setFocused
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
gralMng, pos, setFocused
public GralSwitchButton(GralPos refPos, java.lang.String sPosName, java.lang.String sTextOn, java.lang.String sTextOff, GralColor... color)
refPos
- Reference positionsPosName
- maybe position string and name due to GralWidget.GralWidget(GralPos, String, char)
sTextOn
- sTextOff
- color
- maybe dismiss, elsewhere 2 colors for on, offpublic GralSwitchButton(GralPos refPos, java.lang.String sPosName, java.lang.String sTextOff, java.lang.String sTextOn, java.lang.String sDisabled, GralColor... color)
refPos
- Reference positionsPosName
- maybe position string and name due to GralWidget.GralWidget(GralPos, String, char)
sTextOn
- sTextOff
- sDisabled
- color
- maybe dismiss, elsewhere 3 colors for on, off and disabled