@Test public void testBackGroundPosition() { final String backGroundPosition = ImageStripDOMGlyphRenderer.backGroundPosition(123, 321); assertEquals(backGroundPosition, "background-position: 123px 321px !important"); }
protected static String backGroundPosition(int clipX, int clipY) { return "background-position: " + clipX + "px " + clipY + "px !important"; }
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { protected static String backGroundPosition(int clipX, int clipY) { return "background-position: " + clipX + "px " + clipY + "px !important"; } }
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { protected static String backGroundPosition(int clipX, int clipY) { return "background-position: " + clipX + "px " + clipY + "px !important"; } @Inject  ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                                      final ManagedInstance<WidgetElementRendererView> views);   ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                               final ManagedInstance<WidgetElementRendererView> views,
                               final BiFunction<String, Integer[], FlowPanel> panelBuilder); }
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { protected static String backGroundPosition(int clipX, int clipY) { return "background-position: " + clipX + "px " + clipY + "px !important"; } @Inject  ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                                      final ManagedInstance<WidgetElementRendererView> views);   ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                               final ManagedInstance<WidgetElementRendererView> views,
                               final BiFunction<String, Integer[], FlowPanel> panelBuilder); @Override Class<ImageStripGlyph> getGlyphType(); @Override IsElement render(final ImageStripGlyph glyph,
                            final double width,
                            final double height); @PreDestroy void destroy(); }
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { protected static String backGroundPosition(int clipX, int clipY) { return "background-position: " + clipX + "px " + clipY + "px !important"; } @Inject  ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                                      final ManagedInstance<WidgetElementRendererView> views);   ImageStripDOMGlyphRenderer(final ImageStripRegistry stripRegistry,
                               final ManagedInstance<WidgetElementRendererView> views,
                               final BiFunction<String, Integer[], FlowPanel> panelBuilder); @Override Class<ImageStripGlyph> getGlyphType(); @Override IsElement render(final ImageStripGlyph glyph,
                            final double width,
                            final double height); @PreDestroy void destroy();  }