JDK-8092469 : Remove use of impl_* methods that are related to custom control development
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-05-21
  • Updated: 2015-06-12
  • Resolved: 2013-07-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
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)
Comments
Close it, as verified on 8.0b97 : I don't see mentioned methods named impl_*. And any other similar.
08-07-2013

Public API was added along with RT-21709. public static List<CssMetaData> getClassCssMetaData() public List<CssMetaData> getCssMetaData() public final Set<PseudoClass> getPseudoClassStates() public final void pseudoClassStateChanged(PseudoClass, boolean) These methods are still impl_ and probably don't need to be overridden or used in custom control development. protected Boolean impl_cssGetFocusTraversableInitialValue() protected void impl_notifyLayoutBoundsChanged() public void impl_processCSS(boolean reapply) protected Bounds impl_computeLayoutBounds() protected Pos impl_cssGetAlignmentInitialValue()
22-01-2013