public static class DefaultIconScheme.IconResource extends Object
| Constructor and Description |
|---|
IconResource(String fileName,
String path,
ClassLoader loader)
Creates a new source for icons
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Gets the name of the file with the "key=path" values.
|
ClassLoader |
getLoader()
Gets the
ClassLoader which should be used to load files |
String |
getPath()
Gets the prefix of the paths that are found in the icons file.
|
public IconResource(String fileName, String path, ClassLoader loader)
fileName - the name of the file that contains "key=path" valuespath - the prefix of the paths that are found in the fileloader - the ClassLoader to load the iconspublic String getFileName()
public String getPath()
nullpublic ClassLoader getLoader()
ClassLoader which should be used to load filesCopyright © 2017 Docking Frames. All rights reserved.