List of usage examples for javafx.scene.layout Pane getId
public final String getId()
From source file:sudoku.controller.ViewController.java
public void attachEventHandlers(ArrayList<Pane> cells) { for (Pane cell : cells) { cell.setOnMouseClicked(e -> { System.out.println(cell.getId()); });/*from w w w. ja v a 2 s. c o m*/ } }