📄 bigauge.xml
字号:
<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiGauge" extends="BiComponent"> <description> This control displays a gauge. </description> <arguments/> <staticMethods/> <staticFields/> <methods/> <properties> <property name="minimumAngle" type="Number" description="The angle where the minimum value is located" get="true" set="true"/> <property name="maximumAngle" type="Number" description="The angle where the minimum value is located" get="true" set="true"/> <property name="majorTickInterval" type="Number" description="The distance between the major ticks" get="true" set="true"/> <property name="minorTickInterval" type="Number" description="The distance between the minor ticks" get="true" set="true"/> <property name="labelInterval" type="Number" description="The difference between the labels" get="true" set="true"/> <property name="warningValue" type="Number" description="This shows a red section on the gauge between the warning value and the maximum value" get="true" set="true"/> <property name="showLabels" type="Boolean" description="Whether to show the text labels" get="true" set="true"/> <property name="showMajorTicks" type="Boolean" description="Whether to show the major ticks" get="true" set="true"/> <property name="showMinorTicks" type="Boolean" description="Whether to show the minor ticks" get="true" set="true"/> <property name="showWarningSection" type="Boolean" description="Whether to show the red section between the warning value and the maximum value" get="true" set="true"/> <property name="maximum" type="Number" description="The maximum value for the component" get="true" set="true"/> <property name="minimum" type="Number" description="The minimum value for the component" get="true" set="true"/> <property name="value" type="Number" description="The value for the component" get="true" set="true"/> <property name="value" get="true"> <description> The sections of the gauge. The first section is the warning secion </description> <type><link class="BiGaugeSection">BiGaugeSection[]</link></type> </property> <property name="plate" get="true" set="true" description="The plate of the gauge"> <type><link class="BiGaugePlate">BiGaugePlate</link></type> </property> <property name="minorTicks" get="true" set="true" description="The minor ticks of the gauge"> <type><link class="BiGaugeMinorTicks">BiGaugeMinorTicks</link></type> </property> <property name="majorTicks" get="true" set="true" description="The major ticks of the gauge"> <type><link class="BiGaugeMajorTicks">BiGaugeMajorTicks</link></type> </property> <property name="needle" get="true" set="true" description="The needle of the gauge"> <type><link class="BiGaugeNeedle">BiGaugeNeedle</link></type> </property> <property name="title" get="true" set="true" description="The title of the gauge"> <type><link class="BiGaugeTitle">BiGaugeTitle</link></type> </property> <property name="labels" get="true" set="true" description="The labels of the gauge"> <type><link class="BiGaugeLabels">BiGaugeLabels</link></type> </property> </properties> <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/> The following is always true for the properties of a gauge:<br/> <br/> <code>minimum <= value <= maximum</code><br/> <br/> To customize the look and feel either change the properties of the internal components or replace them with your own customized sub classes. </remarks></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -