📄 bieventmanager.xml
字号:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiEventManager" extends="BiObject"> <description>This is the core class for the UI event system. Attach this to a browser window object to forward browser events to the correct component.<br> </br> <br> </br> There is usually no need to use this class. It is created as needed by the core components</description> <arguments> </arguments> <staticMethods> </staticMethods> <staticFields> </staticFields> <methods> <method name="attachToWindow"> <description>Attach the event manager to a browser window</description> <arguments> <argument name="oWindow"> <description>The browser window object to attach the events to</description> <type>Object</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="attachMouseEvents"> <description>Adds the mouse event listener to the browser so that these can be handled by the Bindows mouse events</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="detachMouseEvents"> <description>Removes the mouse event listener from the browser when these are not needed any more</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="attachKeyboardEvents"> <description>Adds the keyboard event listener to the browser so that these can be handled by the Bindows keyboard events</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="detachKeyboardEvents"> <description>Removes the keyboard event listener from the browser when these are not needed any more</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> </methods> <properties> <property name="allowBrowserContextMenu" get="true" set="true"> <description>Whether to allow the browser's default context menu</description> <type>Boolean</type> </property> <property name="captureComponent" get="true" set="true"> <description>The component that currently has the mouse capture. It is better to call <link class="BiComponent" field="setCapture">setCapture</link> on the component directly.</description> <type> <link class="BiComponent">BiComponent</link> </type> </property> </properties> <events> </events> <remarks>Disposing the event manager will detach it from the window and detach mouse and keyboard events handlers.</remarks></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -