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

📄 orbitbehavior.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="REVERSE_ROTATE"><!-- --></A><H3>REVERSE_ROTATE</H3><PRE>public static final int <B>REVERSE_ROTATE</B></PRE><DL><DD>Constructor flag to reverse the rotate behavior<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.REVERSE_ROTATE">Constant Field Values</A></DL></DL><HR><A NAME="REVERSE_TRANSLATE"><!-- --></A><H3>REVERSE_TRANSLATE</H3><PRE>public static final int <B>REVERSE_TRANSLATE</B></PRE><DL><DD>Constructor flag to reverse the translate behavior<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.REVERSE_TRANSLATE">Constant Field Values</A></DL></DL><HR><A NAME="REVERSE_ZOOM"><!-- --></A><H3>REVERSE_ZOOM</H3><PRE>public static final int <B>REVERSE_ZOOM</B></PRE><DL><DD>Constructor flag to reverse the zoom behavior<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.REVERSE_ZOOM">Constant Field Values</A></DL></DL><HR><A NAME="REVERSE_ALL"><!-- --></A><H3>REVERSE_ALL</H3><PRE>public static final int <B>REVERSE_ALL</B></PRE><DL><DD>Constructor flag to reverse all the behaviors<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.REVERSE_ALL">Constant Field Values</A></DL></DL><HR><A NAME="STOP_ZOOM"><!-- --></A><H3>STOP_ZOOM</H3><PRE>public static final int <B>STOP_ZOOM</B></PRE><DL><DD>Constructor flag that indicates zoom should stop when it reaches the minimum orbit radius set by setMinRadius().  The minimus radius default is 0.0.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.STOP_ZOOM">Constant Field Values</A></DL></DL><HR><A NAME="DISABLE_ROTATE"><!-- --></A><H3>DISABLE_ROTATE</H3><PRE>public static final int <B>DISABLE_ROTATE</B></PRE><DL><DD>Constructor flag to disable rotate<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.DISABLE_ROTATE">Constant Field Values</A></DL></DL><HR><A NAME="DISABLE_TRANSLATE"><!-- --></A><H3>DISABLE_TRANSLATE</H3><PRE>public static final int <B>DISABLE_TRANSLATE</B></PRE><DL><DD>Constructor flag to disable translate<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.DISABLE_TRANSLATE">Constant Field Values</A></DL></DL><HR><A NAME="DISABLE_ZOOM"><!-- --></A><H3>DISABLE_ZOOM</H3><PRE>public static final int <B>DISABLE_ZOOM</B></PRE><DL><DD>Constructor flag to disable zoom<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.DISABLE_ZOOM">Constant Field Values</A></DL></DL><HR><A NAME="PROPORTIONAL_ZOOM"><!-- --></A><H3>PROPORTIONAL_ZOOM</H3><PRE>public static final int <B>PROPORTIONAL_ZOOM</B></PRE><DL><DD>Constructor flag to use proportional zoom, which determines how much you zoom based on view's distance from the center of rotation.  The percentage of distance that the viewer zooms is determined by the zoom factor.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.sun.j3d.utils.behaviors.vp.OrbitBehavior.PROPORTIONAL_ZOOM">Constant Field Values</A></DL></DL><!-- ========= 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="OrbitBehavior()"><!-- --></A><H3>OrbitBehavior</H3><PRE>public <B>OrbitBehavior</B>()</PRE><DL><DD>Parameterless constructor for this behavior.  This is intended for use by ConfiguredUniverse, which requires such a constructor for configurable behaviors.  The Canvas3D used to listen for mouse and mouse motion events is obtained from the superclass setViewingPlatform() method.<P><DL><DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DL><HR><A NAME="OrbitBehavior(javax.media.j3d.Canvas3D)"><!-- --></A><H3>OrbitBehavior</H3><PRE>public <B>OrbitBehavior</B>(<A HREF="../../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A>&nbsp;c)</PRE><DL><DD>Creates a new OrbitBehavior<P><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The Canvas3D to add the behavior to</DL></DL><HR><A NAME="OrbitBehavior(javax.media.j3d.Canvas3D, int)"><!-- --></A><H3>OrbitBehavior</H3><PRE>public <B>OrbitBehavior</B>(<A HREF="../../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A>&nbsp;c,                     int&nbsp;flags)</PRE><DL><DD>Creates a new OrbitBehavior<P><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The Canvas3D to add the behavior to<DD><CODE>flags</CODE> - The option flags</DL></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="processAWTEvents(java.awt.AWTEvent[])"><!-- --></A><H3>processAWTEvents</H3><PRE>protected void <B>processAWTEvents</B>(java.awt.AWTEvent[]&nbsp;events)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/ViewPlatformAWTBehavior.html#processAWTEvents(java.awt.AWTEvent[])">ViewPlatformAWTBehavior</A></CODE></B></DD><DD>This is called once per frame if there are any AWT events to process. The <code>motion</code> variable will be true when the method is called. If it is true when the method returns integrateTransforms will be called immediately. The AWTEvents are presented in the array in the order in which they arrived from AWT.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/ViewPlatformAWTBehavior.html#processAWTEvents(java.awt.AWTEvent[])">processAWTEvents</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/ViewPlatformAWTBehavior.html" title="class in com.sun.j3d.utils.behaviors.vp">ViewPlatformAWTBehavior</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="processMouseEvent(java.awt.event.MouseEvent)"><!-- --></A><H3>processMouseEvent</H3><PRE>protected void <B>processMouseEvent</B>(java.awt.event.MouseEvent&nbsp;evt)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setViewingPlatform(com.sun.j3d.utils.universe.ViewingPlatform)"><!-- --></A><H3>setViewingPlatform</H3><PRE>public void <B>setViewingPlatform</B>(<A HREF="../../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A>&nbsp;vp)</PRE><DL><DD>Sets the ViewingPlatform for this behavior.  This method is called by the ViewingPlatform. If a sub-calls overrides this method, it must call super.setViewingPlatform(vp). NOTE: Applications should <i>not</i> call this method.<P><DD><DL>

⌨️ 快捷键说明

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