Java 类javafx.application.Preloader.StateChangeNotification.Type 实例源码

项目:javaone2016    文件:OTNPreloader.java   
@Override
public void handleStateChangeNotification(StateChangeNotification info) {
    // FIXME: hide stage only when IS_DESKTOP, when OTN-464 gets solved
    if (!Platform.isAndroid() && Type.BEFORE_START.equals(info.getType())) {
        // On iOS we shouldn't hide the stage, but for now we do it to solve OTN-454
        // This will leave a black screen for a sort while until the new stage is shown 
        stage.hide();
    }
}
项目:MineIDE    文件:MineIDEPreloader.java   
@Override
public void handleStateChangeNotification(final StateChangeNotification stateChangeNotification)
{
    if (stateChangeNotification.getType() == Type.BEFORE_START)
        this.preloaderStage.hide();
}
项目:Gamma-Music-Manager    文件:StartUpLoader.java   
@Override
public void handleStateChangeNotification(StateChangeNotification stateChangeNotification) {
    if (stateChangeNotification.getType() == Type.BEFORE_START) {
        m_preloaderStage.hide();
    }
}
项目:bgfinancas    文件:Splash.java   
@Override
public void handleStateChangeNotification(StateChangeNotification stateChangeNotification) {
    if (stateChangeNotification.getType() == Type.BEFORE_START) {
        palco.hide();
    }
}