TextureSync/client/src/main/kotlin/org/hso/texturesyncclient/view/startupView/StartupViewController.kt

26 lines
483 B
Kotlin

package org.hso.texturesyncclient.view.startupView
import tornadofx.Controller
class StartupViewController : Controller() {
fun btnConnectAction(txt:String){
println("Connect BTN: $txt")
}
fun labelStatusSetText (txt:String){
val startupView = find(StartupView::class)
startupView.labelStatus.text = txt
}
fun tfServerIPClear (){
val startupView = find(StartupView::class)
startupView.tfServerIP.clear()
}
}