TOGGLE – when the state of a checkbox changes through user interaction or when
setState() is called under the deprecated 3.0 model event protocol.MENU – on a mouseup event with the right button when the button has a bound context menu.| Field Summary | |
|---|---|
| static int | 1: checked |
| static String | jsx30checkbox
|
| static int | 2: dashed |
| static int | 0: unchecked (default) |
| Constructor Summary | |
|---|---|
| void | init(strName : String, vntLeft : int | String, vntTop : int | String, vntWidth : int | String, vntHeight : int | String, strText : String, CHECKED : int) The instance initializer. |
| Method Summary | |
|---|---|
| int | validates that the checkbox is checked if it is required (e.g. |
| int | Returns current state of checkbox; to get the state of the checkbox when it was first initialized, use: getDefaultChecked(). |
| int | Returns state of checkbox when it was first initialized; to get the current state, use: getChecked(); |
| static String | Deprecated. |
| String | paint() Returns the DHTML, used for this object's on-screen VIEW |
| jsx3.gui.CheckBox | setChecked(intChecked : int) Sets the state of this checkbox. |
| jsx3.gui.CheckBox | setDefaultChecked(CHECKED : int) Sets state of checkbox when it is first initialized; returns reference to self |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, getValue, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState, setValue |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Field Detail |
|---|
| Constructor Detail |
|---|
| Method Detail |
|---|
TOGGLE model event only under the
deprecated 3.0 model event protocol.CHECKED or UNCHECKED