org.fife.ui.app
Class ExtendedLookAndFeelInfo
java.lang.Object
javax.swing.UIManager.LookAndFeelInfo
org.fife.ui.app.ExtendedLookAndFeelInfo
public class ExtendedLookAndFeelInfo
- extends javax.swing.UIManager.LookAndFeelInfo
Information about a 3rd party Look and Feel in a JAR file.
- Version:
- 1.0
- Author:
- Robert Futrell
Constructor Summary |
ExtendedLookAndFeelInfo(java.lang.String name,
java.lang.String className,
java.lang.String jarFiles)
Constructor. |
Method Summary |
java.lang.String |
getJarFiles()
Returns the JAR files containing this Look and Feel. |
java.net.URL[] |
getURLs(java.lang.String root)
Returns a URL array specifying the JAR files containing this Look and
Feel. |
Methods inherited from class javax.swing.UIManager.LookAndFeelInfo |
getClassName, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExtendedLookAndFeelInfo
public ExtendedLookAndFeelInfo(java.lang.String name,
java.lang.String className,
java.lang.String jarFiles)
- Constructor.
- Parameters:
name
- The name of the Look and Feel.className
- The name of the main class of the Look and Feel.jarFiles
- The JAR file(s) containing the Look and Feel. This is a
comma-separated set of paths to the JARs that are relative to the
GUI application using this Look.
getJarFiles
public java.lang.String getJarFiles()
- Returns the JAR files containing this Look and Feel.
- Returns:
- The JAR files. These are comma-separated paths relative to a
GUI application's install location.
- See Also:
GUIApplication.getInstallLocation()
getURLs
public java.net.URL[] getURLs(java.lang.String root)
throws java.net.MalformedURLException
- Returns a URL array specifying the JAR files containing this Look and
Feel.
- Parameters:
root
- The root directory that the JAR file paths are assumed to
be relative to.
- Returns:
- A URL array for the JAR files. This will never be
null
.
- Throws:
java.net.MalformedURLException
- This should never happen.- See Also:
getJarFiles()
,
GUIApplication.getInstallLocation()