kotlin - Tornadofx: Given that I have a (target) node from an event how do I get the text attribute? -


i new both kotlin , tornadofx. have kotlin / tornadofx based ui has listview populated number of listitems strings related directory structure.

here handle triggered when mouse clicks on listitem. realized e.target gets me node attribute 'text' contains data want. put xyz in code block retrieve text string? appreciated.

fun handlemainlistviewclick(e: event) {     maincontroller.findmainlistitembytext(e.target.xyz) } 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -