< prev index next >

apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java

Print this page

        

*** 84,109 **** public static final String MODENA_TOUCH_HIGHCONTRAST_YELLOWONBLACK_STYLESHEET = "com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch-highContrast-yellowOnBlack.css"; //NOI18N // Deprecated stuff in Node // // RT-21247 : Promote impl_getAllParentStylesheets to public API public static Group createGroupWithNullParentStylesheets() { return new Group() { ! @Override ! public List<String> impl_getAllParentStylesheets() { ! return null; ! } }; } // // RT-21096 : Promote impl_getStyleMap / impl_setStyleMap to public API public static void setStyleMap(Node node, ObservableMap<StyleableProperty<?>, List<javafx.css.Style>> map) { ! node.impl_setStyleMap(map); } // // RT-21096 : Promote impl_getStyleMap / impl_setStyleMap to public API public static Map<StyleableProperty<?>, List<Style>> getStyleMap(Node node) { ! return node.impl_findStyles(null); } public static void reapplyCSS(Parent parent, String stylesheetPath) { assert parent != null; --- 84,113 ---- public static final String MODENA_TOUCH_HIGHCONTRAST_YELLOWONBLACK_STYLESHEET = "com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch-highContrast-yellowOnBlack.css"; //NOI18N // Deprecated stuff in Node // // RT-21247 : Promote impl_getAllParentStylesheets to public API public static Group createGroupWithNullParentStylesheets() { + System.err.println("Error: impl_getAllParentStylesheets is no longer publicly accessible"); return new Group() { ! // @Override ! // public List<String> impl_getAllParentStylesheets() { ! // return null; ! // } }; } // // RT-21096 : Promote impl_getStyleMap / impl_setStyleMap to public API public static void setStyleMap(Node node, ObservableMap<StyleableProperty<?>, List<javafx.css.Style>> map) { ! // node.impl_setStyleMap(map); ! System.err.println("Error: impl_setStyleMap is no longer publicly accessible"); } // // RT-21096 : Promote impl_getStyleMap / impl_setStyleMap to public API public static Map<StyleableProperty<?>, List<Style>> getStyleMap(Node node) { ! // return node.impl_findStyles(null); ! System.err.println("Error: findStyles is no longer publicly accessible"); ! return null; } public static void reapplyCSS(Parent parent, String stylesheetPath) { assert parent != null;
*** 129,139 **** } } @SuppressWarnings("rawtypes") public static List<Style> getMatchingStyles(CssMetaData cssMetaData, Styleable styleable) { ! return Node.impl_getMatchingStyles(cssMetaData, styleable); } // Deprecated stuff in Parent // Deprecated stuff in FXMLLoader --- 133,145 ---- } } @SuppressWarnings("rawtypes") public static List<Style> getMatchingStyles(CssMetaData cssMetaData, Styleable styleable) { ! // return Node.impl_getMatchingStyles(cssMetaData, styleable); ! System.err.println("Error: impl_getMatchingStyles is no longer publicly accessible"); ! return null; } // Deprecated stuff in Parent // Deprecated stuff in FXMLLoader
< prev index next >