title: how get column index and row index in gridpane of javafx
body: <p>how get column index and row index in <code>GridPane</code> of JavaFX. see the code below</p>
  
  <pre class="lang-java prettyprint-override"><code>Text text1 = new Text("Text 1");
  Text text2 = new Text("Text 2");
  StackPane root = new StackPane();
  GridPane gridPane = new GridPane();
  gridPane.add(text1, 0, 0);
  gridPane.add(text2, 1, 0);
  </code></pre>
  
  <p>When Mouse Entered On text1 I want to get the column index and row index of GridPane</p>
  
  <pre class="lang-java prettyprint-override"><code>text1.setOnMouseEntered(new EventHandler&lt;MouseEvent&gt;() {
      @Override
      public void handle(MouseEvent e) {
          //want to get column index =0 and row index=0
      }
  });
  </code></pre>
  
  <p>Please let me know.</p>