📄 wandviewbehavior.scalelistener6d.html
字号:
<BR> This method is called when a sensor's button is pressed.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.sun.j3d.utils.behaviors.vp.WandViewBehavior.ListenerBase"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.sun.j3d.utils.behaviors.vp.<A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html" title="class in com.sun.j3d.utils.behaviors.vp">WandViewBehavior.ListenerBase</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#conditionViewScale(javax.media.j3d.Transform3D)">conditionViewScale</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#getPhysicalToViewPlatformScale()">getPhysicalToViewPlatformScale</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#getPhysicalToVirtualScale()">getPhysicalToVirtualScale</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#initAction(javax.media.j3d.Sensor)">initAction</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#isActive()">isActive</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#released(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">released</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#transformAboutCenter(javax.media.j3d.Transform3D, javax.vecmath.Point3d, javax.media.j3d.Transform3D)">transformAboutCenter</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#translateTransform(javax.media.j3d.Transform3D, javax.vecmath.Vector3d)">translateTransform</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.sun.j3d.utils.behaviors.sensor.SensorInputAdaptor"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.sun.j3d.utils.behaviors.sensor.<A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorInputAdaptor.html" title="class in com.sun.j3d.utils.behaviors.sensor">SensorInputAdaptor</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorInputAdaptor.html#clicked(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">clicked</A>, <A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorInputAdaptor.html#read(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">read</A></CODE></TD></TR></TABLE> <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, toString, wait, wait, wait</CODE></TD></TR></TABLE> <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="WandViewBehavior.ScaleListener6D(boolean)"><!-- --></A><H3>WandViewBehavior.ScaleListener6D</H3><PRE>public <B>WandViewBehavior.ScaleListener6D</B>(boolean reverse)</PRE><DL><DD>Construct a new scale button listener for a 6DOF sensor.<P><DL><DT><B>Parameters:</B><DD><CODE>reverse</CODE> - if true, scale the view platform smaller; otherwise, scale the view platform larger</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="endAction(javax.media.j3d.Sensor)"><!-- --></A><H3>endAction</H3><PRE>protected void <B>endAction</B>(<A HREF="../../../../../../javax/media/j3d/Sensor.html" title="class in javax.media.j3d">Sensor</A> s)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#endAction(javax.media.j3d.Sensor)">WandViewBehavior.ListenerBase</A></CODE></B></DD><DD>Ends the action. Subclasses must be call this from <code>released</code> or when a 2D valuator enters the deadzone threshold.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#endAction(javax.media.j3d.Sensor)">endAction</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html" title="class in com.sun.j3d.utils.behaviors.vp">WandViewBehavior.ListenerBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - reference to a 6DOF sensor if used by the listener; may be <code>null</code></DL></DD></DL><HR><A NAME="pressed(com.sun.j3d.utils.behaviors.sensor.SensorEvent)"><!-- --></A><H3>pressed</H3><PRE>public void <B>pressed</B>(<A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorEvent.html" title="class in com.sun.j3d.utils.behaviors.sensor">SensorEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorButtonListener.html#pressed(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">SensorButtonListener</A></CODE></B></DD><DD>This method is called when a sensor's button is pressed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorButtonListener.html#pressed(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">pressed</A></CODE> in interface <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorButtonListener.html" title="interface in com.sun.j3d.utils.behaviors.sensor">SensorButtonListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html#pressed(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">pressed</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ListenerBase.html" title="class in com.sun.j3d.utils.behaviors.vp">WandViewBehavior.ListenerBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the sensor event</DL></DD></DL><HR><A NAME="dragged(com.sun.j3d.utils.behaviors.sensor.SensorEvent)"><!-- --></A><H3>dragged</H3><PRE>public void <B>dragged</B>(<A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorEvent.html" title="class in com.sun.j3d.utils.behaviors.sensor">SensorEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorButtonListener.html#dragged(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">SensorButtonListener</A></CODE></B></DD><DD>This method is called with each invocation of the <code>dispatchEvents</code> method of <code>SensorEventAgent</code> if any button bound to the listener is down and has not changed state since the last invocation. The sensor value has not necessarily changed from the last drag event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorButtonListener.html#dragged(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">dragged</A></CODE> in interface <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorButtonListener.html" title="interface in com.sun.j3d.utils.behaviors.sensor">SensorButtonListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorInputAdaptor.html#dragged(com.sun.j3d.utils.behaviors.sensor.SensorEvent)">dragged</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/j3d/utils/behaviors/sensor/SensorInputAdaptor.html" title="class in com.sun.j3d.utils.behaviors.sensor">SensorInputAdaptor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the sensor event</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ScaleListener2D.html" title="class in com.sun.j3d.utils.behaviors.vp"><B>PREV CLASS</B></A> <A HREF="../../../../../../com/sun/j3d/utils/behaviors/vp/WandViewBehavior.TranslationListener2D.html" title="class in com.sun.j3d.utils.behaviors.vp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/sun/j3d/utils/behaviors/vp/WandViewBehavior.ScaleListener6D.html" target="_top"><B>FRAMES</B></A> <A HREF="WandViewBehavior.ScaleListener6D.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_com.sun.j3d.utils.behaviors.vp.WandViewBehavior.ListenerBase">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -