📄 bifocusmanager.xml
字号:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiFocusManager" extends="BiObject"> <description>This class handles the focus management in Bindows</description> <arguments> </arguments> <staticMethods> </staticMethods> <staticFields> </staticFields> <methods> <method name="compareTabOrder"> <description>This takes two components and compares them to decide which should come first in tab order. To decide this, the <link class="BiComponent" field="tabIndex">tabIndex</link> and the position of the components are taken into account. This returns a number that can be used in sort methods (-N, 0, +N).</description> <arguments> <argument name="c1"> <description>The first component to compare</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> <argument name="c2"> <description>The second component to compare</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type>Number</type> </returns> </method> <method name="getComponentAfter"> <description>This returns the component coming after in tab order</description> <arguments> <argument name="oContainer"> <description>The container to get the component in</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> <argument name="oComponent"> <description>The component to get the component after</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type> <link class="BiComponent">BiComponent</link> </type> </returns> </method> <method name="getComponentBefore"> <description>This returns the component coming before in tab order</description> <arguments> <argument name="oContainer"> <description>The container to get the component in</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> <argument name="oComponent"> <description>The component to get the component before</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type> <link class="BiComponent">BiComponent</link> </type> </returns> </method> <method name="processKeyEvent"> <description>This takes a keyboard event and in case the tab key was pressed the focus manager moves the focus to the next or previous component</description> <arguments> <argument name="oContainer"> <description>The focus container</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> <argument name="e"> <description>The keyboard event describing the event</description> <type> <link class="BiKeyboardEvent">BiKeyboardEvent</link> </type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="getFirstComponent"> <description>This returns the first focusable component inside the container</description> <arguments> <argument name="oContainer"> <description>The focus container</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type> <link class="BiComponent">BiComponent</link> </type> </returns> </method> <method name="getLastComponent"> <description>This returns the last focusable component inside the container</description> <arguments> <argument name="oContainer"> <description>The focus container</description> <type> <link class="BiComponent">BiComponent</link> </type> </argument> </arguments> <returns> <type> <link class="BiComponent">BiComponent</link> </type> </returns> </method> </methods> <properties> </properties> <events> </events> <remarks> </remarks></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -