Package com.sun.j3d.utils.universe
Interface LocaleFactory
public interface LocaleFactory
This 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:
-
Method Summary
Modifier and TypeMethodDescriptioncreateLocale
(VirtualUniverse universe) Creates a new Locale object at (0, 0, 0) in the specified universe.createLocale
(VirtualUniverse universe, HiResCoord hiRes) Creates a new Locale object at the specified high resolution coordinate in the specified universe.
-
Method Details
-
createLocale
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
Creates a new Locale object at (0, 0, 0) in the specified universe.- Parameters:
universe
- the VirtualUniverse in which to create the Locale
-