⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 java.telephony.phone.phonelamp.html

📁 JTAPI_html 用于JTAPI的HTML文档.
💻 HTML
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title>  Interface java.telephony.phone.PhoneLamp</title></head><body><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.phone.html">This Package</a>  <a href="java.telephony.phone.PhoneHookswitch.html#_top_">Previous</a>  <a href="java.telephony.phone.PhoneMicrophone.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.phone.PhoneLamp</h1><dl>  <dt> public interface <b>PhoneLamp</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>  <dt> extends <a href="java.telephony.phone.Component.html#_top_">Component</a></dl><hr><a name="index"></a><h2>  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl>  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LAMPMODE_BROKENFLUTTER"><b>LAMPMODE_BROKENFLUTTER</b></a>  <dd> The lamp mode is BROKENFLUTTER, which is the superposition of flash andflutter.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LAMPMODE_FLASH"><b>LAMPMODE_FLASH</b></a>  <dd> The lamp mode is FLASH, which means slow on and off.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LAMPMODE_FLUTTER"><b>LAMPMODE_FLUTTER</b></a>  <dd> The lamp mode is FLUUTER, which means fast on and off.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LAMPMODE_OFF"><b>LAMPMODE_OFF</b></a>  <dd> The lamp mode is OFF.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LAMPMODE_STEADY"><b>LAMPMODE_STEADY</b></a>  <dd> The lamp is STEADY, which means continuously lit.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#LAMPMODE_WINK"><b>LAMPMODE_WINK</b></a>  <dd> The lamp mode is WINK.</dl><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getAssociatedPhoneButton()"><b>getAssociatedPhoneButton</b></a>()  <dd> Returns the button associated with the lamp.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getMode()"><b>getMode</b></a>()  <dd> Returns the current lamp mode.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getSupportedModes()"><b>getSupportedModes</b></a>()  <dd> Returns an array of supported lamp modes.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setMode(int)"><b>setMode</b></a>(int)  <dd> Sets the current lamp mode to a mode supported by the lamp andreturns by getSupportedModes().</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="LAMPMODE_OFF"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LAMPMODE_OFF</b><pre>  public final static int LAMPMODE_OFF</pre><dl>  <dd> The lamp mode is OFF.</dl><a name="LAMPMODE_FLASH"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LAMPMODE_FLASH</b><pre>  public final static int LAMPMODE_FLASH</pre><dl>  <dd> The lamp mode is FLASH, which means slow on and off.</dl><a name="LAMPMODE_STEADY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LAMPMODE_STEADY</b><pre>  public final static int LAMPMODE_STEADY</pre><dl>  <dd> The lamp is STEADY, which means continuously lit.</dl><a name="LAMPMODE_FLUTTER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LAMPMODE_FLUTTER</b><pre>  public final static int LAMPMODE_FLUTTER</pre><dl>  <dd> The lamp mode is FLUUTER, which means fast on and off.</dl><a name="LAMPMODE_BROKENFLUTTER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LAMPMODE_BROKENFLUTTER</b><pre>  public final static int LAMPMODE_BROKENFLUTTER</pre><dl>  <dd> The lamp mode is BROKENFLUTTER, which is the superposition of flash andflutter.</dl><a name="LAMPMODE_WINK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LAMPMODE_WINK</b><pre>  public final static int LAMPMODE_WINK</pre><dl>  <dd> The lamp mode is WINK.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getSupportedModes()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getSupportedModes"><b>getSupportedModes</b></a><pre>  public abstract int[] getSupportedModes() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns an array of supported lamp modes.<p>  <dl>    <dt> <b>Returns:</b>    <dd> An array of supported lamp modes.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setMode(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setMode"><b>setMode</b></a><pre>  public abstract void setMode(int mode) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Sets the current lamp mode to a mode supported by the lamp andreturns by getSupportedModes().<p>  <dl>    <dt> <b>Parameters:</b>    <dd> mode - The desired lamp mode.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The provided lamp mode is not valid.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getMode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMode"><b>getMode</b></a><pre>  public abstract int getMode() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the current lamp mode.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The current lamp mode.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getAssociatedPhoneButton()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAssociatedPhoneButton"><b>getAssociatedPhoneButton</b></a><pre>  public abstract <a href="java.telephony.phone.PhoneButton.html#_top_">PhoneButton</a> getAssociatedPhoneButton() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the button associated with the lamp.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The button associated with the lamp.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><hr><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.phone.html">This Package</a>  <a href="java.telephony.phone.PhoneHookswitch.html#_top_">Previous</a>  <a href="java.telephony.phone.PhoneMicrophone.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

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