Interface DefaultLauncherIcon
- All Superinterfaces:
LauncherIcon
Default application launcher icon.
Default icon is loaded from the resources of
module.
invalid reference
jdk.jpackage
Use INSTANCE field to get an instance of this type.
-
Nested Class Summary
Nested Classes -
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
-