use of limelight.ui.model.MockDrawable 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");
}
Aggregations