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

📄 lod.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="LOD()"><!-- --></A><H3>LOD</H3><PRE>public <B>LOD</B>()</PRE><DL><DD>Constructs and initializes an LOD node.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="addSwitch(javax.media.j3d.Switch)"><!-- --></A><H3>addSwitch</H3><PRE>public void <B>addSwitch</B>(<A HREF="../../../javax/media/j3d/Switch.html" title="class in javax.media.j3d">Switch</A>&nbsp;switchNode)</PRE><DL><DD>Appends the specified switch node to this LOD's list of switches.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>switchNode</CODE> - the switch node to add to this LOD's list of switches</DL></DD></DL><HR><A NAME="setSwitch(javax.media.j3d.Switch, int)"><!-- --></A><H3>setSwitch</H3><PRE>public void <B>setSwitch</B>(<A HREF="../../../javax/media/j3d/Switch.html" title="class in javax.media.j3d">Switch</A>&nbsp;switchNode,                      int&nbsp;index)</PRE><DL><DD>Replaces the specified switch node with the switch node provided.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>switchNode</CODE> - the new switch node<DD><CODE>index</CODE> - which switch node to replace</DL></DD></DL><HR><A NAME="insertSwitch(javax.media.j3d.Switch, int)"><!-- --></A><H3>insertSwitch</H3><PRE>public void <B>insertSwitch</B>(<A HREF="../../../javax/media/j3d/Switch.html" title="class in javax.media.j3d">Switch</A>&nbsp;switchNode,                         int&nbsp;index)</PRE><DL><DD>Inserts the specified switch node at specified index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>switchNode</CODE> - the new switch node<DD><CODE>index</CODE> - position to insert new switch node at</DL></DD></DL><HR><A NAME="removeSwitch(int)"><!-- --></A><H3>removeSwitch</H3><PRE>public void <B>removeSwitch</B>(int&nbsp;index)</PRE><DL><DD>Removes the switch node at specified index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - which switch node to remove</DL></DD></DL><HR><A NAME="getSwitch(int)"><!-- --></A><H3>getSwitch</H3><PRE>public <A HREF="../../../javax/media/j3d/Switch.html" title="class in javax.media.j3d">Switch</A> <B>getSwitch</B>(int&nbsp;index)</PRE><DL><DD>Returns the switch node specified by the index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - which switch node to return<DT><B>Returns:</B><DD>the switch node at location index</DL></DD></DL><HR><A NAME="getAllSwitches()"><!-- --></A><H3>getAllSwitches</H3><PRE>public java.util.Enumeration <B>getAllSwitches</B>()</PRE><DL><DD>Returns the enumeration object of all switches.<P><DD><DL><DT><B>Returns:</B><DD>the enumeration object of all switches</DL></DD></DL><HR><A NAME="numSwitches()"><!-- --></A><H3>numSwitches</H3><PRE>public int <B>numSwitches</B>()</PRE><DL><DD>Returns a count of this LOD's switches.<P><DD><DL><DT><B>Returns:</B><DD>the number of switches controlled by this LOD</DL></DD></DL><HR><A NAME="indexOfSwitch(javax.media.j3d.Switch)"><!-- --></A><H3>indexOfSwitch</H3><PRE>public int <B>indexOfSwitch</B>(<A HREF="../../../javax/media/j3d/Switch.html" title="class in javax.media.j3d">Switch</A>&nbsp;switchNode)</PRE><DL><DD>Retrieves the index of the specified switch node in this LOD node's list of switches.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>switchNode</CODE> - the switch node to be looked up.<DT><B>Returns:</B><DD>the index of the specified switch node; returns -1 if the object is not in the list.<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="removeSwitch(javax.media.j3d.Switch)"><!-- --></A><H3>removeSwitch</H3><PRE>public void <B>removeSwitch</B>(<A HREF="../../../javax/media/j3d/Switch.html" title="class in javax.media.j3d">Switch</A>&nbsp;switchNode)</PRE><DL><DD>Removes the specified switch node from this LOD node's list of switches. If the specified object is not in the list, the list is not modified.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>switchNode</CODE> - the switch node to be removed.<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="removeAllSwitches()"><!-- --></A><H3>removeAllSwitches</H3><PRE>public void <B>removeAllSwitches</B>()</PRE><DL><DD>Removes all switch nodes from this LOD node.<P><DD><DL><DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="updateNodeReferences(javax.media.j3d.NodeReferenceTable)"><!-- --></A><H3>updateNodeReferences</H3><PRE>public void <B>updateNodeReferences</B>(<A HREF="../../../javax/media/j3d/NodeReferenceTable.html" title="class in javax.media.j3d">NodeReferenceTable</A>&nbsp;referenceTable)</PRE><DL><DD>Callback used to allow a node to check if any nodes referenced by that node have been duplicated via a call to <code>cloneTree</code>. This method is called by <code>cloneTree</code> after all nodes in the sub-graph have been duplicated. The cloned Leaf node's method will be called and the Leaf node can then look up any node references by using the <code>getNewObjectReference</code> method found in the <code>NodeReferenceTable</code> object.  If a match is found, a reference to the corresponding Node in the newly cloned sub-graph is returned.  If no corresponding reference is found, either a DanglingReferenceException is thrown or a reference to the original node is returned depending on the value of the <code>allowDanglingReferences</code> parameter passed in the <code>cloneTree</code> call. <p> NOTE: Applications should <i>not</i> call this method directly. It should only be called by the cloneTree method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Behavior.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Behavior.html" title="class in javax.media.j3d">Behavior</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>referenceTable</CODE> - a NodeReferenceTableObject that contains the  <code>getNewObjectReference</code> method needed to search for  new object instances.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/NodeReferenceTable.html" title="class in javax.media.j3d"><CODE>NodeReferenceTable</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree()"><CODE>Node.cloneTree()</CODE></A>, <A HREF="../../../javax/media/j3d/DanglingReferenceException.html" title="class in javax.media.j3d"><CODE>DanglingReferenceException</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/Material.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/media/j3d/LOD.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="LOD.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.media.j3d.Node">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>

⌨️ 快捷键说明

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