Class html_Checkbox
basic class for all html components with standart events
- html_Component implements html_iComponent uses html_tComponent
-
html_Events
-
html_FocusEvents
-
html_FocusEventsEx
-
html_Checkbox
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
selItemFromValue( mixed $val, boolean $useRequestAsDefault = false )
select the item from value, if $useRequestAsDefault == true it try to use request value on empty $val |
public
|
|
public
integer
|
|
public
array
|
|
public
string
|
Methods inherited from html_FocusEventsEx
Methods inherited from html_FocusEvents
Methods inherited from html_Events
htmlEvents()
,
setHint()
,
setIText()
,
setOnClick()
,
setOnDblClick()
,
setOnKeyDown()
,
setOnKeyPress()
,
setOnKeyUp()
,
setOnMouseDown()
,
setOnMouseMove()
,
setOnMouseOut()
,
setOnMouseOver()
,
setOnMouseUp()
,
setTooltip()
Methods inherited from html_Component
buildChilds()
,
getChilds()
,
getName()
,
setClass()
,
setName()
,
setStyle()
Methods used from html_tComponent
tBuildChilds()(as tBuildChilds())
Properties summary
private
array
|
$m_items
|
#
array()
|
private
array
|
$m_icons
|
#
array()
|
public
boolean
|
$m_listview
enable listview |
#
false
|
public
string
|
$m_text_align
set align of text |
#
"right"
|
public
string
|
$m_onFocus
js code for focus event |
#
""
|
public
boolean
|
$m_enabled
disable/enable the element |
#
true
|
public
boolean
|
$m_float
enable floating checkbox/capture (fixes design-problem with linebreaks) |
#
false
|
public
string
|
$m_max_width
set max_width for the caption of a item (otherwise large text-blocks moves to the next line after the checkbox) |
#
null
|
public
string
|
$m_checkbox_margin
set margin between checkbox and capture |
#
'5px'
|
public
string
|
$m_cursor
css cursor |
#
'pointer'
|
Properties inherited from html_FocusEventsEx
Properties inherited from html_FocusEvents
Properties inherited from html_Events
$m_itext
,
$m_onClick
,
$m_onDblClick
,
$m_onKeyDown
,
$m_onKeyPress
,
$m_onKeyUp
,
$m_onMouseDown
,
$m_onMouseMove
,
$m_onMouseOut
,
$m_onMouseOver
,
$m_onMouseUp
,
$m_tooltip