@Test public void testSetPositionX() { final Element element = mock(Element.class); final int positionX = 1; dndListComponent.setPositionX(element, positionX); verify(element).setAttribute(DATA_X_POSITION, positionX); }
public void setPositionX(final Element element, final double positionX) { Position.setX(element, positionX); }
DNDListComponent { public void setPositionX(final Element element, final double positionX) { Position.setX(element, positionX); } }
DNDListComponent { public void setPositionX(final Element element, final double positionX) { Position.setX(element, positionX); } @Inject  DNDListComponent(final View view,
                            final DataTypeList dataTypeList); }
DNDListComponent { public void setPositionX(final Element element, final double positionX) { Position.setX(element, positionX); } @Inject  DNDListComponent(final View view,
                            final DataTypeList dataTypeList); void refreshItemsPosition(); void refreshItemsCSSAndHTMLPosition(); HTMLElement registerNewItem(final HTMLElement htmlElement); HTMLElement getElement(); HTMLElement getDragArea(); void consolidateYPosition(); Optional<HTMLElement> getPreviousElement(final Element reference); void clear(); void setPositionX(final Element element,
                             final double positionX); void setPositionY(final Element element,
                             final double positionY); int getPositionY(final Element element); void setOnDropItem(final BiConsumer<Element, Element> onDropItem); void refreshDragAreaSize(); void setInitialPositionY(final HTMLElement dragAndDropElement,
                                    final List<HTMLElement> children); void setInitialHiddenPositionY(final HTMLElement itemElement); void highlightLevel(final HTMLElement htmlElement); }
DNDListComponent { public void setPositionX(final Element element, final double positionX) { Position.setX(element, positionX); } @Inject  DNDListComponent(final View view,
                            final DataTypeList dataTypeList); void refreshItemsPosition(); void refreshItemsCSSAndHTMLPosition(); HTMLElement registerNewItem(final HTMLElement htmlElement); HTMLElement getElement(); HTMLElement getDragArea(); void consolidateYPosition(); Optional<HTMLElement> getPreviousElement(final Element reference); void clear(); void setPositionX(final Element element,
                             final double positionX); void setPositionY(final Element element,
                             final double positionY); int getPositionY(final Element element); void setOnDropItem(final BiConsumer<Element, Element> onDropItem); void refreshDragAreaSize(); void setInitialPositionY(final HTMLElement dragAndDropElement,
                                    final List<HTMLElement> children); void setInitialHiddenPositionY(final HTMLElement itemElement); void highlightLevel(final HTMLElement htmlElement);  }