"name" : "inputType",
"type" : "String",
"desc" : "The type attribute for input fields -- e.g. radio, text, password (defaults to \"text\").",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "listeners",
"type" : "Object",
"desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
- "memberOf" : "Roo.util.Observable"
+ "memberOf" : "Roo.util.Observable",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "msgFx",
"type" : "String",
"desc" : "<b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "inputValue",
"type" : "String",
"desc" : "The value that should go into the generated input element's value attribute",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "fieldLabel",
"type" : "String",
"desc" : "Label to use when rendering a form.",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "validationDelay",
"type" : "Number",
"desc" : "The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "msgTarget",
"type" : "String",
"desc" : "The location where error text should display. Should be one of the following values (defaults to 'qtip'):\n<pre>\nValue Description\n----------- ----------------------------------------------------------------------\nqtip Display a quick tip when the user hovers over the field\ntitle Display a default browser title attribute popup\nunder Add a block div beneath the field containing the error text\nside Add an error icon to the right of the field with a popup on hover\n[element id] Add the error text directly to the innerHTML of the specified element\n</pre>",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "hideMode",
"type" : "String",
- "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
- "memberOf" : "Roo.Component"
+ "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display",
+ "memberOf" : "Roo.Component",
+ "isOptional" : false,
+ "optvals" : [
+ "display",
+ "visibility"
+ ]
},
{
"name" : "disabled",
"type" : "Boolean",
"desc" : "True to disable the field (defaults to false).",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "value",
"type" : "Mixed",
"desc" : "A value to initialize this field with.",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
+ },
+ {
+ "name" : "style",
+ "type" : "String",
+ "desc" : "css styles to add to component\neg. text-align:right;",
+ "memberOf" : "Roo.Component",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "allowDomMove",
"type" : "Boolean",
"desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
- "memberOf" : "Roo.Component"
+ "memberOf" : "Roo.Component",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "tabIndex",
"type" : "Number",
"desc" : "The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "invalidClass",
"type" : "String",
"desc" : "The CSS class to use when marking a field invalid (defaults to \"x-form-invalid\")",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "cls",
"type" : "String",
"desc" : "A CSS class to apply to the field's underlying element.",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "autoCreate",
"type" : "String/Object",
"desc" : "A DomHelper element spec, or true for a default element spec (defaults to\n{tag: \"input\", type: \"checkbox\", autocomplete: \"off\"})",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "valueOff",
"type" : "String",
"desc" : "The value that should go into the generated input element's value when unchecked.",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "invalidText",
"type" : "String",
"desc" : "The error text to use when marking a field invalid and no message is provided (defaults to \"The value in this field is invalid\")",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "actionMode",
"type" : "String",
"desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
- "memberOf" : "Roo.Component"
+ "memberOf" : "Roo.Component",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "boxLabel",
"type" : "String",
"desc" : "The text that appears beside the checkbox",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "width",
"type" : "Number",
"desc" : "width (optional) size of component",
- "memberOf" : "Roo.BoxComponent"
+ "memberOf" : "Roo.BoxComponent",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "validateOnBlur",
"type" : "Boolean",
"desc" : "Whether the field should validate when it loses focus (defaults to true).",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "validationEvent",
"type" : "String/Boolean",
"desc" : "The event that should initiate field validation. Set to false to disable\n automatic validation (defaults to \"keyup\").",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "fieldClass",
"type" : "String",
"desc" : "The default CSS class for the checkbox (defaults to \"x-form-field\")",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "checked",
"type" : "Boolean",
"desc" : "True if the the checkbox should render already checked (defaults to false)",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "focusClass",
"type" : "String",
"desc" : "The CSS class to use when the checkbox receives focus (defaults to undefined)",
- "memberOf" : "Roo.form.Checkbox"
+ "memberOf" : "Roo.form.Checkbox",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "name",
"type" : "String",
"desc" : "The field's HTML name attribute.",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "qtip",
"type" : "String",
"desc" : "Mouse over tip",
- "memberOf" : "Roo.form.Field"
+ "memberOf" : "Roo.form.Field",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "height",
"type" : "Number",
"desc" : "height (optional) size of component",
- "memberOf" : "Roo.BoxComponent"
+ "memberOf" : "Roo.BoxComponent",
+ "isOptional" : false,
+ "optvals" : []
},
{
"name" : "disableClass",
"type" : "String",
"desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
- "memberOf" : "Roo.Component"
+ "memberOf" : "Roo.Component",
+ "isOptional" : false,
+ "optvals" : []
}
],
"methods" : [
"desc" : "Sets the checked state of the checkbox.\nOn is always based on a string comparison between inputValue and the param.",
"sig" : "(value, suppressEvent)",
"static" : false,
- "memberOf" : "Roo.form.Checkbox",
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,