public class IconSetRegistry extends Object
IconSet from the IconSetRegistry collection.
If you are looking for an easy way to render or get an immutable icon, you can use the IconSet.icon(String)| Constructor and Description |
|---|
IconSetRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addIconSet(@NonNull String name,
@NonNull MutableIconSet MutableIconSet)
Add an
MutableIconSet to the collection of IconSetRegistry |
static Map<String,MutableIconSet> |
getAllIconSets()
Get all registered
MutableIconSet by name |
static MutableIconSet |
getIconSet(@NonNull String name)
Get's a registered
MutableIconSet from the collection so you can modify the iconSet
If you just want to render the icon take a look at the IconSet |
static void |
removeAllIconSets()
Remove all
MutableIconSet from the IconSetRegistry |
static void |
removeIconSet(@NonNull String name)
Remove an
MutableIconSet from the IconSetRegistry |
public static MutableIconSet getIconSet(@NonNull @NonNull String name)
MutableIconSet from the collection so you can modify the iconSet
If you just want to render the icon take a look at the IconSetname - of the MutableIconSet to addMutableIconSetpublic static Map<String,MutableIconSet> getAllIconSets()
MutableIconSet by nameMutableIconSetpublic static void addIconSet(@NonNull
@NonNull String name,
@NonNull
@NonNull MutableIconSet MutableIconSet)
MutableIconSet to the collection of IconSetRegistryname - the MutableIconSet will be registered underMutableIconSet - to registerpublic static void removeIconSet(@NonNull
@NonNull String name)
MutableIconSet from the IconSetRegistryname - public static void removeAllIconSets()
MutableIconSet from the IconSetRegistryCopyright © 2020. All rights reserved.