Search in sources :

Example 21 with FakeScene

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

the class KeyboardFocusManagerTest method setUp.

public void setUp() throws Exception {
    manager = new limelight.ui.KeyboardFocusManager();
    manager.install();
    panel = new MockInputPanel();
    FakeScene root = new FakeScene();
    root.add(panel);
}
Also used : FakeScene(limelight.ui.model.FakeScene)

Example 22 with FakeScene

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

the class CheckBoxTest method setUp.

@Before
public void setUp() throws Exception {
    checkBox = new CheckBox();
    propPanel = new PropPanel(new FakePropProxy());
    new FakeScene().add(propPanel);
    checkBox.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 23 with FakeScene

use of limelight.ui.model.FakeScene 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 24 with FakeScene

use of limelight.ui.model.FakeScene 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 25 with FakeScene

use of limelight.ui.model.FakeScene 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)

Aggregations

FakeScene (limelight.ui.model.FakeScene)29 FakePropProxy (limelight.model.api.FakePropProxy)17 PropPanel (limelight.ui.model.PropPanel)17 Before (org.junit.Before)15 MockStage (limelight.ui.model.MockStage)11 Test (org.junit.Test)11 CastEvent (limelight.ui.events.panel.CastEvent)7 Scene (limelight.ui.model.Scene)7 MockGraphics (limelight.ui.MockGraphics)2 RadioButtonGroup (limelight.ui.RadioButtonGroup)2 FakeFileSystem (limelight.io.FakeFileSystem)1 FakeProduction (limelight.model.FakeProduction)1 RichStyle (limelight.styles.RichStyle)1 StageActivatedEvent (limelight.ui.events.stage.StageActivatedEvent)1 MockDrawable (limelight.ui.model.MockDrawable)1 TextBoxPanel (limelight.ui.model.inputs.TextBoxPanel)1 Opts (limelight.util.Opts)1