Package limelight.model.api

Examples of limelight.model.api.FakePropProxy


  @Test
  public void settingTheGroupName() throws Exception
  {
    Scene scene = new FakeScene();
    PropPanel parent1 = new PropPanel(new FakePropProxy("parent1"));
    RadioButtonPanel radio1 = new RadioButtonPanel();
    parent1.add(radio1);
    PropPanel parent2 = new PropPanel(new FakePropProxy("parent2"));
    RadioButtonPanel radio2 = new RadioButtonPanel();
    parent2.add(radio2);
    scene.add(parent1);
    scene.add(parent2);
View Full Code Here


  @Test
  public void changingGroupName() throws Exception
  {
    Scene scene = new FakeScene();
    PropPanel parent1 = new PropPanel(new FakePropProxy("parent1"));
    RadioButtonPanel radio1 = new RadioButtonPanel();
    parent1.add(radio1);
    scene.add(parent1);

    final RadioButtonGroup group1 = scene.getButtonGroups().get("group1");
View Full Code Here

  @Before
  public void setUp()
  {
    assumeTrue(TestUtil.notHeadless());
    panel = new TextBoxPanel();
    parent = new PropPanel(new FakePropProxy());
    parent.add(panel);
    graphics = new MockGraphics();
    model = panel.getModel();
    model.setText("Some Text");
  }
View Full Code Here

  }

  @Test
  public void setsPainterOnParent() throws Exception
  {
    PropPanel newParent = new PropPanel(new FakePropProxy());

    panel.setParent(newParent);

    assertEquals(TextInputPanel.TextInputPropPainter.instance, newParent.getPainter());
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    panel = new DropDownPanel();
    parent = new PropPanel(new FakePropProxy());
    parent.add(panel);

    root = new FakeScene();
    root.add(parent);
    root.styleStore = BuiltInStyles.all();
View Full Code Here

  private TestableInputPanel input3;

  public void setUp() throws Exception
  {
    input = new TestableInputPanel();
    parent = new PropPanel(new FakePropProxy());
    parent.add(input);
    KeyboardFocusManager.installed();
  }
View Full Code Here

  @Test
  public void parentIsMarkedAsChanged() throws Exception
  {
    Scene root = new FakeScene();
    root.setStage(new MockStage());
    PropPanel parent = new PropPanel(new FakePropProxy());
    root.add(parent);
    parent.add(verticalScrollBar);
    Layouts.on(parent, parent.getDefaultLayout());

    verticalScrollBar.setValue(50);
View Full Code Here

  public void setUp()
  {
    assumeTrue(TestUtil.notHeadless());
    root = new FakeScene();
    panel = new MockTextInputPanel();
    parent = new PropPanel(new FakePropProxy());
    parent.add(panel);
    root.add(parent);
    stage = new MockStage();
    root.setStage(stage);
    model = panel.getModel();
View Full Code Here

  public void setUp() throws Exception
  {
    root = new FakeScene();
    MockStage frame = new MockStage();
    root.setStage(frame);
    parent = new PropPanel(new FakePropProxy());
    root.add(parent);

    layout = PropPanelLayout.instance;
  }
View Full Code Here

  @Before
  public void setUp() throws Exception
  {
    root = new FakeScene();
    root.setStage(new MockStage());
    panel = new PropPanel(new FakePropProxy());
    root.add(panel);
  }
View Full Code Here

TOP

Related Classes of limelight.model.api.FakePropProxy

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.