|
MIOLO20
|
Membros públicos | |
| __construct ($name='', $value='', $label='', $size=10, $hint='', $validator=NULL, $isReadOnly=false, $fixed=2, $separator=',') | |
| setValue ($value) | |
| setFixed ($fixed) | |
| getFixed () | |
| setSeparator ($separator) | |
| getSeparator () | |
| addAttribute ($name, $value='', $userField=true) | |
| addBoxStyle ($name, $value) | |
| setReadOnly ($readOnly) | |
| generate () | |
| setJsHint ( $hint) | |
Membros públicos herdados de MTextField | |
| __construct ( $name='', $value='', $label='', $size=10, $hint='', $validator=NULL, $isReadOnly=false, $type='text') | |
| setClass ($cssClass, $add=true) | |
| getValidator () | |
| setValidator ( $value) | |
| generateInner () | |
Membros públicos herdados de MFormControl | |
| __construct ( $name, $value='', $label='', $color='', $hint='') | |
| getValue () | |
| setLabel ( $label) | |
| setAutoPostBack ( $value) | |
| setAutoSubmit ( $isAuto=true) | |
| getIsRequired () | |
| setIsRequired ($isRequired) | |
| getRequiredType () | |
| getFieldForm () | |
| setFieldForm (MForm $form) | |
| generateLabel () | |
Membros públicos herdados de MControl | |
| __construct ( $name=NULL) | |
| __clone () | |
| __set ( $name, $value) | |
| __get ( $name) | |
| setEnabled ($state) | |
| setName ($name) | |
| setId ($id) | |
| setNameAndId ($name) | |
| getId () | |
| getName () | |
| getUniqueId () | |
| addStyleFile ( $styleFile) | |
| getClass () | |
| addStyle ($name, $value) | |
| setStyle ($style) | |
| getStyle () | |
| addAttribute ( $name, $value='') | |
| setTooltip ($title, $placement=self::TOOLTIP_PLACEMENT_AUTO) | |
| setAttribute ( $name, $value) | |
| setAttributes ($attr) | |
| attributes ( $mergeDuplicates=false) | |
| getAttributes ( $mergeDuplicates=false) | |
| setFormMode ( $mode) | |
| setPosition ($left, $top, $position='absolute') | |
| setWidth ($value) | |
| setHeight ($value) | |
| setColor ($value) | |
| setVisibility ($value) | |
| setFont ($value) | |
| setCaption ($caption) | |
| setInner ($inner) | |
| getInner () | |
| addControl ($control) | |
| insertControl ($control, $pos=0, $width=null, $float=null) | |
| setControl ($control, $pos=0) | |
| setControls ($controls) | |
| getControls () | |
| getControl ($pos) | |
| getControlById ($id) | |
| findControlById ($id) | |
| setControlById ($control, $id) | |
| clearControls () | |
| eventHandler () | |
| attachEventHandler ( $name, $handler, $param=NULL) | |
| getBox () | |
| setBoxId ( $id) | |
| setBoxClass ( $cssClass, $add=true) | |
| getBoxClass () | |
| setBoxAttributes ($attr) | |
| getBoxAttributes () | |
| generateBox ( $content) | |
| getRender ( $method) | |
| getInnerToString () | |
Membros públicos herdados de MComponent | |
| SetName ($name) | |
| GetName () | |
| AddComponent ($component) | |
| InsertComponent ($component, $pos=0) | |
| SetComponent ($component, $pos) | |
| SetComponents ($components) | |
| GetComponents () | |
| GetComponent ($pos) | |
| ClearComponents () | |
Input field for float numbers.
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Organization:
SOLIS - Cooperativa de Soluções Livres
Copyright:
Copyright (c) 2011 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
Definido na linha 28 do ficheiro mfloatfield.class.
| __construct | ( | $name = '', | |
| $value = '', | |||
| $label = '', | |||
| $size = 10, | |||
| $hint = '', | |||
| $validator = NULL, | |||
| $isReadOnly = false, | |||
| $fixed = 2, | |||
| $separator = ',' ) |
MFloatField constructor.
| string | $name | Field name. |
| mixed | $value | Float number. |
| string | $label | Field label. |
| integer | $size | Field size. |
| string | $hint | Field hint. |
| object | $validator | Field validator. Instance of MValidator. |
| boolean | $isReadOnly | Whether the field is read-only. |
Definido na linha 56 do ficheiro mfloatfield.class.
| addAttribute | ( | $name, | |
| $value = '', | |||
| $userField = true ) |
Add a attribute the user field.
| string | $name | Attribute name. |
| string | $value | Attribute value. |
Definido na linha 124 do ficheiro mfloatfield.class.
| addBoxStyle | ( | $name, | |
| $value ) |
Add a style to the whole box, not only the input field.
| string | $name | Style name. |
| string | $value | Style value. |
Reimplementado de MControl.
Definido na linha 142 do ficheiro mfloatfield.class.
| generate | ( | ) |
Reimplementado de MControl.
Definido na linha 162 do ficheiro mfloatfield.class.
| getFixed | ( | ) |
Definido na linha 97 do ficheiro mfloatfield.class.
| getSeparator | ( | ) |
Definido na linha 113 do ficheiro mfloatfield.class.
| setFixed | ( | $fixed | ) |
| integer | $fixed | Set the number of digits after separator. |
Definido na linha 89 do ficheiro mfloatfield.class.
| setJsHint | ( | $hint | ) |
Reimplementado de MControl.
Definido na linha 183 do ficheiro mfloatfield.class.
| setReadOnly | ( | $readOnly | ) |
Set the field as read only.
| boolean | $readOnly | Wheter is read only. |
Reimplementado de MControl.
Definido na linha 153 do ficheiro mfloatfield.class.
| setSeparator | ( | $separator | ) |
| character | $separator | Set the digits separator. |
Definido na linha 105 do ficheiro mfloatfield.class.
| setValue | ( | $value | ) |
| mixed | $value | Float number. I.e. 123.456 |
Reimplementado de MFormControl.
Definido na linha 72 do ficheiro mfloatfield.class.