Created
July 25, 2013 11:40
-
-
Save HanSolo/6078919 to your computer and use it in GitHub Desktop.
A JavaScript file that will be used to configure a JavaFX8 application at runtime by using the Nashorn scripting engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Lcd = Packages.eu.hansolo.enzo.lcd.Lcd; | |
var obj = new Object(); | |
obj.configLcd = function(lcd) { | |
lcd.value = 0; | |
lcd.lowerRightText = 'config'; | |
lcd.styleClass.setAll("lcd", "lcd-blue"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment