package Ġz emo a . controllers Ċ Ċ import Ġjavafx . event . ActionEvent Ċ import Ġjavafx . f xml . FXML Ċ import Ġorg . slf 4 j . LoggerFactory Ċ import Ġorg . springframework . context . support . Abstract ApplicationContext Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġz emo a . App Starting Event Ċ import Ġz emo a . states . navigation . Navigation Event Ċ Ċ @ Component Ċ class ĠHome Controller ( application Context : ĠAbstract ApplicationContext ): ĠAbstract Controller ( application Context ) Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠLOGGER Ġ= ĠLoggerFactory . getLogger ( HomeController :: class . java ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġ@ FXML ĊĠĠĠ Ġfun ĠonCreate Root Certificate Clicked ( event : ĠAction Event ) Ġ{ ĊĠĠĠĠĠĠĠ ĠLOGGER . debug (" onCreate Root Certificate Clicked ") ĊĠĠĠĠĠĠĠ Ġapplication Context . publish Event ( Navigation Event ( Screen . CREATE _ ROOT _ CERT )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ FXML ĊĠĠĠ Ġfun ĠonCreate Certificate Clicked ( event : ĠAction Event ) Ġ{ ĊĠĠĠĠĠĠĠ ĠLOGGER . debug (" onCreate Certificate Clicked ") ĊĠĠĠĠĠĠĠ Ġapplication Context . publish Event ( Navigation Event ( Screen . CREATE _ CERT )) ĊĠĠĠ Ġ} Ċ } Ċ