bigridpanel.xml
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 84 行
XML
84 行
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiGridPanel" extends="BiComponent"> <description>This layout component positions and sizes its children in a simple grid where the columns and rows are decided using string patterns much like the way the rows and cols attribute for HTML framesets decides the size and position of the frames.</description> <arguments> <argument name="sRows" optional="true"> <description>Row heights pattern </description> <type>String</type> </argument> <argument name="sCols" optional="true"> <description>Column widths pattern </description> <type>String</type> </argument> <argument name="nHGap" optional="true"> <description>The horizontal gap between columns </description> <type>Number</type> </argument> <argument name="nVGap" optional="true"> <description>The vertical gap between rows </description> <type>Number</type> </argument> </arguments> <staticMethods> </staticMethods> <staticFields> </staticFields> <methods> </methods> <properties> <property name="hGap" get="true" set="true"> <description>The horizontal gap between the columns</description> <type>Number</type> </property> <property name="vGap" get="true" set="true"> <description>The vertical gap between the rows</description> <type>Number</type> </property> <property name="cols" get="true" set="true"> <description>This is a string representing the column widths. It is a comma seperated string of column sizes. See the remarks for more info.</description> <type>String</type> </property> <property name="rows" get="true" set="true"> <description>This is a string representing the row heights. It is a comma seperated string of row sizes. See the remarks for more info.</description> <type>String</type> </property> </properties> <events> </events> <remarks>The syntax for the rows and cols is similar to how HTML framesets size their frames. These properties take a comma separated string of sizes. Sizes can be of the following formats:<br> </br> 75 - 75 px<br> </br> 25% - 25% of the client size of the<link class="BiGridPanel">BiGridPanel</link> component<br> </br> * - Remaining space<br> </br> 1.5* - Weighted remaining space. This is used when more than one of the sizes contains a '*' to decide how to distribute the size.<br> </br> <br> </br> Below is the syntax for the cols and rows properties:<br> </br> <code>ROWS = SIZE ( ',' SIZE ) *<br> </br> COLS = SIZE ( ',' SIZE ) *<br> </br> SIZE = NUMBER<br> </br> | NUMBER '%'<br> </br> | '*'<br> </br> | NUMBER '*'</code> </remarks></class>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?