use of limelight.ui.model.MockChangeablePanel in project limelight by slagyr.
the class StyleAttributeTest method setUp.
@Before
public void setUp() throws Exception {
panel = new MockChangeablePanel();
attribute = new StyleAttribute("NAME", new IntegerAttributeCompiler(), new SimpleIntegerValue(50));
Context.instance().bufferedImageCache = new SimpleCache<Panel, BufferedImage>();
}
use of limelight.ui.model.MockChangeablePanel in project limelight by slagyr.
the class AbstractStyleAttributeTestBase method setUpPanel.
public void setUpPanel() throws Exception {
panel = new MockChangeablePanel();
cache = new SimpleCache<Panel, BufferedImage>();
Context.instance().bufferedImageCache = cache;
cache.cache(panel, new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB));
}
Aggregations