List of usage examples for javafx.scene.control TextInputControl setStyle
public final void setStyle(String value)
From source file:de.pixida.logtest.designer.automaton.AutomatonEdge.java
private void setMonospaceIfDesired(final Monospace monospace, final TextInputControl inputField) { if (monospace == Monospace.YES) { inputField.setStyle("-fx-font-family: monospace"); }/* w ww .jav a 2 s . com*/ }