public class FolderIconTheme extends BaseIconTheme
loadIcon
and load
. This methods
allows load one icon or all icons in the resource.IconTheme.Icon
Modifier and Type | Field and Description |
---|---|
protected PackageInfo |
packageInfo |
protected File |
resource |
defaultIconName, defaultTheme, description, iconList, id, logger, name
NO_ICON_NAME
Constructor and Description |
---|
FolderIconTheme(IconTheme def)
Constructor.Constructs an Icon Theme with a default one.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deferredLoad()
Override this to load icons on demand instead of
load on the creation of the theme.
|
void |
load(Object resource)
Load the icons of the theme
|
exists, export, get, get, getDefault, getDefaultIcon, getDescription, getID, getName, getNoIcon, getThemeIcon, getThemeIcons, iterator, register, register, register, registerDefault, registerDefault, registerDefault, setDefault, setDefaultIcon, setDefaultIcon, setDefaultIcon, setDescription, setID, setName, toString
protected File resource
protected PackageInfo packageInfo
public FolderIconTheme(IconTheme def)
def.
- The default icon themepublic void load(Object resource) throws IllegalArgumentException
BaseIconTheme
load
in interface IconTheme
load
in class BaseIconTheme
IllegalArgumentException
protected void deferredLoad()
BaseIconTheme
deferredLoad
in class BaseIconTheme