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 asDefaultLauncherIcon
type or an emptyOptional
instance if the given icon object is not an instance ofDefaultLauncherIcon
type.
-
Field Details
-
INSTANCE
Singleton.
-
-
Method Details
-
fromLauncherIcon
Returns the given icon asDefaultLauncherIcon
type or an emptyOptional
instance if the given icon object is not an instance ofDefaultLauncherIcon
type.- Parameters:
icon
- application launcher icon object ornull
- Returns:
- the given icon as
DefaultLauncherIcon
type or an emptyOptional
instance
-