< prev index next >

modules/controls/src/main/java/javafx/scene/control/TextInputControl.java

Print this page

        

@@ -67,10 +67,11 @@
 import java.util.Collections;
 import java.util.List;
 
 import com.sun.javafx.util.Utils;
 import com.sun.javafx.binding.ExpressionHelper;
+import com.sun.javafx.scene.NodeHelper;
 import javafx.util.StringConverter;
 
 /**
  * Abstract base class for text input controls.
  * @since JavaFX 2.0

@@ -201,11 +202,11 @@
 
                 @Override
                 public void applyStyle(StyleOrigin newOrigin, Font value) {
 
                     //
-                    // RT-20727 - if CSS is setting the font, then make sure invalidate doesn't call impl_reapplyCSS
+                    // RT-20727 - if CSS is setting the font, then make sure invalidate doesn't call NodeHelper.reapplyCSS
                     //
                     try {
                         // super.applyStyle calls set which might throw if value is bound.
                         // Have to make sure fontSetByCss is reset.
                         fontSetByCss = true;

@@ -232,11 +233,11 @@
                 protected void invalidated() {
                     // RT-20727 - if font is changed by calling setFont, then
                     // css might need to be reapplied since font size affects
                     // calculated values for styles with relative values
                     if(fontSetByCss == false) {
-                        TextInputControl.this.impl_reapplyCSS();
+                        NodeHelper.reapplyCSS(TextInputControl.this);
                     }
                 }
 
                 @Override
                 public CssMetaData<TextInputControl,Font> getCssMetaData() {
< prev index next >