Search in sources :

Example 31 with PropPanel

use of limelight.ui.model.PropPanel in project limelight by slagyr.

the class DropDownTest method setUp.

@Before
public void setUp() throws Exception {
    dropDown = new DropDown();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    dropDown.install(new CastEvent(propPanel));
}
Also used : PropPanel(limelight.ui.model.PropPanel) CastEvent(limelight.ui.events.panel.CastEvent) FakeScene(limelight.ui.model.FakeScene) FakePropProxy(limelight.model.api.FakePropProxy) Before(org.junit.Before)

Example 32 with PropPanel

use of limelight.ui.model.PropPanel in project limelight by slagyr.

the class FormTest method setUp.

@Before
public void setUp() throws Exception {
    form = new Form();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    form.install(new CastEvent(propPanel));
}
Also used : PropPanel(limelight.ui.model.PropPanel) CastEvent(limelight.ui.events.panel.CastEvent) FakeScene(limelight.ui.model.FakeScene) FakePropProxy(limelight.model.api.FakePropProxy) Before(org.junit.Before)

Example 33 with PropPanel

use of limelight.ui.model.PropPanel in project limelight by slagyr.

the class TextBoxTest method setUp.

@Before
public void setUp() throws Exception {
    textBox = new TextBox();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    textBox.install(new CastEvent(propPanel));
}
Also used : PropPanel(limelight.ui.model.PropPanel) CastEvent(limelight.ui.events.panel.CastEvent) FakeScene(limelight.ui.model.FakeScene) FakePropProxy(limelight.model.api.FakePropProxy) Before(org.junit.Before)

Example 34 with PropPanel

use of limelight.ui.model.PropPanel in project limelight by slagyr.

the class JavaPlayerTest method setUp.

@Before
public void setUp() throws Exception {
    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);
}
Also used : FakeFileSystem(limelight.io.FakeFileSystem) PropPanel(limelight.ui.model.PropPanel) FakeScene(limelight.ui.model.FakeScene) FakePropProxy(limelight.model.api.FakePropProxy) Before(org.junit.Before)

Aggregations

PropPanel (limelight.ui.model.PropPanel)34 FakePropProxy (limelight.model.api.FakePropProxy)22 FakeScene (limelight.ui.model.FakeScene)17 Before (org.junit.Before)16 Test (org.junit.Test)9 CastEvent (limelight.ui.events.panel.CastEvent)7 MouseClickedEvent (limelight.ui.events.panel.MouseClickedEvent)4 Event (limelight.events.Event)3 EventAction (limelight.events.EventAction)3 MockGraphics (limelight.ui.MockGraphics)3 SimplePropProxy (limelight.ui.SimplePropProxy)3 MouseEnteredEvent (limelight.ui.events.panel.MouseEnteredEvent)3 PanelEvent (limelight.ui.events.panel.PanelEvent)3 MockStage (limelight.ui.model.MockStage)3 RadioButtonGroup (limelight.ui.RadioButtonGroup)2 Scene (limelight.ui.model.Scene)2 ScenePanel (limelight.ui.model.ScenePanel)2 FakeFileSystem (limelight.io.FakeFileSystem)1 FakeProduction (limelight.model.FakeProduction)1 PropProxy (limelight.model.api.PropProxy)1