List of usage examples for javafx.scene.paint Color LIGHTGREY
Color LIGHTGREY
To view the source code for javafx.scene.paint Color LIGHTGREY.
Click Source Link
From source file:de.pixida.logtest.designer.automaton.AutomatonNode.java
private void updateRect() { String title = ""; if (this.type == Type.INITIAL) { this.setColor(Color.BLUE.desaturate().desaturate().desaturate().desaturate().brighter().brighter()); title += "INITIAL "; } else if (this.type == Type.SUCCESS) { this.setColor(Color.GREEN.desaturate().desaturate().desaturate().desaturate().brighter().brighter()); title += "SUCCESS "; } else if (this.type == Type.FAILURE) { this.setColor(Color.RED.desaturate().desaturate().desaturate().desaturate().brighter().brighter()); title += "FAILURE "; } else {//from w w w . j a v a 2 s . com this.setColor(Color.LIGHTGREY); } title += "State"; if (this.wait) { title += " | wait!"; } this.setTitle(title); }