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 java.io.File |
resource |
defaultIconName, defaultTheme, description, groupsDescriptions, iconList, id, logger, name, subgroupsDescriptions
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(java.lang.Object resource)
Load the icons of the theme
|
boolean |
matchID(java.lang.String id) |
addGroupImage, addSubgroupImage, exists, export, get, get, getDefault, getDefaultIcon, getDescription, getGroupDescription, getGroupImages, getID, getName, getNoIcon, getSubgroupDescription, getSubgroupImages, getThemeIcon, getThemeIcons, isMyIcon, iterator, register, register, register, register, registerDefault, registerDefault, registerDefault, registerDefault, setDefault, setDefaultIcon, setDefaultIcon, setDefaultIcon, setDescription, setGroupDescription, setID, setName, setSubgroupDescription, toString
protected java.io.File resource
protected PackageInfo packageInfo
public FolderIconTheme(IconTheme def)
def.
- The default icon themepublic void load(java.lang.Object resource) throws java.lang.IllegalArgumentException
BaseIconTheme
load
in interface IconTheme
load
in class BaseIconTheme
java.lang.IllegalArgumentException
protected void deferredLoad()
BaseIconTheme
deferredLoad
in class BaseIconTheme
public boolean matchID(java.lang.String id)
matchID
in interface IconTheme
matchID
in class BaseIconTheme