bitheme.xml

来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 112 行

XML
112
字号
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiTheme" extends="BiObject">	<description>This class represents a theme which consists of a css file</description>	<arguments>		<argument name="sName" optional="true">			<description>The name of the theme </description>			<type>String</type>		</argument>	</arguments>	<staticMethods>	</staticMethods>	<staticFields>	</staticFields>	<methods>		<method name="addAppearance">			<description>Adds a state dependent appearance to the theme</description>			<arguments>				<argument name="sAppearanceName">					<description>The name of the appearance</description>					<type>String</type>				</argument>				<argument name="oStates">					<description>The pseudo states that we need listeners for</description>					<type>String[]</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="removeAppearance">			<description>Removes a state dependent appearance from the theme</description>			<arguments>				<argument name="sAppearanceName">					<description>The name of the appearance</description>					<type>String</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="getAppearanceStates">			<description>This returns the states that the appearance supports</description>			<arguments>				<argument name="sName">					<description>The name of the appearance</description>					<type>String</type>				</argument>			</arguments>			<returns>				<type>Object</type>			</returns>		</method>		<method name="getAppearanceProperty">			<description>Returns a property value for the given appearance.</description>			<arguments>				<argument name="sName">					<description>The appearance name</description>					<type>String</type>				</argument>				<argument name="sPropertyName">					<description>The name of the property</description>					<type>String</type>				</argument>			</arguments>			<returns>				<type>Object</type>			</returns>		</method>		<method name="setAppearanceProperty">			<description>Sets a property value for a given appearance</description>			<arguments>				<argument name="sName">					<description>The appearance name</description>					<type>String</type>				</argument>				<argument name="sPropertyName">					<description>The name of the property</description>					<type>String</type>				</argument>				<argument name="oValue">					<description>The value to set</description>					<type>Object</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>	</methods>	<properties>		<property name="name" get="true">			<description>The name of the theme</description>			<type>String</type>		</property>		<property name="default" get="true" set="true">			<description>Whether the theme is the default theme</description>			<type>Boolean</type>		</property>		<property name="menuCss" get="true" set="true">			<description>This is the string needed for the IE menus to work correctl</description>			<type>String</type>		</property>	</properties>	<events>	</events>	<remarks>	</remarks></class>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?