Class DwtCheckbox
Class Detail
DwtCheckbox(params)
Creates a checkbox.
Field Detail
<static>
DwtCheckbox.DEFAULT_POSITION
Defines the default text style position.
<static>
DwtCheckbox.TEXT_LEFT
Defines the "left" text style position.
<static>
DwtCheckbox.TEXT_RIGHT
Defines the "right" text style position.
Method Detail
addSelectionListener(listener)
Adds a selection listener.
getInputElement()
{string}
getText()
Gets the checkbox text.
{DwtCheckbox.TEXT_LEFT|DwtCheckbox.TEXT_RIGHT}
getTextPosition()
Gets the text position.
{string}
getValue()
Gets the value.
{boolean}
isSelected()
Checks if the checkbox is selected state.
removeSelectionListener(listener)
Removes a selection listener.
setEnabled(enabled)
Sets the enabled state.
setSelected(selected)
Sets the selected state.
setText(text)
Sets the checkbox text.
setTextPosition(position)
Sets the text position.
setValue(value)
Sets the value.
|
||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:27 GMT-0400 (EDT)
|