@Test public void test_paintsIconsOnPaint() throws PaintException { final FormItemIcon icon = mock(FormItemIcon.class); final PaintTarget target = mock(JsonPaintTarget.class); formItem.setIcons(icon); formItem.paint(target); verify(icon).paint(target); }
public void setIcons(FormItemIcon... icons) { this.icons.set(icons); }
FormItem extends RefDataClass { public void setIcons(FormItemIcon... icons) { this.icons.set(icons); } }
FormItem extends RefDataClass { public void setIcons(FormItemIcon... icons) { this.icons.set(icons); }  }
FormItem extends RefDataClass { public void setIcons(FormItemIcon... icons) { this.icons.set(icons); }  void setAccessKey(String accessKey); String getAccessKey(); void setAlign(Alignment align); Alignment getAlign(); void setAllowExpressions(Boolean allowExpressions); Boolean getAllowExpressions(); void setAlwaysFetchMissingValues(Boolean alwaysFetchMissingValues); Boolean getAlwaysFetchMissingValues(); void setBrowserSpellCheck(Boolean browserSpellCheck); Boolean getBrowserSpellCheck(); void setCanFocus(Boolean canFocus); Boolean getCanFocus(); void setCellHeight(Integer cellHeight); Integer getCellHeight(); void setCellStyle(String cellStyle); String getCellStyle(); void setCriteriaField(String criteriaField); String getCriteriaField(); void setDataPath(String dataPath); String getDataPath(); void setDefaultIconSrc(String defaultIconSrc); String getDefaultIconSrc(); void setDisabled(Boolean disabled); Boolean getDisabled(); void setDisplayField(String displayField); String getDisplayField(); void setEmptyDisplayValue(String emptyDisplayValue); String getEmptyDisplayValue(); void setEmptyValueIcon(String emptyValueIcon); String getEmptyValueIcon(); void setEndRow(Boolean endRow); Boolean getEndRow(); void setErrorIconHeight(int errorIconHeight); int getErrorIconHeight(); void setErrorIconSrc(String errorIconSrc); String getErrorIconSrc(); void setErrorIconWidth(int errorIconWidth); int getErrorIconWidth(); void setErrorMessageWidth(int errorMessageWidth); int getErrorMessageWidth(); void setFetchMissingValues(Boolean fetchMissingValues); Boolean getFetchMissingValues(); void setFilterLocally(Boolean filterLocally); Boolean getFilterLocally(); void setGlobalTabIndex(Integer globalTabIndex); Integer getGlobalTabIndex(); void setHeight(int height); void setHint(String hint); String getHint(); void setHintStyle(String hintStyle); String getHintStyle(); void setHoverAlign(Alignment hoverAlign); Alignment getHoverAlign(); void setHoverDelay(Integer hoverDelay); Integer getHoverDelay(); void setHoverHeight(Integer hoverHeight); Integer getHoverHeight(); 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 setIconHeight(int iconHeight); int getIconHeight(); void setIconPrompt(String iconPrompt); String getIconPrompt(); void setIconVAlign(VerticalAlignment iconVAlign); VerticalAlignment getIconVAlign(); void setIconWidth(int iconWidth); int getIconWidth(); void setImageURLPrefix(String imageURLPrefix); String getImageURLPrefix(); void setImageURLSuffix(String imageURLSuffix); String getImageURLSuffix(); void setImplicitSave(Boolean implicitSave); Boolean getImplicitSave(); void setImplicitSaveOnBlur(Boolean implicitSaveOnBlur); Boolean getImplicitSaveOnBlur(); void setInputFormat(String inputFormat); String getInputFormat(); void setLeft(int left); int getLeft(); void setLocateItemBy(String locateItemBy); String getLocateItemBy(); void setMultipleValueSeparator(String multipleValueSeparator); String getMultipleValueSeparator(); void setOperator(OperatorId operator); OperatorId getOperator(); void setOptionOperationId(String optionOperationId); String getOptionOperationId(); void setPickerIconHeight(Integer pickerIconHeight); Integer getPickerIconHeight(); void setPickerIconName(String pickerIconName); String getPickerIconName(); void setPickerIconSrc(String pickerIconSrc); String getPickerIconSrc(); void setPickerIconWidth(Integer pickerIconWidth); Integer getPickerIconWidth(); void setPrintTextBoxStyle(String printTextBoxStyle); String getPrintTextBoxStyle(); void setPrintTitleStyle(String printTitleStyle); String getPrintTitleStyle(); void setPrompt(String prompt); String getPrompt(); void setRejectInvalidValueOnChange(Boolean rejectInvalidValueOnChange); Boolean getRejectInvalidValueOnChange(); void setRequired(Boolean required); Boolean getRequired(); void setRequiredMessage(String requiredMessage); String getRequiredMessage(); void setRowSpan(int rowSpan); int getRowSpan(); void setSelectOnFocus(Boolean selectOnFocus); Boolean getSelectOnFocus(); void setShouldSaveValue(Boolean shouldSaveValue); Boolean getShouldSaveValue(); void setShowDisabled(Boolean showDisabled); Boolean getShowDisabled(); void setShowErrorIcon(Boolean showErrorIcon); Boolean getShowErrorIcon(); void setShowErrorStyle(Boolean showErrorStyle); Boolean getShowErrorStyle(); void setShowErrorText(Boolean showErrorText); Boolean getShowErrorText(); void setShowFocused(Boolean showFocused); Boolean getShowFocused(); void setShowFocusedIcons(Boolean showFocusedIcons); Boolean getShowFocusedIcons(); void setShowFocusedPickerIcon(Boolean showFocusedPickerIcon); Boolean getShowFocusedPickerIcon(); void setShowHint(Boolean showHint); Boolean getShowHint(); void setShowIcons(Boolean showIcons); Boolean getShowIcons(); void setShowOverIcons(Boolean showOverIcons); Boolean getShowOverIcons(); void setShowPickerIcon(Boolean showPickerIcon); Boolean getShowPickerIcon(); void setShowTitle(Boolean showTitle); Boolean getShowTitle(); void setShowValueIconOnly(Boolean showValueIconOnly); Boolean getShowValueIconOnly(); void setStartRow(Boolean startRow); Boolean getStartRow(); void setStopOnError(Boolean stopOnError); Boolean getStopOnError(); void setSuppressValueIcon(Boolean suppressValueIcon); Boolean getSuppressValueIcon(); void setSynchronousValidation(Boolean synchronousValidation); Boolean getSynchronousValidation(); void setTabIndex(Integer tabIndex); Integer getTabIndex(); void setTextAlign(Alignment textAlign); Alignment getTextAlign(); void setTextBoxStyle(String textBoxStyle); String getTextBoxStyle(); void setTimeFormatter(TimeDisplayFormat timeFormatter); TimeDisplayFormat getTimeFormatter(); void setTitle(String title); String getTitle(); void setTitleAlign(Alignment titleAlign); Alignment getTitleAlign(); void setTitleColSpan(int titleColSpan); int getTitleColSpan(); void setTitleOrientation(TitleOrientation titleOrientation); TitleOrientation getTitleOrientation(); void setTitleStyle(String titleStyle); String getTitleStyle(); void setTitleVAlign(VerticalAlignment titleVAlign); VerticalAlignment getTitleVAlign(); void setTop(int top); int getTop(); void setValidateOnChange(Boolean validateOnChange); Boolean getValidateOnChange(); void setValidateOnExit(Boolean validateOnExit); Boolean getValidateOnExit(); void setValidOperators(OperatorId... validOperators); OperatorId[] getValidOperators(); void setValueField(String valueField); String getValueField(); void setValueIconHeight(Integer valueIconHeight); Integer getValueIconHeight(); void setValueIconLeftPadding(int valueIconLeftPadding); int getValueIconLeftPadding(); void setValueIconRightPadding(int valueIconRightPadding); int getValueIconRightPadding(); void setValueIconSize(int valueIconSize); int getValueIconSize(); void setValueIconWidth(Integer valueIconWidth); Integer getValueIconWidth(); void setVisible(Boolean visible); Boolean getVisible(); void setWidth(int width); void setWrapTitle(Boolean wrapTitle); Boolean getWrapTitle(); void setName(String name); String getName(); void setErrorOrientation(FormErrorOrientation errorOrientation); void setType(String type); void setColSpan(String colSpan); void setColSpan(int colSpan); String getType(); void setDefaultValue(String defaultValue); void setDefaultValue(Integer defaultValue); void setDefaultValue(Date defaultValue); void setDefaultValue(Boolean defaultValue); void setDefaultValue(Float defaultValue); void setValueIcons(Map valueIcons); @Override void setWidth(String width); @Override void setHeight(String height); void setRedrawOnChange(boolean redrawOnChange); void enable(); void disable(); FormItemIcon[] getIcons(); void setIcons(FormItemIcon... icons); void setOptionDataSource(DataSource dataSource); Object getValue(); void setValue(Object value); @Override void changeVariables(Object source, Map<String, Object> variables); void addPropertyChangeListener(PropertyChangeListener listener); void addPropertyChangeListener(String propertyName, PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(String propertyName, PropertyChangeListener listener); @Override void paintContent(PaintTarget target); }
FormItem extends RefDataClass { public void setIcons(FormItemIcon... icons) { this.icons.set(icons); }  void setAccessKey(String accessKey); String getAccessKey(); void setAlign(Alignment align); Alignment getAlign(); void setAllowExpressions(Boolean allowExpressions); Boolean getAllowExpressions(); void setAlwaysFetchMissingValues(Boolean alwaysFetchMissingValues); Boolean getAlwaysFetchMissingValues(); void setBrowserSpellCheck(Boolean browserSpellCheck); Boolean getBrowserSpellCheck(); void setCanFocus(Boolean canFocus); Boolean getCanFocus(); void setCellHeight(Integer cellHeight); Integer getCellHeight(); void setCellStyle(String cellStyle); String getCellStyle(); void setCriteriaField(String criteriaField); String getCriteriaField(); void setDataPath(String dataPath); String getDataPath(); void setDefaultIconSrc(String defaultIconSrc); String getDefaultIconSrc(); void setDisabled(Boolean disabled); Boolean getDisabled(); void setDisplayField(String displayField); String getDisplayField(); void setEmptyDisplayValue(String emptyDisplayValue); String getEmptyDisplayValue(); void setEmptyValueIcon(String emptyValueIcon); String getEmptyValueIcon(); void setEndRow(Boolean endRow); Boolean getEndRow(); void setErrorIconHeight(int errorIconHeight); int getErrorIconHeight(); void setErrorIconSrc(String errorIconSrc); String getErrorIconSrc(); void setErrorIconWidth(int errorIconWidth); int getErrorIconWidth(); void setErrorMessageWidth(int errorMessageWidth); int getErrorMessageWidth(); void setFetchMissingValues(Boolean fetchMissingValues); Boolean getFetchMissingValues(); void setFilterLocally(Boolean filterLocally); Boolean getFilterLocally(); void setGlobalTabIndex(Integer globalTabIndex); Integer getGlobalTabIndex(); void setHeight(int height); void setHint(String hint); String getHint(); void setHintStyle(String hintStyle); String getHintStyle(); void setHoverAlign(Alignment hoverAlign); Alignment getHoverAlign(); void setHoverDelay(Integer hoverDelay); Integer getHoverDelay(); void setHoverHeight(Integer hoverHeight); Integer getHoverHeight(); 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 setIconHeight(int iconHeight); int getIconHeight(); void setIconPrompt(String iconPrompt); String getIconPrompt(); void setIconVAlign(VerticalAlignment iconVAlign); VerticalAlignment getIconVAlign(); void setIconWidth(int iconWidth); int getIconWidth(); void setImageURLPrefix(String imageURLPrefix); String getImageURLPrefix(); void setImageURLSuffix(String imageURLSuffix); String getImageURLSuffix(); void setImplicitSave(Boolean implicitSave); Boolean getImplicitSave(); void setImplicitSaveOnBlur(Boolean implicitSaveOnBlur); Boolean getImplicitSaveOnBlur(); void setInputFormat(String inputFormat); String getInputFormat(); void setLeft(int left); int getLeft(); void setLocateItemBy(String locateItemBy); String getLocateItemBy(); void setMultipleValueSeparator(String multipleValueSeparator); String getMultipleValueSeparator(); void setOperator(OperatorId operator); OperatorId getOperator(); void setOptionOperationId(String optionOperationId); String getOptionOperationId(); void setPickerIconHeight(Integer pickerIconHeight); Integer getPickerIconHeight(); void setPickerIconName(String pickerIconName); String getPickerIconName(); void setPickerIconSrc(String pickerIconSrc); String getPickerIconSrc(); void setPickerIconWidth(Integer pickerIconWidth); Integer getPickerIconWidth(); void setPrintTextBoxStyle(String printTextBoxStyle); String getPrintTextBoxStyle(); void setPrintTitleStyle(String printTitleStyle); String getPrintTitleStyle(); void setPrompt(String prompt); String getPrompt(); void setRejectInvalidValueOnChange(Boolean rejectInvalidValueOnChange); Boolean getRejectInvalidValueOnChange(); void setRequired(Boolean required); Boolean getRequired(); void setRequiredMessage(String requiredMessage); String getRequiredMessage(); void setRowSpan(int rowSpan); int getRowSpan(); void setSelectOnFocus(Boolean selectOnFocus); Boolean getSelectOnFocus(); void setShouldSaveValue(Boolean shouldSaveValue); Boolean getShouldSaveValue(); void setShowDisabled(Boolean showDisabled); Boolean getShowDisabled(); void setShowErrorIcon(Boolean showErrorIcon); Boolean getShowErrorIcon(); void setShowErrorStyle(Boolean showErrorStyle); Boolean getShowErrorStyle(); void setShowErrorText(Boolean showErrorText); Boolean getShowErrorText(); void setShowFocused(Boolean showFocused); Boolean getShowFocused(); void setShowFocusedIcons(Boolean showFocusedIcons); Boolean getShowFocusedIcons(); void setShowFocusedPickerIcon(Boolean showFocusedPickerIcon); Boolean getShowFocusedPickerIcon(); void setShowHint(Boolean showHint); Boolean getShowHint(); void setShowIcons(Boolean showIcons); Boolean getShowIcons(); void setShowOverIcons(Boolean showOverIcons); Boolean getShowOverIcons(); void setShowPickerIcon(Boolean showPickerIcon); Boolean getShowPickerIcon(); void setShowTitle(Boolean showTitle); Boolean getShowTitle(); void setShowValueIconOnly(Boolean showValueIconOnly); Boolean getShowValueIconOnly(); void setStartRow(Boolean startRow); Boolean getStartRow(); void setStopOnError(Boolean stopOnError); Boolean getStopOnError(); void setSuppressValueIcon(Boolean suppressValueIcon); Boolean getSuppressValueIcon(); void setSynchronousValidation(Boolean synchronousValidation); Boolean getSynchronousValidation(); void setTabIndex(Integer tabIndex); Integer getTabIndex(); void setTextAlign(Alignment textAlign); Alignment getTextAlign(); void setTextBoxStyle(String textBoxStyle); String getTextBoxStyle(); void setTimeFormatter(TimeDisplayFormat timeFormatter); TimeDisplayFormat getTimeFormatter(); void setTitle(String title); String getTitle(); void setTitleAlign(Alignment titleAlign); Alignment getTitleAlign(); void setTitleColSpan(int titleColSpan); int getTitleColSpan(); void setTitleOrientation(TitleOrientation titleOrientation); TitleOrientation getTitleOrientation(); void setTitleStyle(String titleStyle); String getTitleStyle(); void setTitleVAlign(VerticalAlignment titleVAlign); VerticalAlignment getTitleVAlign(); void setTop(int top); int getTop(); void setValidateOnChange(Boolean validateOnChange); Boolean getValidateOnChange(); void setValidateOnExit(Boolean validateOnExit); Boolean getValidateOnExit(); void setValidOperators(OperatorId... validOperators); OperatorId[] getValidOperators(); void setValueField(String valueField); String getValueField(); void setValueIconHeight(Integer valueIconHeight); Integer getValueIconHeight(); void setValueIconLeftPadding(int valueIconLeftPadding); int getValueIconLeftPadding(); void setValueIconRightPadding(int valueIconRightPadding); int getValueIconRightPadding(); void setValueIconSize(int valueIconSize); int getValueIconSize(); void setValueIconWidth(Integer valueIconWidth); Integer getValueIconWidth(); void setVisible(Boolean visible); Boolean getVisible(); void setWidth(int width); void setWrapTitle(Boolean wrapTitle); Boolean getWrapTitle(); void setName(String name); String getName(); void setErrorOrientation(FormErrorOrientation errorOrientation); void setType(String type); void setColSpan(String colSpan); void setColSpan(int colSpan); String getType(); void setDefaultValue(String defaultValue); void setDefaultValue(Integer defaultValue); void setDefaultValue(Date defaultValue); void setDefaultValue(Boolean defaultValue); void setDefaultValue(Float defaultValue); void setValueIcons(Map valueIcons); @Override void setWidth(String width); @Override void setHeight(String height); void setRedrawOnChange(boolean redrawOnChange); void enable(); void disable(); FormItemIcon[] getIcons(); void setIcons(FormItemIcon... icons); void setOptionDataSource(DataSource dataSource); Object getValue(); void setValue(Object value); @Override void changeVariables(Object source, Map<String, Object> variables); void addPropertyChangeListener(PropertyChangeListener listener); void addPropertyChangeListener(String propertyName, PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(String propertyName, PropertyChangeListener listener); @Override void paintContent(PaintTarget target); static final String PROPERTYNAME_VALUE; }