Examples of onScreenClose()


Examples of org.getspout.spoutapi.gui.PopupScreen.onScreenClose()

  private void handleScreenCloseCancelled(SpoutPlayer player, ScreenCloseEvent e, boolean update) {
    this.action = (byte) ScreenAction.Close.getId();
    PopupScreen screen = player.getMainScreen().getActivePopup();
    if (screen != null) {
      if (update) {
        screen.onScreenClose(e);
      }
      if (!e.isCancelled() && ScreenType.getType(this.screen) == ScreenType.CUSTOM_SCREEN) {
        handleScreenClose(player, e, false);
        return;
      }
View Full Code Here

Examples of org.getspout.spoutapi.gui.PopupScreen.onScreenClose()

  }

  private void handleScreenClose(SpoutPlayer player, ScreenCloseEvent e, boolean update) {
    PopupScreen p = player.getMainScreen().getActivePopup();
    if (update && p != null){
      p.onScreenClose(e);
    }
    if (e.isCancelled()) {
      handleScreenCloseCancelled(player, e, false);
      return;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.