📄 configureduniverse.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(com.sun.j3d.utils.universe.ConfigContainer)">ConfiguredUniverse</A></B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html" title="class in com.sun.j3d.utils.universe">ConfigContainer</A> userConfig)</CODE><BR> Retrieves view-side scenegraph components from the given container to create a universe with one Locale, one or more ViewingPlatforms, and at least one Viewer object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(com.sun.j3d.utils.universe.ConfigContainer, com.sun.j3d.utils.universe.LocaleFactory, javax.media.j3d.HiResCoord)">ConfiguredUniverse</A></B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html" title="class in com.sun.j3d.utils.universe">ConfigContainer</A> userConfig, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory, <A HREF="../../../../../javax/media/j3d/HiResCoord.html" title="class in javax.media.j3d">HiResCoord</A> origin)</CODE><BR> Retrieves view-side scenegraph components from the given container to create a universe with one Locale created from the specified LocaleFactory and origin, one or more ViewingPlatforms, and at least one Viewer object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(int)">ConfiguredUniverse</A></B>(int transformCount)</CODE><BR> Equivalent to <code>SimpleUniverse(int)</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(java.net.URL)">ConfiguredUniverse</A></B>(java.net.URL userConfig)</CODE><BR> Reads the configuration specified by the given URL to create a Locale, one or more ViewingPlatforms, and at least one Viewer object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(java.net.URL, int)">ConfiguredUniverse</A></B>(java.net.URL userConfig, int transformCount)</CODE><BR> Reads the configuration specified by the given URL to create a Locale, one or more ViewingPlatforms with the specified number of transforms, and at least one Viewer object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(java.net.URL, int, boolean)">ConfiguredUniverse</A></B>(java.net.URL userConfig, int transformCount, boolean setVisible)</CODE><BR> Reads the configuration specified by the given URL to create a Locale, one or more ViewingPlatforms with the specified number of transforms, and at least one Viewer object with optional visibility.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(java.net.URL, com.sun.j3d.utils.universe.LocaleFactory)">ConfiguredUniverse</A></B>(java.net.URL userConfig, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory)</CODE><BR> Reads the configuration specified by the given URL to create a Locale using the given LocaleFactory, one or more ViewingPlatforms, and at least one Viewer object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(java.net.URL, com.sun.j3d.utils.universe.LocaleFactory, boolean)">ConfiguredUniverse</A></B>(java.net.URL userConfig, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory, boolean setVisible)</CODE><BR> Reads the configuration specified by the given URL to create a Locale using the given LocaleFactory, one or more ViewingPlatforms, and at least one Viewer object with optional visibility.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(java.net.URL, com.sun.j3d.utils.universe.LocaleFactory, javax.media.j3d.HiResCoord, int, boolean)">ConfiguredUniverse</A></B>(java.net.URL userConfig, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory, <A HREF="../../../../../javax/media/j3d/HiResCoord.html" title="class in javax.media.j3d">HiResCoord</A> origin, int transformCount, boolean setVisible)</CODE><BR> Reads the configuration specified by the given URL to create a Locale using the specified LocaleFactory with the given origin, one or more ViewingPlatforms with the specified number of transforms, and at least one Viewer object with optional visibility.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(com.sun.j3d.utils.universe.ViewingPlatform, com.sun.j3d.utils.universe.Viewer)">ConfiguredUniverse</A></B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A> viewingPlatform, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A> viewer)</CODE><BR> Equivalent to <code>SimpleUniverse(ViewingPlatform, Viewer)</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(com.sun.j3d.utils.universe.ViewingPlatform, com.sun.j3d.utils.universe.Viewer, com.sun.j3d.utils.universe.LocaleFactory)">ConfiguredUniverse</A></B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A> viewingPlatform, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A> viewer, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory)</CODE><BR> Equivalent to <code>SimpleUniverse(ViewingPlatform, Viewer, LocalFactory)</code>.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#cleanup()">cleanup</A></B>()</CODE><BR> Cleanup memory references used by ConfiguredUniverse.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html" title="class in com.sun.j3d.utils.universe">ConfigContainer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getConfigContainer()">getConfigContainer</A></B>()</CODE><BR> Returns a container holding all the objects defined by the configuration file used to create the ConfiguredUniverse.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getConfigURL()">getConfigURL</A></B>()</CODE><BR> Returns the config file URL based on system properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getConfigURL(java.lang.String)">getConfigURL</A></B>(java.lang.String defaultURLString)</CODE><BR> Returns the config file URL based on system properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Map</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getNamedBehaviors()">getNamedBehaviors</A></B>()</CODE><BR> Returns all named ViewPlatformBehaviors defined by the configuration file used to create the ConfiguredUniverse, if any.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Map</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getNamedSensors()">getNamedSensors</A></B>()</CODE><BR> Returns all named Sensors defined by the configuration file used to create the ConfiguredUniverse, if any.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getViewer(int)">getViewer</A></B>(int index)</CODE><BR> Returns the Viewer object specified by the given index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#getViewers()">getViewers</A></B>()</CODE><BR> Returns all of the Viewer objects associated with this scene graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#setVisible(boolean)">setVisible</A></B>(boolean visible)</CODE><BR> Call <code>setVisible()</code> on all AWT components created by this ConfiguredUniverse instance.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.sun.j3d.utils.universe.SimpleUniverse"><!-- --></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.universe.<A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html" title="class in com.sun.j3d.utils.universe">SimpleUniverse</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#addBranchGraph(javax.media.j3d.BranchGroup)">addBranchGraph</A>, <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getCanvas()">getCanvas</A>, <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getCanvas(int)">getCanvas</A>, <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getLocale()">getLocale</A>, <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getPreferredConfiguration()">getPreferredConfiguration</A>, <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getViewer()">getViewer</A>, <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getViewingPlatform()">getViewingPlatform</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.VirtualUniverse"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../../../javax/media/j3d/VirtualUniverse.html" title="class in javax.media.j3d">VirtualUniverse</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#addGraphStructureChangeListener(javax.media.j3d.GraphStructureChangeListener)">addGraphStructureChangeListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#addRenderingErrorListener(javax.media.j3d.RenderingErrorListener)">addRenderingErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#addShaderErrorListener(javax.media.j3d.ShaderErrorListener)">addShaderErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#getAllLocales()">getAllLocales</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#getJ3DThreadPriority()">getJ3DThreadPriority</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#getProperties()">getProperties</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#numLocales()">numLocales</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeAllLocales()">removeAllLocales</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeGraphStructureChangeListener(javax.media.j3d.GraphStructureChangeListener)">removeGraphStructureChangeListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeLocale(javax.media.j3d.Locale)">removeLocale</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeRenderingErrorListener(javax.media.j3d.RenderingErrorListener)">removeRenderingErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeShaderErrorListener(javax.media.j3d.ShaderErrorListener)">removeShaderErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#setJ3DThreadPriority(int)">setJ3DThreadPriority</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -