@Test public void testHeaderDOMElementsAreDestroyed() { final MockHasDOMElementResourcesHeaderMetaData mockHeaderMetaData = mock(MockHasDOMElementResourcesHeaderMetaData.class); column.getHeaderMetaData().add(mockHeaderMetaData); column.destroyResources(); verify(mockHeaderMetaData).destroyResources(); }
@Override public void destroyResources() { super.destroyResources(); factory.destroyResources(); }
LiteralExpressionColumn extends DMNSimpleGridColumn<LiteralExpressionGrid, String> implements HasSingletonDOMElementResource { @Override public void destroyResources() { super.destroyResources(); factory.destroyResources(); } }
LiteralExpressionColumn extends DMNSimpleGridColumn<LiteralExpressionGrid, String> implements HasSingletonDOMElementResource { @Override public void destroyResources() { super.destroyResources(); factory.destroyResources(); } LiteralExpressionColumn(final List<HeaderMetaData> headerMetaData,
                                   final AutocompleteTextAreaDOMElementFactory factory,
                                   final double width,
                                   final LiteralExpressionGrid gridWidget); }
LiteralExpressionColumn extends DMNSimpleGridColumn<LiteralExpressionGrid, String> implements HasSingletonDOMElementResource { @Override public void destroyResources() { super.destroyResources(); factory.destroyResources(); } LiteralExpressionColumn(final List<HeaderMetaData> headerMetaData,
                                   final AutocompleteTextAreaDOMElementFactory factory,
                                   final double width,
                                   final LiteralExpressionGrid gridWidget); @Override void edit(final GridCell<String> cell,
                     final GridBodyCellRenderContext context,
                     final Consumer<GridCellValue<String>> callback); @Override void flush(); @Override void destroyResources(); @Override void setWidth(final double width); }
LiteralExpressionColumn extends DMNSimpleGridColumn<LiteralExpressionGrid, String> implements HasSingletonDOMElementResource { @Override public void destroyResources() { super.destroyResources(); factory.destroyResources(); } LiteralExpressionColumn(final List<HeaderMetaData> headerMetaData,
                                   final AutocompleteTextAreaDOMElementFactory factory,
                                   final double width,
                                   final LiteralExpressionGrid gridWidget); @Override void edit(final GridCell<String> cell,
                     final GridBodyCellRenderContext context,
                     final Consumer<GridCellValue<String>> callback); @Override void flush(); @Override void destroyResources(); @Override void setWidth(final double width);  }