All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.basic.BasicFactory
java.lang.Object
|
+----com.sun.java.swing.UIFactory
|
+----com.sun.java.swing.basic.BasicFactory
- public class BasicFactory
- extends UIFactory
Win32-like UI Factory. This factory exists mainly as a means of loading
resources, such as the factory's properties file, from a packaged
location. All resources should be in the same directory as this factory
class.
Note: all settings are stored in the BasicFactory.properties file.
-
BasicFactory()
-
-
getFactoryName()
- Returns the name of the current UI Factory, if any.
-
getPropertiesFile()
- Returns the name of the properties file used to define this
UI factory.
-
getResourceDirectory()
- Returns the subdirectory which contains file resources used by
this UI factory, such as graphics files.
BasicFactory
public BasicFactory()
getFactoryName
public String getFactoryName()
- Returns the name of the current UI Factory, if any.
- Overrides:
- getFactoryName in class UIFactory
getPropertiesFile
public String getPropertiesFile()
- Returns the name of the properties file used to define this
UI factory.
- Overrides:
- getPropertiesFile in class UIFactory
getResourceDirectory
public String getResourceDirectory()
- Returns the subdirectory which contains file resources used by
this UI factory, such as graphics files.
- Overrides:
- getResourceDirectory in class UIFactory
All Packages Class Hierarchy This Package Previous Next Index