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

26 lines
467 B
Kotlin
Raw Normal View History

package org.hso.texturesyncclient.view.startupView
import tornadofx.Controller
2019-05-01 22:57:03 +02:00
class StartupViewController : Controller() {
2019-04-30 18:50:41 +02:00
fun btnConnectAction(txt:String){
println("Connect BTN: $txt")
}
fun labelStatusSetText (txt:String){
val startupView = find(StartupView::class)
startupView.labelStatus.text = txt
}
2019-04-30 18:50:41 +02:00
fun tfServerIPClear (){
val startupView = find(StartupView::class)
startupView.tfServerIP.clear()
}
2019-05-01 22:57:03 +02:00
}