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

📄 java.telephony.phone.componentgroup.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.ComponentGroup</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.Component.html#_top_">Previous</a>  <a href="java.telephony.phone.PhoneButton.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.phone.ComponentGroup</h1><dl>  <dt> public interface <b>ComponentGroup</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>A ComponentGroup is a grouping of Component objects. Terminals may becomposed of zero or more ComponentGroups. Applications query thePhoneTerminal interface for the available ComponentGroups. Then they querythis interface for the components which make up this component group.<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="#HAND_SET"><b>HAND_SET</b></a>  <dd> The component group is of type HAND_SET.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#HEAD_SET"><b>HEAD_SET</b></a>  <dd> The component group is of type HEAD_SET.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#OTHER"><b>OTHER</b></a>  <dd> The component group is of type OTHER.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#PHONE_SET"><b>PHONE_SET</b></a>  <dd> The componet group is of type PHONE_SET.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#SPEAKER_PHONE"><b>SPEAKER_PHONE</b></a>  <dd> The component group is of type SPEAKER_PHONE.</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="#activate()"><b>activate</b></a>()  <dd> Enables all routing of events or media stream between all Componentsof this group and calls on any of the Addresses asociated with the parentTerminal.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#activate(java.telephony.Address)"><b>activate</b></a>(Address)  <dd> Enables all routing of events or media stream between all Componentsof this group and calls to the specified Address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#deactivate()"><b>deactivate</b></a>()  <dd> Disables all routing of events or media stream between all Componentsof this group and calls on any of the Addresses associated with the parentTerminal.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#deactivate(java.telephony.Address)"><b>deactivate</b></a>(Address)  <dd> Disables all routing of events or media stream between all Componentsof this group and the specified Address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getComponents()"><b>getComponents</b></a>()  <dd> Returns the groups components, null if the group contains zero components.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDescription()"><b>getDescription</b></a>()  <dd> Returns a string describing the component group.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getType()"><b>getType</b></a>()  <dd> Returns the type of group, either HEAD_SET, HAND_SET, SPEAKER_PHONE,PHONE_SET or OTHER.</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="HEAD_SET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>HEAD_SET</b><pre>  public final static int HEAD_SET</pre><dl>  <dd> The component group is of type HEAD_SET.</dl><a name="HAND_SET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>HAND_SET</b><pre>  public final static int HAND_SET</pre><dl>  <dd> The component group is of type HAND_SET.</dl><a name="SPEAKER_PHONE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>SPEAKER_PHONE</b><pre>  public final static int SPEAKER_PHONE</pre><dl>  <dd> The component group is of type SPEAKER_PHONE.</dl><a name="PHONE_SET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>PHONE_SET</b><pre>  public final static int PHONE_SET</pre><dl>  <dd> The componet group is of type PHONE_SET.</dl><a name="OTHER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>OTHER</b><pre>  public final static int OTHER</pre><dl>  <dd> The component group is of type OTHER.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getType"><b>getType</b></a><pre>  public abstract int getType() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the type of group, either HEAD_SET, HAND_SET, SPEAKER_PHONE,PHONE_SET or OTHER.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The type of group.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getDescription()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDescription"><b>getDescription</b></a><pre>  public abstract <a href="java.lang.String.html#_top_">String</a> getDescription() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns a string describing the component group.<p>  <dl>    <dt> <b>Returns:</b>    <dd> A string description of the component group.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getComponents()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getComponents"><b>getComponents</b></a><pre>  public abstract <a href="java.telephony.phone.Component.html#_top_">Component</a>[] getComponents() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the groups components, null if the group contains zero components.<p>  <dl>    <dt> <b>Returns:</b>    <dd> An array of Component objects.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="activate()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="activate"><b>activate</b></a><pre>  public abstract boolean activate() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Enables all routing of events or media stream between all Componentsof this group and calls on any of the Addresses asociated with the parentTerminal.<p>  <dl>    <dt> <b>Returns:</b>    <dd> true if successful and false if unsuccessful.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="deactivate()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="deactivate"><b>deactivate</b></a><pre>  public abstract boolean deactivate() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Disables all routing of events or media stream between all Componentsof this group and calls on any of the Addresses associated with the parentTerminal.<p>  <dl>    <dt> <b>Returns:</b>    <dd> true if successful and false if unsuccessful.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="activate(java.telephony.Address)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="activate"><b>activate</b></a><pre>  public abstract boolean activate(<a href="java.telephony.Address.html#_top_">Address</a> address) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Enables all routing of events or media stream between all Componentsof this group and calls to the specified Address.<p>  <dl>    <dt> <b>Parameters:</b>    <dd> address - The Address that the group is to be activated on.    <dt> <b>Returns:</b>    <dd> true if successful and false if unsuccessful.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The provided Address is not validfor the Terminal.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="deactivate(java.telephony.Address)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="deactivate"><b>deactivate</b></a><pre>  public abstract boolean deactivate(<a href="java.telephony.Address.html#_top_">Address</a> address) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Disables all routing of events or media stream between all Componentsof this group and the specified Address.<p>  <dl>    <dt> <b>Parameters:</b>    <dd> address - The Address that the group is to be deactivated on.    <dt> <b>Returns:</b>    <dd> true if successful and false if unsuccessful.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The provided Address is not validfor the Terminal.    <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.Component.html#_top_">Previous</a>  <a href="java.telephony.phone.PhoneButton.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

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