net.maizegenetics.gui.MainControls.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel6 Show documentation
Show all versions of tassel6 Show documentation
TASSEL 6 is a software package to evaluate traits association. Feature Tables are at the heart of the package where, a feature is a range of positions or a single position. Row in the that table are taxon.
package net.maizegenetics.gui
import javafx.geometry.Insets
import javafx.geometry.Pos
import javafx.scene.Node
import javafx.scene.layout.StackPane
/**
* @author Terry Casstevens
* Created November 26, 2018
*/
class MainControls {
val view = StackPane()
init {
view.alignment = Pos.CENTER_RIGHT
view.padding = Insets(10.0)
}
fun clear() {
view.children.clear()
}
fun add(vararg children: Node) {
view.children.addAll(children)
}
}