Class QCheckBox
This class will render an HTML Checkbox.
Labels are a little tricky with checkboxes. There are two built-in ways to make labels: 1) Assign a Name property, and render using something like RenderWithName 2) Assign a Text property, in which case the checkbox will be wrapped with a label and the text you assign.
Indirect known subclasses
QJqCheckBox, QJqCheckBoxBase, QJqRadioButton, QJqRadioButtonBase, QJqRadioButtonGen
public
|
#
ParsePostData( )
Parses the Post Data submitted for the control and sets the values according to the data submitted |
protected
string
|
|
protected
string
|
#
RenderButton( $attrOverride )
Render the button code. Broken out to allow QRadioButton to use it too. |
public
|
#
getCheckLabelStyler( )
Return a styler to style the label that surrounds the control if the control has text. |
protected
string
|
#
RenderLabelAttributes( )
There is a little bit of a conundrum here. If there is text assigned to the checkbox, we wrap the checkbox in a label. However, in this situation, its unclear what to do with the class and style attributes that are for the checkbox. We are going to let the developer use the label styler to make it clear what their intentions are. |
public
boolean
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
mixed
|
|
public static
|
#
GetModelConnectorParams( )
Returns an description of the options available to modify by the designer for the code generator. |
OverrideAttributes(),
__call()
|
CommentEnd,
CommentStart
|
protected
string
|
$strTag
Tag for rendering the control |
#
'input'
|
protected
boolean
|
$blnIsVoidElement
|
#
true
|
protected
string
|
$strText
Text opposite to the checkbox |
#
null
|
protected
|
$strTextAlign
the alignment of the string |
|
protected
boolean
|
$blnHtmlEntities
Should the htmlentities function be run on the control's text (strText)? |
#
true
|
protected
boolean
|
$blnChecked
Determines whether the checkbox is checked? |
#
false
|
protected
|
$objLabelStyle
for labels of checkboxes. If side-by-side labeling, the styles will be applied to a span that wraps both the checkbox and the label. |
$attributes,
$styles
|
public
string
|
$Text
is used to display text that is displayed next to the checkbox. The text is rendered as an html "Label For" the checkbox. |
public
string
|
$TextAlign
specifies if "Text" should be displayed to the left or to the right of the checkbox. |
public
boolean
|
$Checked
specifices whether or not hte checkbox is checked |
public
boolean
|
$HtmlEntities
specifies whether the checkbox text will have to be run through htmlentities or not. |
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|