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.


Constructor Index

 o BasicFactory()

Method Index

 o getFactoryName()
Returns the name of the current UI Factory, if any.
 o getPropertiesFile()
Returns the name of the properties file used to define this UI factory.
 o getResourceDirectory()
Returns the subdirectory which contains file resources used by this UI factory, such as graphics files.

Constructors

 o BasicFactory
 public BasicFactory()

Methods

 o getFactoryName
 public String getFactoryName()
Returns the name of the current UI Factory, if any.

Overrides:
getFactoryName in class UIFactory
 o getPropertiesFile
 public String getPropertiesFile()
Returns the name of the properties file used to define this UI factory.

Overrides:
getPropertiesFile in class UIFactory
 o 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