< prev index next >

modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -90,11 +90,10 @@
 import com.sun.javafx.geom.Shape;
 import com.sun.javafx.geom.transform.BaseTransform;
 import com.sun.javafx.perf.PerformanceTracker;
 import com.sun.javafx.runtime.async.AbstractRemoteResource;
 import com.sun.javafx.runtime.async.AsyncOperationListener;
-import com.sun.javafx.scene.text.HitInfo;
 import com.sun.javafx.scene.text.TextLayoutFactory;
 import com.sun.javafx.sg.prism.NGNode;
 import com.sun.javafx.tk.AppletWindow;
 import com.sun.javafx.tk.CompletionListener;
 import com.sun.javafx.tk.FileChooserType;

@@ -1045,18 +1044,10 @@
         }
 
         return elements.toArray(new PathElement[elements.size()]);
     }
 
-    @Override public HitInfo convertHitInfoToFX(Object hit) {
-        Integer textHitPos = (Integer) hit;
-        HitInfo hitInfo = new HitInfo();
-        hitInfo.setCharIndex(textHitPos);
-        hitInfo.setLeading(true);
-        return hitInfo;
-    }
-
     @Override public Filterable toFilterable(Image img) {
         return PrImage.create((com.sun.prism.Image) img.impl_getPlatformImage());
     }
 
     @Override public FilterContext getFilterContext(Object config) {
< prev index next >