@Test public void testGetElement() { final HTMLElement element = mock(HTMLElement.class); when(view.getElement()).thenReturn(element); assertEquals(element, widget.getElement()); }
@Override public HTMLElement getElement() { return view.getElement(); }
CollapsedDefinitionPaletteItemWidget implements CollapsedDefinitionPaletteItemWidgetView.Presenter { @Override public HTMLElement getElement() { return view.getElement(); } }
CollapsedDefinitionPaletteItemWidget implements CollapsedDefinitionPaletteItemWidgetView.Presenter { @Override public HTMLElement getElement() { return view.getElement(); } @Inject  CollapsedDefinitionPaletteItemWidget(final CollapsedDefinitionPaletteItemWidgetView view); }
CollapsedDefinitionPaletteItemWidget implements CollapsedDefinitionPaletteItemWidgetView.Presenter { @Override public HTMLElement getElement() { return view.getElement(); } @Inject  CollapsedDefinitionPaletteItemWidget(final CollapsedDefinitionPaletteItemWidgetView view); @PostConstruct void setUp(); @PreDestroy void destroy(); @Override void initialize(final CollapsedDefaultPaletteItem item,
                           final ShapeFactory<?, ?> shapeFactory,
                           final Consumer<PaletteItemMouseEvent> itemMouseDownCallback); @Override CollapsedDefaultPaletteItem getItem(); @Override void onMouseDown(final int clientX,
                            final int clientY,
                            final int x,
                            final int y); @Override HTMLElement getElement(); }
CollapsedDefinitionPaletteItemWidget implements CollapsedDefinitionPaletteItemWidgetView.Presenter { @Override public HTMLElement getElement() { return view.getElement(); } @Inject  CollapsedDefinitionPaletteItemWidget(final CollapsedDefinitionPaletteItemWidgetView view); @PostConstruct void setUp(); @PreDestroy void destroy(); @Override void initialize(final CollapsedDefaultPaletteItem item,
                           final ShapeFactory<?, ?> shapeFactory,
                           final Consumer<PaletteItemMouseEvent> itemMouseDownCallback); @Override CollapsedDefaultPaletteItem getItem(); @Override void onMouseDown(final int clientX,
                            final int clientY,
                            final int x,
                            final int y); @Override HTMLElement getElement();  }