bispinner.xml
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 86 行
XML
86 行
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiSpinner" extends="BiComponent"> <description>A spinner is a text box that accepts a number. A spinner also has buttons for increasing and decreasing the value.</description> <arguments> </arguments> <staticMethods> </staticMethods> <staticFields> </staticFields> <methods> </methods> <properties> <property name="value" get="true" set="true"> <description>The value for the spinner</description> <type>Number</type> </property> <property name="maximum" get="true" set="true"> <description>The maximum value for the spinner</description> <type>Number</type> </property> <property name="minimum" get="true" set="true"> <description>The minimum value for the spinner</description> <type>Number</type> </property> <property name="font" get="true" set="true"> <description>This is used to describe how to paint the text in the spinner.</description> <type> <link class="BiFont">BiFont</link> </type> </property> <property name="align" get="true" set="true"> <description>The text alignment. Valid values are:<br> </br> <br> </br> <code>left</code> <br> </br> <code>right</code> <br> </br> <code>center</code> </description> <type>String</type> </property> </properties> <events> <event name="change"> <description>This event is fired when the <link>maximum</link>, <link>minimum</link> or <link>maximum</link> properties are changed.</description> <type> <link class="BiEvent">BiEvent</link> </type> </event> <event name="action"> <description>This event is fired when the enter key is pressed</description> <type> <link class="BiEvent">BiEvent</link> </type> </event> </events> <remarks>The <link class="BiRangeModel" field="maximum">maximum</link>, <link class="BiRangeModel" field="minimum">minimum</link> and <link class="BiRangeModel" field="value">value</link> are always integers. When setting these, these are rounded to the nearest smaller integer.<br> </br> <br> </br> The following is always true for the properties of a spinner:<br> </br> <br> </br> <code>minimum <= value <= maximum</code> <br> </br> <br> </br> If the spinner has a <link class="BiComponent" field="command">command</link> the command will be <link class="BiCommand" field="execute">executed</link> when the user presses the enter key</remarks></class>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?