bibox.xml
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 114 行
XML
114 行
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiBox" extends="BiComponent"> <description>This layout component places its children from left to right for the horizontal box and from top to bottom for the vertical box. This is a fairly advanced layout component that takes preferred, minimum and maximum size of the children into account. It also takes margins into account and it uses margin collapsing so that two adjacent children share the larger margin.</description> <arguments> <argument name="sOrient" optional="true"> <description>Optional orientation of the layout</description> <type>String</type> </argument> <argument name="sAlign" optional="true"> <description>Optional alignment of the children</description> <type>String</type> </argument> <argument name="sPack" optional="true"> <description>Optional pack value</description> <type>String</type> </argument> </arguments> <staticMethods> <method name="setFlex"> <description>Sets the attached flex property for the source. A flex value of 0 means that the size is determined by the preferred size and no flexing occurs.</description> <arguments> <argument name="oSource"> <description>The component to set the dock value for</description> <type> <link class="BiObject">BiObject</link> </type> </argument> <argument name="nFlex"> <description>The flex value is used to tell how much of the remaining space the component should use.</description> <type>Number</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="getFlex"> <description>Returns the dock value for the source</description> <arguments> <argument name="oSource"> <description>The component to get the dock value for</description> <type> <link class="BiObject">BiObject</link> </type> </argument> </arguments> <returns> <type>String</type> </returns> </method> </staticMethods> <staticFields> </staticFields> <methods> </methods> <properties> <property name="orient" get="true" set="true"> <description>The orientation to layout the children. Valid values are "horizontal" and "vertical". When set to "horizontal", rightToLeft is taken into account.</description> <type>String</type> </property> <property name="align" get="true" set="true"> <description>The align property decides how to size and position the children. This describes the size and position in the in the orthogonal direction of the box orientation. For a horizontal box this describes the height and top position and for a vertical layout this describes the width and left position<br> </br> <br> </br> Valid values are:<br> </br> <br> </br> stretch<br> </br> start<br> </br> center<br> </br> end<br> </br> </description> <type>String</type> </property> <property name="pack" get="true" set="true"> <description>This describes how to layout the controls when there are no flexing children and there is any remaining space. Valid values are:<br> </br> <br> </br> start<br> </br> center<br> </br> end</description> <type>String</type> </property> </properties> <events> </events> <remarks> </remarks></class>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?