bicomponent.xml
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 1,308 行 · 第 1/4 页
XML
1,308 行
position. For the known hints see <link>invalidateParentLayout</link>.</description> <arguments> <argument name="oChild"> <description>The component to invalidate</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> <argument name="sHint"> <description>A string giving a hint that the layout manager can use</description> <type>String</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutComponent"> <description>Handles the size and position of the current component. Most components ask their parent to do the actual layout but this can be overridden to allow the component to take care of its own size and position.</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutChild"> <description>This handles the layout of the child. If the child changes its size and it has any children this will also call layoutAllChildren on the child.</description> <arguments> <argument name="oChild"> <description>The child to layout</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutChildX"> <description>Depreciated. Use <link>layoutChild</link> instead.</description> <arguments> <argument name="oChild"> <description>The child to layout</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutChildY"> <description>Depreciated. Use <link>layoutChild</link> instead.</description> <arguments> <argument name="oChild"> <description>The child to layout</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutAllChildren"> <description>This does a layout of all the children. This is the method where layout is done and you can override this to do your own layout. If the size of a child is changed the child will in its turn call <link>layoutAllChildren</link>.</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutAllChildrenX"> <description>Depreciated. Use <link>layoutAllChildren</link> instead</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="layoutAllChildrenY"> <description>Depreciated. Use <link>layoutAllChildren</link> instead</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="setPreferredSize"> <description>Sets both the preferred width and preferred height for the component.</description> <arguments> <argument name="nWidth"> <description>The new preferred width of the component</description> <type>Number</type> </argument> <argument name="nHeight"> <description>The new preferred height of the component</description> <type>Number</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="pack"> <description>Changes the size of the component so that the size is set to the preferred width and height.</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="setMargin"> <description>Sets the margin on all sides of the component. What side the arguments of this method applies to depends on the number of arguments.<br> </br> <br> </br> setMargin( nAllSides )<br> </br> setMargin( nLeftAndRight, nTopAndBottom )<br> </br> setMargin( nLeft, nRight, nTop, nBottom )</description> <arguments> <argument name="nLeft"> <description>The left margin</description> <type>Number</type> </argument> <argument name="nRight" optional="true"> <description>The right margin </description> <type>Number</type> </argument> <argument name="nTop" optional="true"> <description>The top margin </description> <type>Number</type> </argument> <argument name="nBottom" optional="true"> <description>The bottom margin </description> <type>Number</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="setClip"> <description>Sets the clip rectangle for the component. This allows you to show just a part of the component</description> <arguments> <argument name="nLeft"> <description>The left clip value</description> <type>Number</type> </argument> <argument name="nTop"> <description>The top clip value</description> <type>Number</type> </argument> <argument name="nWidth"> <description>The width of the shown region</description> <type>Number</type> </argument> <argument name="nHeight"> <description>The height of the shown region</description> <type>Number</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="scrollIntoView"> <description>Scrolls the parent component view port so that the current component becomes inside the view port if possible. The argument can be used to tell what edge of the viewport the component should be aligned to.</description> <arguments> <argument name="bTopLeft" optional="true"> <description>This describes the value to align the component to relative to the view port of the parent.<br> </br> <br> </br> <code>null</code> - Scroll as little as possible to make the component visible in the parent view port.<br> </br> <code>true</code> - try to align the component with the upper left edge of the parent view port.<br> </br> <code>false</code> - try to align the component with the lower right edge of the parent view port.</description> <type>Boolean</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="scrollIntoViewX"> <description>Scrolls the parent component view port horizontally so that the current component becomes inside the view port if possible. The argument can be used to tell what edge of the viewport the component should be aligned to.</description> <arguments> <argument name="bLeft" optional="true"> <description>This describes the value to align the component to relative to the view port of the parent.<br> </br> <br> </br> <code>null</code> - Scroll as little as possible to make the component visible in the parent view port.<br> </br> <code>true</code> - try to align the component with the left edge of the parent view port.<br> </br> <code>false</code> - try to align the component with the right edge of the parent view port.</description> <type>Boolean</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="scrollIntoViewY"> <description>Scrolls the parent component view port vertically so that the current component becomes inside the view port if possible. The argument can be used to tell what edge of the viewport the component should be aligned to.</description> <arguments> <argument name="bTop" optional="true"> <description>This describes the value to align the component to relative to the view port of the parent.<br> </br> <br> </br> <code>null</code> - Scroll as little as possible to make the component visible in the parent view port.<br> </br> <code>true</code> - try to align the component with the upper edge of the parent view port.<br> </br> <code>false</code> - try to align the component with the lower edge of the parent view port.</description> <type>Boolean</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="isFocusRoot"> <description>Whether the component is acting as a focus root or not</description> <arguments> </arguments> <returns> <type>Boolean</type> </returns> </method> </methods> <properties> <property name="parent" get="true" set="true"> <description>Returns the parent component. This is the component that the current component was added to. If the current component has not been added to any componenet this returns <code>null</code>. If the real parent component is anonymous then this returns the first non anonymous ancestor.<br> </br> <br> </br> When setting this the component is added last to the new parent. If you set this to <code>null</code> the component is removed from its current parent</description> <type> <link class="BiComponent">BiComponent</link> </type> </property> <property name="children" get="true" set="true"> <description>The components added to the current component. This does not include anonymous children.<br> </br> <br> </br> When setting this all the old children are first removed and disposed.</description> <type> <link class="BiComponent">BiComponent[]</link> </type> </property> <property name="topLevelComponent" get="true"> <description>Returns the top level ancestor component. This is usually the application window hosting the application.</description> <type> <link class="BiComponent">BiComponent</link> </type> </property> <property name="firstChild" get="true"> <description>Returns the first child component. If the current component has no children then this returns <code>null</code>. This is the first non anonymous child.</description> <type> <link class="BiComponent">BiComponent</link> </type> </property> <property name="lastChild" get="true"> <description>Returns the last child component. If the current component has no children then this returns <code>null</code>. This is the last non anonymous child.</description> <type> <link class="BiComponent">BiComponent</link> </type> </property> <property name="previousSibling" get="true"> <description>Returns the component before the current in the parent children collection. If the current component has no parent or no component comes before the current this returns <code>null</code>. This is the first non anonymous previous sibling.</description> <type> <link class="BiComponent">BiComponent</link> </type> </property> <property name="nextSibling" get="true"> <description>Returns the component after the current in the parent children collection. If the current component has
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?