@Test public void testDestroy() { tested.destroy(); verify(viewInstances, times(1)).destroyAll(); }
@PreDestroy public void destroy() { views.destroyAll(); }
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { @PreDestroy public void destroy() { views.destroyAll(); } }
ImageStripDOMGlyphRenderer implements DOMGlyphRenderer<ImageStripGlyph> { @PreDestroy public void destroy() { views.destroyAll(); } @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> { @PreDestroy public void destroy() { views.destroyAll(); } @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> { @PreDestroy public void destroy() { views.destroyAll(); } @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();  }