Package limelight.ui.model

Examples of limelight.ui.model.FakeScene


  }

  @Test
  public void requiresLayoutAfterConsumableSizeChanges() throws Exception
  {
    FakeScene root = new FakeScene();
    root.add(panel);
    panel.getRoot();
    root.resetLayoutRequired();

    panel.consumableAreaChanged();

    assertEquals(true, root.isLayoutRequired());
  }
View Full Code Here


  @Before
  public void setUp() throws Exception
  {
    image = new Image();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    image.install(new CastEvent(propPanel));
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    dropDown = new DropDown();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    dropDown.install(new CastEvent(propPanel));
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    textBox = new TextBox();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    textBox.install(new CastEvent(propPanel));
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    checkBox = new CheckBox();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    checkBox.install(new CastEvent(propPanel));
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    button = new Button();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    button.install(new CastEvent(propPanel));
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    form = new Form();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    form.install(new CastEvent(propPanel));
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    button = new RadioButton();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    button.install(new CastEvent(propPanel));
  }
View Full Code Here

  {
    FakeFileSystem fs = FakeFileSystem.installed();
    JavaProductionTest.writeSamplePlayerTo(fs.outputStream("/testProduction/classes/SamplePlayer.class"));
    samplePlayerClass = new PlayerClassLoader("/testProduction/classes").loadClass("SamplePlayer");
    prop = new PropPanel(new FakePropProxy());
    new FakeScene().add(prop);
  }
View Full Code Here

  @Test
  public void openSceneWithNoActiveStage() throws Exception
  {
    production.loadProduction();
    final MockStage stage = (MockStage)production.getTheater().getDefaultStage();
    Scene scene = new FakeScene();
    production.stubbedScene = scene;

    production.openScene("scenePath", Util.toMap());

    assertEquals("scenePath", production.loadedScenePath);
View Full Code Here

TOP

Related Classes of limelight.ui.model.FakeScene

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.