Class QCheckBoxList
This class will render a List of HTML Checkboxes (inhereting from ListControl). By definition, checkbox lists are multiple-select ListControls.
So assuming you have a list of 10 items, and you have RepeatColumn set to 3: RepeatDirection::Horizontal would render as: 1 2 3 4 5 6 7 8 9 10
RepeatDirection::Vertical would render as: 1 5 8 2 6 9 3 7 10 4
- QBaseClass
- QHtmlAttributeManagerBase
- QHtmlAttributeManager
- QControlBase
- QControl
- QListControl uses QListItemManager
- QCheckBoxList
public
|
#
__construct(
Creates a QControlBase object This constructor will generally not be used to create a QControlBase object. Instead it is used by the classes which extend the class. Only the parent object parameter is required. If the option strControlId parameter is not used, QCubed will generate the id. |
public
|
|
public
string
|
|
protected
string
|
#
GetItemHtml(
Return the HTML for the given item. |
protected
string
|
|
public
string
|
#
RenderButtonTable( )
Renders the button group as a table, paying attention to the number of columns wanted. |
public
string
|
#
RenderButtonSet( )
Renders the checkbox list as a buttonset, rendering just as a list of checkboxes and allowing css or javascript to format the rest. |
public
string
|
#
RenderButtonColumn( )
Render as a single column. This implementation simply wraps the columns in divs. |
public
boolean
|
|
protected
|
#
RefreshSelection( )
Override of superclass that will update the selection using javascript so that the whole control does not need to be redrawn. |
public
mixed
|
|
public
mixed|
|
|
public static
|
#
GetModelConnectorParams( )
Returns a description of the options available to modify by the designer for the code generator. |
OverrideAttributes(),
__call()
|
integer |
ButtonModeNone
|
#
0
|
integer |
ButtonModeJq
|
#
1
|
integer |
ButtonModeSet
|
#
2
|
integer |
ButtonModeList
|
#
3
|
CommentEnd,
CommentStart
|
protected
string
|
$strTextAlign
|
|
protected
boolean
|
$blnHtmlEntities
|
#
true
|
protected
integer
|
$intCellPadding
|
#
-1
|
protected
integer
|
$intCellSpacing
|
#
-1
|
protected
integer
|
$intRepeatColumns
|
#
1
|
protected
string
|
$strRepeatDirection
|
|
protected
null| |
$objItemStyle
The common style for all elements in the list |
#
null
|
protected
|
$intButtonMode
|
|
protected
|
$strMaxHeight
|
$attributes,
$styles
|
$objListItemArray
|
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
integer
|
$CellPadding
specified the HTML Table's CellPadding |
public
integer
|
$CellSpacing
specified the HTML Table's CellSpacing |
public
integer
|
$RepeatColumns
specifies how many columns should be rendered in the HTML Table |
public
string
|
$RepeatDirection
pecifies which direction should the list go first... |
public
boolean
|
$HtmlEntities
|
$ItemCount,
$ItemStyle,
$SelectedIndex,
$SelectedItem,
$SelectedItems,
$SelectedName,
$SelectedNames,
$SelectedValue,
$SelectedValues
|
$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
|