Package limelight.ui.events.stage

Examples of limelight.ui.events.stage.StageClosedEvent


  @Test
  public void closedStagesAreRemoved() throws Exception
  {
    theater.add(defaultStage);

    new StageClosedEvent().dispatch(defaultStage);

    assertEquals(null, theater.get("default"));
    assertEquals(null, theater.getActiveStage());
  }
View Full Code Here


  @Test
  public void tryToCloseTheProductionWhenEmptied() throws Exception
  {
    theater.add(defaultStage);
    new StageClosedEvent().dispatch(defaultStage);

    assertEquals(true, production.closeAttempted);
  }
View Full Code Here

    MockStage stage2 = new MockStage("two");
    theater.add(defaultStage);
    theater.add(stage2);
    stage2.setVital(true);

    new StageClosedEvent().dispatch(defaultStage);

    assertEquals(false, production.closeAttempted);
  }
View Full Code Here

    closing = true;
    new StageClosingEvent().dispatch(this);
    hide();
    setScene(null);
    doClose();
    new StageClosedEvent().dispatch(this);
  }
View Full Code Here

TOP

Related Classes of limelight.ui.events.stage.StageClosedEvent

Copyright © 2018 www.massapicom. 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.