Search in sources :

Example 1 with IntegerAttributeCompiler

use of limelight.styles.compiling.IntegerAttributeCompiler 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>();
}
Also used : MockChangeablePanel(limelight.ui.model.MockChangeablePanel) Panel(limelight.ui.Panel) MockChangeablePanel(limelight.ui.model.MockChangeablePanel) SimpleIntegerValue(limelight.styles.values.SimpleIntegerValue) IntegerAttributeCompiler(limelight.styles.compiling.IntegerAttributeCompiler) BufferedImage(java.awt.image.BufferedImage) Before(org.junit.Before)

Aggregations

BufferedImage (java.awt.image.BufferedImage)1 IntegerAttributeCompiler (limelight.styles.compiling.IntegerAttributeCompiler)1 SimpleIntegerValue (limelight.styles.values.SimpleIntegerValue)1 Panel (limelight.ui.Panel)1 MockChangeablePanel (limelight.ui.model.MockChangeablePanel)1 Before (org.junit.Before)1