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

📄 configureduniverse.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 ConfiguredUniverse instance.<p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - boolean to be passed to the <code>setVisible()</code>  calls on the window components created by this  ConfiguredUniverse instance</DL></DD></DL><HR><A NAME="getConfigURL()"><!-- --></A><H3>getConfigURL</H3><PRE>public static java.net.URL <B>getConfigURL</B>()</PRE><DL><DD>Returns the config file URL based on system properties.  This is equivalent to calling <code>ConfigContainer.getConfigURL()</code>.  The current implementation of this method parses the j3d.configURL property as a URL string.  For example, the following command line would specify that the config file is taken from the file "j3dconfig" in the current directory: <ul> <code>java -Dj3d.configURL=file:j3dconfig ...</code> </ul><P><DD><DL><DT><B>Returns:</B><DD>the URL of the config file; null is returned if no valid  URL is defined by the system properties</DL></DD></DL><HR><A NAME="getConfigURL(java.lang.String)"><!-- --></A><H3>getConfigURL</H3><PRE>public static java.net.URL <B>getConfigURL</B>(java.lang.String&nbsp;defaultURLString)</PRE><DL><DD>Returns the config file URL based on system properties.  This is the same as calling <code>ConfigContainer.getConfigURL(String)</code>.  The current implementation of this method parses the j3d.configURL property as a URL string.  For example, the following command line would specify that the config file is taken from the file "j3dconfig" in the current directory: <ul> <code>java -Dj3d.configURL=file:j3dconfig ...</code> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>defaultURLString</CODE> - the default string used to construct  the URL if the appropriate system properties are not defined<DT><B>Returns:</B><DD>the URL of the config file; null is returned if no  valid URL is defined either by the system properties or the  default URL string</DL></DD></DL><HR><A NAME="getNamedSensors()"><!-- --></A><H3>getNamedSensors</H3><PRE>public java.util.Map <B>getNamedSensors</B>()</PRE><DL><DD>Returns all named Sensors defined by the configuration file used to create the ConfiguredUniverse, if any.  Equivalent to <code>getConfigContainer().getNamedSensors()</code>.<p> With the sole exception of the Sensor assigned to the head tracker, none of the Sensors defined in the configuration file are placed into the Sensor array maintained by PhysicalEnvironment.  The head tracker Sensor is the only one read by the Java 3D core and must generate reads with a full 6 degrees of freedom (3D position and 3D orientation).<p>  Other Sensors need not generate reads with a full 6 degrees of freedom, although their reads must be expressed using Transform3D.  Some joysticks may provide only 2D relative X and Y axis movement; dials, levers, and sliders are 1D devices, and some devices may combine dials and levers to generate 3D positional data.<p> The index names to identify left / right / dominant / non-dominant hand Sensors in the PhysicalEnvironement Sensor array are not adequate to distinguish these differences, so this method allows applications to look up Sensors based on the names bound to them in the configuration file.  There are no set rules on naming.  Applications that use Sensors may set up conventions for generic devices such as "mouse6D" or "joystick2D" or specific product names.<p><P><DD><DL><DT><B>Returns:</B><DD>read-only Map which maps Sensor names to the associated Sensors,  or null if no Sensors have been named</DL></DD></DL><HR><A NAME="getNamedBehaviors()"><!-- --></A><H3>getNamedBehaviors</H3><PRE>public java.util.Map <B>getNamedBehaviors</B>()</PRE><DL><DD>Returns all named ViewPlatformBehaviors defined by the configuration file used to create the ConfiguredUniverse, if any.  Equivalent to <code>getConfigContainer().getNamedViewPlatformBehaviors()</code>.<p><P><DD><DL><DT><B>Returns:</B><DD>read-only Map which maps behavior names to the associated  ViewPlatformBehavior instances, or null if none have been named.<DT><B>Since:</B></DT>  <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="getConfigContainer()"><!-- --></A><H3>getConfigContainer</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html" title="class in com.sun.j3d.utils.universe">ConfigContainer</A> <B>getConfigContainer</B>()</PRE><DL><DD>Returns a container holding all the objects defined by the configuration file used to create the ConfiguredUniverse.<P><DD><DL><DT><B>Returns:</B><DD>the container<DT><B>Since:</B></DT>  <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="cleanup()"><!-- --></A><H3>cleanup</H3><PRE>public void <B>cleanup</B>()</PRE><DL><DD>Cleanup memory references used by ConfiguredUniverse.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#cleanup()">cleanup</A></CODE> in class <CODE><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html" title="class in com.sun.j3d.utils.universe">SimpleUniverse</A></CODE></DL></DD><DD><DL><DT><B>Since:</B></DT>  <DD>Java 3D 1.3.1</DD></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="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html" title="class in com.sun.j3d.utils.universe"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/sun/j3d/utils/universe/ConfiguredUniverse.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ConfiguredUniverse.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_com.sun.j3d.utils.universe.SimpleUniverse">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 + -