@Test public void test_doNotPaintClickHandlerRegistrationStateWhenNoneRegistered() throws PaintException { final PaintTarget target = mock(JsonPaintTarget.class); canvas.paintContent(target); verify(target, never()).addAttribute("*hasClickHandlers", true); }
@Override public void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); if (!clickHandlers.isEmpty()) { target.addAttribute("*hasClickHandlers", true); } }
Canvas extends BaseWidget implements HasClickHandlers { @Override public void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); if (!clickHandlers.isEmpty()) { target.addAttribute("*hasClickHandlers", true); } } }
Canvas extends BaseWidget implements HasClickHandlers { @Override public void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); if (!clickHandlers.isEmpty()) { target.addAttribute("*hasClickHandlers", true); } } Canvas();  Canvas(String id); }
Canvas extends BaseWidget implements HasClickHandlers { @Override public void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); if (!clickHandlers.isEmpty()) { target.addAttribute("*hasClickHandlers", true); } } Canvas();  Canvas(String id); void setAccessKey(String accessKey); String getAccessKey(); void setAnimateAcceleration(AnimationAcceleration animateAcceleration); AnimationAcceleration getAnimateAcceleration(); void setAnimateFadeTime(Integer animateFadeTime); Integer getAnimateFadeTime(); void setAnimateHideAcceleration(AnimationAcceleration animateHideAcceleration); AnimationAcceleration getAnimateHideAcceleration(); void setAnimateHideTime(Integer animateHideTime); Integer getAnimateHideTime(); void setAnimateMoveAcceleration(AnimationAcceleration animateMoveAcceleration); AnimationAcceleration getAnimateMoveAcceleration(); void setAnimateMoveTime(Integer animateMoveTime); Integer getAnimateMoveTime(); void setAnimateRectAcceleration(AnimationAcceleration animateRectAcceleration); AnimationAcceleration getAnimateRectAcceleration(); void setAnimateRectTime(Integer animateRectTime); Integer getAnimateRectTime(); void setAnimateResizeAcceleration(AnimationAcceleration animateResizeAcceleration); AnimationAcceleration getAnimateResizeAcceleration(); void setAnimateResizeTime(Integer animateResizeTime); Integer getAnimateResizeTime(); void setAnimateScrollAcceleration(AnimationAcceleration animateScrollAcceleration); AnimationAcceleration getAnimateScrollAcceleration(); void setAnimateScrollTime(Integer animateScrollTime); Integer getAnimateScrollTime(); void setAnimateShowAcceleration(AnimationAcceleration animateShowAcceleration); AnimationAcceleration getAnimateShowAcceleration(); void setAnimateShowTime(Integer animateShowTime); Integer getAnimateShowTime(); void setAnimateTime(int animateTime); int getAnimateTime(); void setAppImgDir(String appImgDir); String getAppImgDir(); void setAriaRole(String ariaRole); String getAriaRole(); void setAutoShowParent(Boolean autoShowParent); Boolean getAutoShowParent(); void setBackgroundColor(String backgroundColor); String getBackgroundColor(); void setBackgroundImage(String backgroundImage); String getBackgroundImage(); void setBackgroundPosition(String backgroundPosition); String getBackgroundPosition(); void setBackgroundRepeat(BkgndRepeat backgroundRepeat); BkgndRepeat getBackgroundRepeat(); void setBorder(String border); String getBorder(); void setCanAcceptDrop(Boolean canAcceptDrop); Boolean getCanAcceptDrop(); void setCanDrag(Boolean canDrag); Boolean getCanDrag(); void setCanDragReposition(Boolean canDragReposition); Boolean getCanDragReposition(); void setCanDragResize(Boolean canDragResize); Boolean getCanDragResize(); void setCanDragScroll(Boolean canDragScroll); Boolean getCanDragScroll(); void setCanDrop(Boolean canDrop); Boolean getCanDrop(); void setCanDropBefore(Boolean canDropBefore); Boolean getCanDropBefore(); void setCanFocus(Boolean canFocus); Boolean getCanFocus(); void setCanHover(Boolean canHover); Boolean getCanHover(); void setCanSelectText(Boolean canSelectText); Boolean getCanSelectText(); void setChildrenSnapResizeToGrid(Boolean childrenSnapResizeToGrid); Boolean getChildrenSnapResizeToGrid(); void setChildrenSnapToGrid(Boolean childrenSnapToGrid); Boolean getChildrenSnapToGrid(); void setContents(String contents); String getContents(); void setContextMenu(Menu contextMenu); void setCursor(Cursor cursor); Cursor getCursor(); void setDataPath(String dataPath); String getDataPath(); void setDefaultHeight(int defaultHeight); int getDefaultHeight(); void setDefaultWidth(int defaultWidth); int getDefaultWidth(); Boolean getDestroyed(); Boolean getDestroying(); void setDisabledCursor(Cursor disabledCursor); Cursor getDisabledCursor(); void setDoubleClickDelay(int doubleClickDelay); int getDoubleClickDelay(); void setDragAppearance(DragAppearance dragAppearance); DragAppearance getDragAppearance(); void setDragIntersectStyle(DragIntersectStyle dragIntersectStyle); DragIntersectStyle getDragIntersectStyle(); void setDragOpacity(Integer dragOpacity); Integer getDragOpacity(); void setDragRepositionCursor(Cursor dragRepositionCursor); Cursor getDragRepositionCursor(); void setDragScrollDelay(int dragScrollDelay); int getDragScrollDelay(); void setDragStartDistance(int dragStartDistance); int getDragStartDistance(); void setDragType(String dragType); String getDragType(); void setDynamicContents(Boolean dynamicContents); Boolean getDynamicContents(); void setEdgeBackgroundColor(String edgeBackgroundColor); String getEdgeBackgroundColor(); void setEdgeCenterBackgroundColor(String edgeCenterBackgroundColor); String getEdgeCenterBackgroundColor(); void setEdgeImage(String edgeImage); String getEdgeImage(); void setEdgeMarginSize(int edgeMarginSize); int getEdgeMarginSize(); void setEdgeOffset(Integer edgeOffset); Integer getEdgeOffset(); void setEdgeOpacity(Integer edgeOpacity); Integer getEdgeOpacity(); void setEdgeShowCenter(Boolean edgeShowCenter); Boolean getEdgeShowCenter(); void setEdgeSize(int edgeSize); int getEdgeSize(); void setExtraSpace(int extraSpace); int getExtraSpace(); void setHoverAlign(Alignment hoverAlign); Alignment getHoverAlign(); void setHoverAutoDestroy(Boolean hoverAutoDestroy); Boolean getHoverAutoDestroy(); void setHoverDelay(int hoverDelay); int getHoverDelay(); void setHoverHeight(Integer hoverHeight); Integer getHoverHeight(); void setHoverMoveWithMouse(Boolean hoverMoveWithMouse); Boolean getHoverMoveWithMouse(); void setHoverOpacity(Integer hoverOpacity); Integer getHoverOpacity(); void setHoverStyle(String hoverStyle); String getHoverStyle(); void setHoverVAlign(VerticalAlignment hoverVAlign); VerticalAlignment getHoverVAlign(); void setHoverWidth(Integer hoverWidth); Integer getHoverWidth(); void setHoverWrap(Boolean hoverWrap); Boolean getHoverWrap(); void setHtmlPosition(DrawPosition htmlPosition); DrawPosition getHtmlPosition(); void setLocateChildrenBy(LocatorStrategy locateChildrenBy); LocatorStrategy getLocateChildrenBy(); void setLocateChildrenType(LocatorTypeStrategy locateChildrenType); LocatorTypeStrategy getLocateChildrenType(); void setLocatePeersBy(LocatorStrategy locatePeersBy); LocatorStrategy getLocatePeersBy(); void setLocatePeersType(LocatorTypeStrategy locatePeersType); LocatorTypeStrategy getLocatePeersType(); void setMargin(Integer margin); Integer getMargin(); void setMatchElement(Boolean matchElement); Boolean getMatchElement(); void setMaxHeight(int maxHeight); int getMaxHeight(); void setMaxWidth(int maxWidth); int getMaxWidth(); void setMenuConstructor(String menuConstructor); String getMenuConstructor(); void setMinHeight(int minHeight); int getMinHeight(); void setMinWidth(int minWidth); int getMinWidth(); void setMouseStillDownDelay(int mouseStillDownDelay); int getMouseStillDownDelay(); void setMouseStillDownInitialDelay(int mouseStillDownInitialDelay); int getMouseStillDownInitialDelay(); void setNoDoubleClicks(Boolean noDoubleClicks); Boolean getNoDoubleClicks(); void setOpacity(Integer opacity); Integer getOpacity(); void setOverflow(Overflow overflow); Overflow getOverflow(); void setPadding(Integer padding); Integer getPadding(); void setPercentBox(PercentBoxModel percentBox); PercentBoxModel getPercentBox(); void setPosition(Positioning position); Positioning getPosition(); void setPrompt(String prompt); String getPrompt(); void setRedrawOnResize(Boolean redrawOnResize); Boolean getRedrawOnResize(); void setResizeBarTarget(String resizeBarTarget); String getResizeBarTarget(); void setScrollbarSize(int scrollbarSize); int getScrollbarSize(); void setShadowDepth(int shadowDepth); int getShadowDepth(); void setShadowImage(String shadowImage); String getShadowImage(); void setShouldPrint(Boolean shouldPrint); Boolean getShouldPrint(); void setShowCustomScrollbars(Boolean showCustomScrollbars); Boolean getShowCustomScrollbars(); void setShowDragShadow(Boolean showDragShadow); Boolean getShowDragShadow(); void setShowEdges(Boolean showEdges); Boolean getShowEdges(); void setShowHover(Boolean showHover); Boolean getShowHover(); void setShowHoverComponents(Boolean showHoverComponents); Boolean getShowHoverComponents(); void setShowResizeBar(Boolean showResizeBar); Boolean getShowResizeBar(); void setShowShadow(Boolean showShadow); Boolean getShowShadow(); void setSkinImgDir(String skinImgDir); String getSkinImgDir(); void setSnapAxis(String snapAxis); String getSnapAxis(); void setSnapEdge(String snapEdge); String getSnapEdge(); void setSnapHDirection(String snapHDirection); String getSnapHDirection(); void setSnapHGap(int snapHGap); int getSnapHGap(); void setSnapOffsetLeft(Integer snapOffsetLeft); Integer getSnapOffsetLeft(); void setSnapOffsetTop(Integer snapOffsetTop); Integer getSnapOffsetTop(); void setSnapOnDrop(Boolean snapOnDrop); Boolean getSnapOnDrop(); void setSnapResizeToGrid(Boolean snapResizeToGrid); Boolean getSnapResizeToGrid(); void setSnapTo(String snapTo); String getSnapTo(); void setSnapToGrid(Boolean snapToGrid); Boolean getSnapToGrid(); void setSnapVDirection(String snapVDirection); String getSnapVDirection(); void setSnapVGap(int snapVGap); int getSnapVGap(); void setStyleName(String styleName); String getStyleName(); void setTabIndex(Integer tabIndex); Integer getTabIndex(); void setUseOpacityFilter(Boolean useOpacityFilter); Boolean getUseOpacityFilter(); void setVisibility(Visibility visibility); Visibility getVisibility(); void setVisible(boolean visible); @Override HandlerRegistration addClickHandler(final ClickHandler handler); void setHeight(int height); void setHeight100(); void setWidth100(); void setHeight(String height); String getHeightAsString(); void setTitle(String title); String getTitle(); void setTooltip(String tooltip); String getTooltip(); void setWidth(int width); void setWidth(String width); String getWidthAsString(); void setLeft(int left); int getLeft(); void setLeft(String left); String getLeftAsString(); void setTop(int top); String getFacetId(); void setFacetId(String facetId); int getTop(); void setTop(String top); String getTopAsString(); void setAlign(Alignment align); void setAnimateShowEffect(AnimationEffect animateShowEffect); AnimationEffect getAnimateShowEffect(); void setDisabled(boolean disabled); boolean getDisabled(); @Override boolean isEnabled(); @Override void setEnabled(boolean enabled); void setShadowOffset(Integer shadowOffset); Integer getShadowOffset(); void setShadowSoftness(Integer shadowSoftness); Integer getShadowSoftness(); void setGroupTitle(String groupTitle); String getGroupTitle(); void setIsGroup(Boolean isGroup); Boolean getIsGroup(); void setSmoothFade(Boolean smoothFade); void setKeepInParentRect(Boolean keepInParentRect); void setPrefix(String prefix); String getPrefix(); void setResizeFrom(String... resizeFrom); void setLayoutAlign(Alignment layoutAlign); void setLayoutAlign(VerticalAlignment layoutAlign); void setDropTypes(String... dropTypes); void setAutoHeight(); void setAutoWidth(); Boolean isDrawn(); @Override void paintContent(PaintTarget target); @Override void changeVariables(Object source, Map<String, Object> variables); }
Canvas extends BaseWidget implements HasClickHandlers { @Override public void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); if (!clickHandlers.isEmpty()) { target.addAttribute("*hasClickHandlers", true); } } Canvas();  Canvas(String id); void setAccessKey(String accessKey); String getAccessKey(); void setAnimateAcceleration(AnimationAcceleration animateAcceleration); AnimationAcceleration getAnimateAcceleration(); void setAnimateFadeTime(Integer animateFadeTime); Integer getAnimateFadeTime(); void setAnimateHideAcceleration(AnimationAcceleration animateHideAcceleration); AnimationAcceleration getAnimateHideAcceleration(); void setAnimateHideTime(Integer animateHideTime); Integer getAnimateHideTime(); void setAnimateMoveAcceleration(AnimationAcceleration animateMoveAcceleration); AnimationAcceleration getAnimateMoveAcceleration(); void setAnimateMoveTime(Integer animateMoveTime); Integer getAnimateMoveTime(); void setAnimateRectAcceleration(AnimationAcceleration animateRectAcceleration); AnimationAcceleration getAnimateRectAcceleration(); void setAnimateRectTime(Integer animateRectTime); Integer getAnimateRectTime(); void setAnimateResizeAcceleration(AnimationAcceleration animateResizeAcceleration); AnimationAcceleration getAnimateResizeAcceleration(); void setAnimateResizeTime(Integer animateResizeTime); Integer getAnimateResizeTime(); void setAnimateScrollAcceleration(AnimationAcceleration animateScrollAcceleration); AnimationAcceleration getAnimateScrollAcceleration(); void setAnimateScrollTime(Integer animateScrollTime); Integer getAnimateScrollTime(); void setAnimateShowAcceleration(AnimationAcceleration animateShowAcceleration); AnimationAcceleration getAnimateShowAcceleration(); void setAnimateShowTime(Integer animateShowTime); Integer getAnimateShowTime(); void setAnimateTime(int animateTime); int getAnimateTime(); void setAppImgDir(String appImgDir); String getAppImgDir(); void setAriaRole(String ariaRole); String getAriaRole(); void setAutoShowParent(Boolean autoShowParent); Boolean getAutoShowParent(); void setBackgroundColor(String backgroundColor); String getBackgroundColor(); void setBackgroundImage(String backgroundImage); String getBackgroundImage(); void setBackgroundPosition(String backgroundPosition); String getBackgroundPosition(); void setBackgroundRepeat(BkgndRepeat backgroundRepeat); BkgndRepeat getBackgroundRepeat(); void setBorder(String border); String getBorder(); void setCanAcceptDrop(Boolean canAcceptDrop); Boolean getCanAcceptDrop(); void setCanDrag(Boolean canDrag); Boolean getCanDrag(); void setCanDragReposition(Boolean canDragReposition); Boolean getCanDragReposition(); void setCanDragResize(Boolean canDragResize); Boolean getCanDragResize(); void setCanDragScroll(Boolean canDragScroll); Boolean getCanDragScroll(); void setCanDrop(Boolean canDrop); Boolean getCanDrop(); void setCanDropBefore(Boolean canDropBefore); Boolean getCanDropBefore(); void setCanFocus(Boolean canFocus); Boolean getCanFocus(); void setCanHover(Boolean canHover); Boolean getCanHover(); void setCanSelectText(Boolean canSelectText); Boolean getCanSelectText(); void setChildrenSnapResizeToGrid(Boolean childrenSnapResizeToGrid); Boolean getChildrenSnapResizeToGrid(); void setChildrenSnapToGrid(Boolean childrenSnapToGrid); Boolean getChildrenSnapToGrid(); void setContents(String contents); String getContents(); void setContextMenu(Menu contextMenu); void setCursor(Cursor cursor); Cursor getCursor(); void setDataPath(String dataPath); String getDataPath(); void setDefaultHeight(int defaultHeight); int getDefaultHeight(); void setDefaultWidth(int defaultWidth); int getDefaultWidth(); Boolean getDestroyed(); Boolean getDestroying(); void setDisabledCursor(Cursor disabledCursor); Cursor getDisabledCursor(); void setDoubleClickDelay(int doubleClickDelay); int getDoubleClickDelay(); void setDragAppearance(DragAppearance dragAppearance); DragAppearance getDragAppearance(); void setDragIntersectStyle(DragIntersectStyle dragIntersectStyle); DragIntersectStyle getDragIntersectStyle(); void setDragOpacity(Integer dragOpacity); Integer getDragOpacity(); void setDragRepositionCursor(Cursor dragRepositionCursor); Cursor getDragRepositionCursor(); void setDragScrollDelay(int dragScrollDelay); int getDragScrollDelay(); void setDragStartDistance(int dragStartDistance); int getDragStartDistance(); void setDragType(String dragType); String getDragType(); void setDynamicContents(Boolean dynamicContents); Boolean getDynamicContents(); void setEdgeBackgroundColor(String edgeBackgroundColor); String getEdgeBackgroundColor(); void setEdgeCenterBackgroundColor(String edgeCenterBackgroundColor); String getEdgeCenterBackgroundColor(); void setEdgeImage(String edgeImage); String getEdgeImage(); void setEdgeMarginSize(int edgeMarginSize); int getEdgeMarginSize(); void setEdgeOffset(Integer edgeOffset); Integer getEdgeOffset(); void setEdgeOpacity(Integer edgeOpacity); Integer getEdgeOpacity(); void setEdgeShowCenter(Boolean edgeShowCenter); Boolean getEdgeShowCenter(); void setEdgeSize(int edgeSize); int getEdgeSize(); void setExtraSpace(int extraSpace); int getExtraSpace(); void setHoverAlign(Alignment hoverAlign); Alignment getHoverAlign(); void setHoverAutoDestroy(Boolean hoverAutoDestroy); Boolean getHoverAutoDestroy(); void setHoverDelay(int hoverDelay); int getHoverDelay(); void setHoverHeight(Integer hoverHeight); Integer getHoverHeight(); void setHoverMoveWithMouse(Boolean hoverMoveWithMouse); Boolean getHoverMoveWithMouse(); void setHoverOpacity(Integer hoverOpacity); Integer getHoverOpacity(); void setHoverStyle(String hoverStyle); String getHoverStyle(); void setHoverVAlign(VerticalAlignment hoverVAlign); VerticalAlignment getHoverVAlign(); void setHoverWidth(Integer hoverWidth); Integer getHoverWidth(); void setHoverWrap(Boolean hoverWrap); Boolean getHoverWrap(); void setHtmlPosition(DrawPosition htmlPosition); DrawPosition getHtmlPosition(); void setLocateChildrenBy(LocatorStrategy locateChildrenBy); LocatorStrategy getLocateChildrenBy(); void setLocateChildrenType(LocatorTypeStrategy locateChildrenType); LocatorTypeStrategy getLocateChildrenType(); void setLocatePeersBy(LocatorStrategy locatePeersBy); LocatorStrategy getLocatePeersBy(); void setLocatePeersType(LocatorTypeStrategy locatePeersType); LocatorTypeStrategy getLocatePeersType(); void setMargin(Integer margin); Integer getMargin(); void setMatchElement(Boolean matchElement); Boolean getMatchElement(); void setMaxHeight(int maxHeight); int getMaxHeight(); void setMaxWidth(int maxWidth); int getMaxWidth(); void setMenuConstructor(String menuConstructor); String getMenuConstructor(); void setMinHeight(int minHeight); int getMinHeight(); void setMinWidth(int minWidth); int getMinWidth(); void setMouseStillDownDelay(int mouseStillDownDelay); int getMouseStillDownDelay(); void setMouseStillDownInitialDelay(int mouseStillDownInitialDelay); int getMouseStillDownInitialDelay(); void setNoDoubleClicks(Boolean noDoubleClicks); Boolean getNoDoubleClicks(); void setOpacity(Integer opacity); Integer getOpacity(); void setOverflow(Overflow overflow); Overflow getOverflow(); void setPadding(Integer padding); Integer getPadding(); void setPercentBox(PercentBoxModel percentBox); PercentBoxModel getPercentBox(); void setPosition(Positioning position); Positioning getPosition(); void setPrompt(String prompt); String getPrompt(); void setRedrawOnResize(Boolean redrawOnResize); Boolean getRedrawOnResize(); void setResizeBarTarget(String resizeBarTarget); String getResizeBarTarget(); void setScrollbarSize(int scrollbarSize); int getScrollbarSize(); void setShadowDepth(int shadowDepth); int getShadowDepth(); void setShadowImage(String shadowImage); String getShadowImage(); void setShouldPrint(Boolean shouldPrint); Boolean getShouldPrint(); void setShowCustomScrollbars(Boolean showCustomScrollbars); Boolean getShowCustomScrollbars(); void setShowDragShadow(Boolean showDragShadow); Boolean getShowDragShadow(); void setShowEdges(Boolean showEdges); Boolean getShowEdges(); void setShowHover(Boolean showHover); Boolean getShowHover(); void setShowHoverComponents(Boolean showHoverComponents); Boolean getShowHoverComponents(); void setShowResizeBar(Boolean showResizeBar); Boolean getShowResizeBar(); void setShowShadow(Boolean showShadow); Boolean getShowShadow(); void setSkinImgDir(String skinImgDir); String getSkinImgDir(); void setSnapAxis(String snapAxis); String getSnapAxis(); void setSnapEdge(String snapEdge); String getSnapEdge(); void setSnapHDirection(String snapHDirection); String getSnapHDirection(); void setSnapHGap(int snapHGap); int getSnapHGap(); void setSnapOffsetLeft(Integer snapOffsetLeft); Integer getSnapOffsetLeft(); void setSnapOffsetTop(Integer snapOffsetTop); Integer getSnapOffsetTop(); void setSnapOnDrop(Boolean snapOnDrop); Boolean getSnapOnDrop(); void setSnapResizeToGrid(Boolean snapResizeToGrid); Boolean getSnapResizeToGrid(); void setSnapTo(String snapTo); String getSnapTo(); void setSnapToGrid(Boolean snapToGrid); Boolean getSnapToGrid(); void setSnapVDirection(String snapVDirection); String getSnapVDirection(); void setSnapVGap(int snapVGap); int getSnapVGap(); void setStyleName(String styleName); String getStyleName(); void setTabIndex(Integer tabIndex); Integer getTabIndex(); void setUseOpacityFilter(Boolean useOpacityFilter); Boolean getUseOpacityFilter(); void setVisibility(Visibility visibility); Visibility getVisibility(); void setVisible(boolean visible); @Override HandlerRegistration addClickHandler(final ClickHandler handler); void setHeight(int height); void setHeight100(); void setWidth100(); void setHeight(String height); String getHeightAsString(); void setTitle(String title); String getTitle(); void setTooltip(String tooltip); String getTooltip(); void setWidth(int width); void setWidth(String width); String getWidthAsString(); void setLeft(int left); int getLeft(); void setLeft(String left); String getLeftAsString(); void setTop(int top); String getFacetId(); void setFacetId(String facetId); int getTop(); void setTop(String top); String getTopAsString(); void setAlign(Alignment align); void setAnimateShowEffect(AnimationEffect animateShowEffect); AnimationEffect getAnimateShowEffect(); void setDisabled(boolean disabled); boolean getDisabled(); @Override boolean isEnabled(); @Override void setEnabled(boolean enabled); void setShadowOffset(Integer shadowOffset); Integer getShadowOffset(); void setShadowSoftness(Integer shadowSoftness); Integer getShadowSoftness(); void setGroupTitle(String groupTitle); String getGroupTitle(); void setIsGroup(Boolean isGroup); Boolean getIsGroup(); void setSmoothFade(Boolean smoothFade); void setKeepInParentRect(Boolean keepInParentRect); void setPrefix(String prefix); String getPrefix(); void setResizeFrom(String... resizeFrom); void setLayoutAlign(Alignment layoutAlign); void setLayoutAlign(VerticalAlignment layoutAlign); void setDropTypes(String... dropTypes); void setAutoHeight(); void setAutoWidth(); Boolean isDrawn(); @Override void paintContent(PaintTarget target); @Override void changeVariables(Object source, Map<String, Object> variables);  }