use of limelight.ui.model.inputs.TextBoxPanel in project limelight by slagyr.
the class TextBox method install.
public void install(PanelEvent event) {
textBoxPanel = new TextBoxPanel();
propPanel = (PropPanel) event.getRecipient();
propPanel.add(textBoxPanel);
propPanel.getBackstage().put("text-box", this);
}
use of limelight.ui.model.inputs.TextBoxPanel in project limelight by slagyr.
the class TextPanelBorderPainterTest method setUp.
@Before
public void setUp() throws Exception {
FakeScene root = new FakeScene();
parent = new PropPanel(new FakePropProxy());
root.add(parent);
stage = new MockStage();
root.setStage(stage);
panel = new TextBoxPanel();
parent.add(panel);
graphics = new MockGraphics();
TextPanelBorderPainter.normalBorder = normalDrawable = new MockDrawable();
TextPanelBorderPainter.focusedBorder = focusDrawable = new MockDrawable();
painter = TextPanelBorderPainter.instance;
parent.getStyle().setBorderColor("transparent");
}
use of limelight.ui.model.inputs.TextBoxPanel in project limelight by slagyr.
the class SingleLineTextModelTest method setUp.
@Before
public void setUp() {
assumeTrue(TestUtil.notHeadless());
panel = new TextBoxPanel();
MockParentPanel parent = new MockParentPanel();
parent.add(panel);
parent.setSize(100, 20);
Layouts.on(panel, panel.getDefaultLayout());
model = panel.getModel();
model.setTypedLayoutFactory(MockTypedLayoutFactory.instance);
}
Aggregations