use of limelight.ui.Panel in project limelight by slagyr.
the class Mouse method release.
public static void release(PropProxy prop, int x, int y, int modifiers, int click_count) {
Point location = pointFor(prop, x, y);
Panel owner = ownerOf(location, prop);
new MouseReleasedEvent(modifiers, location, click_count).dispatch(owner);
}
use of limelight.ui.Panel in project limelight by slagyr.
the class Mouse method wheel.
public static void wheel(PropProxy prop, int scrollAmount, int x, int y, int modifiers, int clickCount, int scrollType, int wheelRotation) {
Point location = pointFor(prop, x, y);
Panel owner = ownerOf(location, prop);
new MouseWheelEvent(modifiers, location, clickCount, scrollType, scrollAmount, wheelRotation).dispatch(owner);
}
use of limelight.ui.Panel 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