Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8099220

add effects to desktop styles

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx1.3
    • javafx

      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.

            dgrieve David Grieve
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: