Interface DefaultLauncherIcon
- All Superinterfaces:
LauncherIcon
Default application launcher icon.
Default icon is either loaded from the resources of jdk.jpackage module or picked from the resource directory.
Use INSTANCE field to get an instance of this type.
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Optional<DefaultLauncherIcon> fromLauncherIcon(LauncherIcon icon) Returns the given icon asDefaultLauncherIcontype or an emptyOptionalinstance if the given icon object is not an instance ofDefaultLauncherIcontype.
-
Field Details
-
INSTANCE
Singleton.
-
-
Method Details
-
fromLauncherIcon
Returns the given icon asDefaultLauncherIcontype or an emptyOptionalinstance if the given icon object is not an instance ofDefaultLauncherIcontype.- Parameters:
icon- application launcher icon object ornull- Returns:
- the given icon as
DefaultLauncherIcontype or an emptyOptionalinstance
-