Need to make sure effects get into the actual style sheets for the desktop.
The old technique (Marina) was to create separate Skin subclasses for desktop. These desktop skins would apply effects. This was necessary because the common skins need to run on mobile, which does not have any concrete Effect classes, so the addition of concrete Effects needed to be placed into a desktop-specific subclass.
In the new technique, effects are applied via style sheets. Either the desktop can have a separate style sheet that includes the effects, or on mobile effects can simply be ignored if they appear in a style sheet.
The following desktop skin files are obsolete and have been disabled. Effects from these files should be migrated into the style sheets.
javafx-ui-controls/src/com/sun/javafx/scene/control/caspian/ProgressBarDesktopSkin.fx.DISABLED
javafx-ui-controls/src/com/sun/javafx/scene/control/caspian/ProgressIndicatorDesktopSkin.fx.DISABLED
javafx-ui-controls/src/com/sun/javafx/scene/control/caspian/ToolBarDesktopSkin.fx.DISABLED
After this migration is done, these files should be removed from the source tree.
The old technique (Marina) was to create separate Skin subclasses for desktop. These desktop skins would apply effects. This was necessary because the common skins need to run on mobile, which does not have any concrete Effect classes, so the addition of concrete Effects needed to be placed into a desktop-specific subclass.
In the new technique, effects are applied via style sheets. Either the desktop can have a separate style sheet that includes the effects, or on mobile effects can simply be ignored if they appear in a style sheet.
The following desktop skin files are obsolete and have been disabled. Effects from these files should be migrated into the style sheets.
javafx-ui-controls/src/com/sun/javafx/scene/control/caspian/ProgressBarDesktopSkin.fx.DISABLED
javafx-ui-controls/src/com/sun/javafx/scene/control/caspian/ProgressIndicatorDesktopSkin.fx.DISABLED
javafx-ui-controls/src/com/sun/javafx/scene/control/caspian/ToolBarDesktopSkin.fx.DISABLED
After this migration is done, these files should be removed from the source tree.
- duplicates
-
JDK-8092084 Add support for animation in CSS
- Closed