net.maizegenetics.tassel.TASSELGUI.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.tassel
import javafx.application.Application
import javafx.application.Platform
import javafx.event.ActionEvent
import javafx.event.EventHandler
import javafx.geometry.Orientation
import javafx.scene.Scene
import javafx.scene.control.*
import javafx.scene.image.ImageView
import javafx.scene.input.KeyCombination
import javafx.scene.layout.*
import javafx.scene.paint.Paint
import javafx.stage.Stage
import javafx.stage.WindowEvent
import net.maizegenetics.analysis.data.FileLoadPlugin
import net.maizegenetics.analysis.data.GenotypeSummaryPlugin
import net.maizegenetics.dna.factor.FeatureTable
import net.maizegenetics.gui.*
import net.maizegenetics.plugindef.AbstractPlugin
import net.maizegenetics.plugindef.Datum
import net.maizegenetics.plugindef.Plugin
import net.maizegenetics.util.TableReport
import org.apache.logging.log4j.LogManager
import java.util.*
/**
* @author Terry Casstevens
* Created November 01, 2018
*/
private val myLogger = LogManager.getLogger(TASSELGUI::class.java)
private val EMPTY_NODE = StackPane().also {
it.background = Background(BackgroundFill(Paint.valueOf("grey"), null, null))
it.children += ImageView("/images/Tassel_Logo.png")
}
class TASSELGUI : Application() {
lateinit var primaryStage: Stage
private val myDataTree = DataTree()
private val myInfo = InfoViewer()
private val myMenuItemHash = HashMap