try and get ctrl-enter to add a clear all
[roojs1] / docs / symbols / Roo.LayoutDialog.json
index 0801a65..98db6d9 100644 (file)
     "Roo.NestedLayoutPanel",
     "Roo.TreePanel"
   ],
-  "tree_parent" : [],
+  "tree_parent" : [
+    "builder",
+    "none"
+  ],
   "desc" : "Dialog which provides adjustments for working with a layout in a Dialog.\nAdd your necessary layout config options to the dialog's config.<br>\nExample usage (including a nested layout):\n<pre><code>\nif(!dialog){\n    dialog = new Roo.LayoutDialog(\"download-dlg\", {\n        modal: true,\n        width:600,\n        height:450,\n        shadow:true,\n        minWidth:500,\n        minHeight:350,\n        autoTabs:true,\n        proxyDrag:true,\n        // layout config merges with the dialog config\n        center:{\n            tabPosition: \"top\",\n            alwaysShowTabs: true\n        }\n    });\n    dialog.addKeyListener(27, dialog.hide, dialog);\n    dialog.setDefaultButton(dialog.addButton(\"Close\", dialog.hide, dialog));\n    dialog.addButton(\"Build It!\", this.getDownload, this);\n\n    // we can even add nested layouts\n    var innerLayout = new Roo.BorderLayout(\"dl-inner\", {\n        east: {\n            initialSize: 200,\n            autoScroll:true,\n            split:true\n        },\n        center: {\n            autoScroll:true\n        }\n    });\n    innerLayout.beginUpdate();\n    innerLayout.add(\"east\", new Roo.ContentPanel(\"dl-details\"));\n    innerLayout.add(\"center\", new Roo.ContentPanel(\"selection-panel\"));\n    innerLayout.endUpdate(true);\n\n    var layout = dialog.getLayout();\n    layout.beginUpdate();\n    layout.add(\"center\", new Roo.ContentPanel(\"standard-panel\",\n                        {title: \"Download the Source\", fitToFrame:true}));\n    layout.add(\"center\", new Roo.NestedLayoutPanel(innerLayout,\n               {title: \"Build your own roo.js\"}));\n    layout.getRegion(\"center\").showPanel(sp);\n    layout.endUpdate();\n}\n</code></pre>",
   "isSingleton" : false,
   "isStatic" : false,
   "isBuiltin" : false,
   "isAbstract" : false,
-  "isBuilderTop" : true,
+  "isBuilderTop" : false,
   "memberOf" : "LayoutDialog",
   "example" : "",
   "deprecated" : "",
       "name" : "buttons[]",
       "type" : "Roo.Button",
       "desc" : "Bottom buttons..",
-      "memberOf" : "Roo.LayoutDialog"
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "minButtonWidth",
       "type" : "Number",
       "desc" : "Minimum width of all dialog buttons (defaults to 75)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "west",
       "type" : "Roo.LayoutRegion",
       "desc" : "",
-      "memberOf" : "Roo.LayoutDialog"
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "fixedcenter",
       "type" : "Boolean",
       "desc" : "True to ensure that anytime the dialog is shown or resized it gets centered (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "minWidth",
       "type" : "Number",
       "desc" : "The minimum allowable width for a resizable dialog (defaults to 200)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "title",
       "type" : "String",
       "desc" : "Default text to display in the title bar (defaults to null)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "center",
       "type" : "Roo.LayoutRegion",
       "desc" : "",
-      "memberOf" : "Roo.LayoutDialog"
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "resizable",
       "type" : "Boolean",
       "desc" : "False to disable manual dialog resizing (defaults to true)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "resizeHandles",
       "type" : "String",
       "desc" : "Which resize handles to display - see the {@link Roo.Resizable} handles config\nproperty for valid values (defaults to 'all')",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "width",
       "type" : "Number",
       "desc" : "Width of the dialog in pixels (can also be set via CSS).  Determined by browser if unspecified.",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "shim",
       "type" : "Boolean",
       "desc" : "True to create an iframe shim that prevents selects from showing through (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "proxyDrag",
       "type" : "Boolean",
       "desc" : "True to drag a lightweight proxy element rather than the dialog itself, used when\ndraggable = true (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "autoTabs",
       "type" : "Boolean",
       "desc" : "If true, all elements with class 'x-dlg-tab' will get automatically converted to tabs (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "height",
       "type" : "Number",
       "desc" : "Height of the dialog in pixels (can also be set via CSS).  Determined by browser if unspecified.",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "constraintoviewport",
       "type" : "Boolean",
       "desc" : "True to keep the dialog constrained within the visible viewport boundaries (defaults to true)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "shadowOffset",
       "type" : "Number",
       "desc" : "The number of pixels to offset the shadow if displayed (defaults to 5)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "draggable",
       "type" : "Boolean",
       "desc" : "False to disable dragging of the dialog within the viewport (defaults to true)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "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" : "south",
       "type" : "Roo.LayoutRegion",
       "desc" : "",
-      "memberOf" : "Roo.LayoutDialog"
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "east",
       "type" : "Roo.LayoutRegion",
       "desc" : "",
-      "memberOf" : "Roo.LayoutDialog"
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "shadow",
       "type" : "Boolean/String",
       "desc" : "True or \"sides\" for the default effect, \"frame\" for 4-way shadow, and \"drop\" for bottom-right\nshadow (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "x",
       "type" : "Number",
       "desc" : "The default left page coordinate of the dialog (defaults to center screen)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "collapsible",
       "type" : "Boolean",
       "desc" : "False to remove the built-in top-right corner collapse button (defaults to true)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "y",
       "type" : "Number",
       "desc" : "The default top page coordinate of the dialog (defaults to center screen)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "north",
       "type" : "Roo.LayoutRegion",
       "desc" : "",
-      "memberOf" : "Roo.LayoutDialog"
+      "memberOf" : "",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "buttons",
       "type" : "Array",
       "desc" : "Array of buttons",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "animateTarget",
       "type" : "String/Element",
       "desc" : "Id or element from which the dialog should animate while opening\n(defaults to null with no animation)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "closable",
       "type" : "Boolean",
       "desc" : "False to remove the built-in top-right corner close button (defaults to true)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "autoCreate",
       "type" : "Boolean/DomHelper",
       "desc" : "True to auto create from scratch, or using a DomHelper Object (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "autoScroll",
       "type" : "Boolean",
       "desc" : "True to allow the dialog body contents to overflow and display scrollbars (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "modal",
       "type" : "Boolean",
       "desc" : "True to show the dialog modally, preventing user interaction with the rest of the page (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "tabTag",
       "type" : "String",
       "desc" : "The tag name of tab elements, used when autoTabs = true (defaults to 'div')",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "minHeight",
       "type" : "Number",
       "desc" : "The minimum allowable height for a resizable dialog (defaults to 80)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "syncHeightBeforeShow",
       "type" : "Boolean",
       "desc" : "True to cause the dimensions to be recalculated before the dialog is shown (defaults to false)",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     },
     {
       "name" : "buttonAlign",
       "type" : "String",
       "desc" : "Valid values are \"left,\" \"center\" and \"right\" (defaults to \"right\")",
-      "memberOf" : "Roo.BasicDialog"
+      "memberOf" : "Roo.BasicDialog",
+      "isOptional" : false,
+      "optvals" : []
     }
   ],
   "methods" : [