Package com.sun.j3d.utils.universe
Interface LocaleFactory
-
public interface LocaleFactoryThis interface defines a factory for creating Locale objects in a SimpleUniverse. Implementations of the createLocale methods in this interface should construct a new Locale object from the specified parameters. This class is used by the SimpleUniverse class to construct the default Locale used to hold the view and content branch graphs.- Since:
- Java 3D 1.3
- See Also:
Locale,ConfiguredUniverse,SimpleUniverse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalecreateLocale(VirtualUniverse universe)Creates a new Locale object at (0, 0, 0) in the specified universe.LocalecreateLocale(VirtualUniverse universe, HiResCoord hiRes)Creates a new Locale object at the specified high resolution coordinate in the specified universe.
-
-
-
Method Detail
-
createLocale
Locale createLocale(VirtualUniverse universe, HiResCoord hiRes)
Creates a new Locale object at the specified high resolution coordinate in the specified universe.- Parameters:
universe- the VirtualUniverse in which to create the LocalehiRes- the high resolution coordinate that defines the origin of the Locale
-
createLocale
Locale createLocale(VirtualUniverse universe)
Creates a new Locale object at (0, 0, 0) in the specified universe.- Parameters:
universe- the VirtualUniverse in which to create the Locale
-
-