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

Add a getRawValue/getUnparsedValue to javafx.css.Declaration to aid tool devs

XMLWordPrintable

    • x86_64
    • windows_10

      A DESCRIPTION OF THE PROBLEM :
      There is no way to get to the value that is actually in the stylesheet. The javafx.css.Declaration class encapsulates a property within a rule but the only value available is the parsed value which may require converting.

      Adding a getRawValue or getUnparsedValue to the Declaration class that contains the text value associated with the property would make it easier for users to see what value is actually being applied to the node.

      If performance is an issue then add a new overloaded CSSParser.parse (String, boolean) method where the boolean, when set to true, indicates that the unparsed value should be added to the declaration. The boolean would default to false to retain compatibility with the current release.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: