Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092194 ☂ Improve support for building custom UI controls
  3. JDK-8092469

Remove use of impl_* methods that are related to custom control development

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      To truly allow for developers to create custom controls, we have to give them the full power of CSS. However, at present much of this API is exposed only via impl_* methods, which are @deprecated and therefore developers are strongly recommended against using. We need to determine whether this API is ready to be made public, and if so, make it public as part of the push to provide better custom controls API (see RT-21596).

      Draft list of impl methods exposed/inherited in Controls code that we may wish to make public API:

           public static List<StyleableProperty> impl_CSS_STYLEABLES()
           public List<StyleableProperty> impl_getStyleableProperties()
           public long impl_getPseudoClassState()
           protected Boolean impl_cssGetFocusTraversableInitialValue()
           protected void impl_notifyLayoutBoundsChanged()
           public void impl_processCSS(boolean reapply)
           protected Bounds impl_computeLayoutBounds()
           protected Pos impl_cssGetAlignmentInitialValue()
           protected impl_pseudoClassStateChanged(String)

        Attachments

          Activity

            People

            Assignee:
            dgrieve David Grieve
            Reporter:
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: