"tree_parent" : [],
"desc" : "Simple Button class",
"isSingleton" : false,
- "isStatic" : false,
+ "isStatic" : true,
"isBuiltin" : false,
"isAbstract" : false,
"isBuilderTop" : false,
"name" : "tooltip",
"type" : "String/Object",
"desc" : "The tooltip for the button - can be a string or QuickTips config object",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "text",
"type" : "String",
"desc" : "The button text",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "renderTo",
"type" : "String/HTMLElement/Element",
"desc" : "The element to append the button to",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "hidden",
"type" : "Boolean",
"desc" : "True to start hidden (defaults to false)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "toggleGroup",
"type" : "String",
"desc" : "The group this toggle button is a member of (only 1 per group can be pressed, only\n applies if enableToggle = true)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "handleMouseEvents",
"type" : "Boolean",
"desc" : "False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "menu",
"type" : "Roo.menu.Menu",
"desc" : "Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "enableToggle",
"type" : "Boolean",
"desc" : "True to enable pressed/not pressed toggling (defaults to false)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "handler",
"type" : "Function",
"desc" : "A function called when the button is clicked (can be used instead of click event)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "scope",
"type" : "Object",
"desc" : "The scope of the handler",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "minWidth",
"type" : "Number",
"desc" : "The minimum width for this button (used to give a set of buttons a common width)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "disabled",
"type" : "Boolean",
"desc" : "True to start disabled (defaults to false)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "pressed",
"type" : "Boolean",
"desc" : "True to start pressed (only if enableToggle = true)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "template",
"type" : "Roo.Template",
"desc" : "(Optional)\nAn {@link Roo.Template} with which to create the Button's main element. This Template must\ncontain numeric substitution parameter 0 if it is to display the tRoo property. Changing the template could\nrequire code modifications if required elements (e.g. a button) aren't present.",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "cls",
"type" : "String",
"desc" : "A CSS class to apply to the button's main element.",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "tabIndex",
"type" : "Number",
"desc" : "The DOM tabIndex for this button (defaults to undefined)",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "iconCls",
"type" : "String",
"desc" : "A css class which sets a background image to be used as the icon for this button (defaults to undefined).",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "menuAlign",
"type" : "String",
"desc" : "The position to align the menu to (see {@link Roo.Element#alignTo} for more details, defaults to 'tl-bl?').",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "icon",
"type" : "String",
"desc" : "The path to an image to display in the button (the image will be set as the background-image\nCSS property of the button by default, so if you want a mixed icon/text button, set cls:\"x-btn-text-icon\")",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "tooltipType",
"type" : "String",
"desc" : "The type of tooltip to use. Either \"qtip\" (default) for QuickTips or \"title\" for title attribute.",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "clickEvent",
"type" : "String",
"desc" : "The type of event to map to the button's event handler (defaults to 'click')",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "repeat",
"type" : "Boolean/Object",
"desc" : "True to repeat fire the click event while the mouse is down. This can also be\n an {@link Roo.util.ClickRepeater} config object (defaults to false).",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
},
{
"name" : "type",
"type" : "String",
"desc" : "The button's type, corresponding to the DOM input element type attribute. Either \"submit,\" \"reset\" or \"button\" (default).",
- "memberOf" : "Roo.Button"
+ "memberOf" : ""
}
],
"methods" : [