/** * Adds a help icon at the top right corner of the field set. * * @param tooltip * @return The created IconPanel. */ public IconPanel addHelpIcon(final String tooltip, final FieldSetIconPosition iconPosition) { final IconPanel icon = new IconPanel(newIconChildId(), IconType.HELP, tooltip).setColor(CSSColor.GRAY); add(icon, iconPosition); return icon; }
/** * Adds a help icon at the top right corner of the field set. * * @param tooltip * @return The created IconPanel. */ public IconPanel addHelpIcon(final IModel<String> tooltip) { final IconPanel icon = new IconPanel(newIconChildId(), IconType.HELP, tooltip).setColor(CSSColor.GRAY); add(icon, FieldSetIconPosition.TOP_RIGHT); return icon; }
/** * Adds a keyboard icon at the bottom right corner of the field set. * * @param tooltip * @return this for chaining. */ public FieldsetPanel addKeyboardHelpIcon(final String tooltip) { return add(new IconPanel(newIconChildId(), IconType.KEYBOARD, tooltip).setColor(CSSColor.GRAY), FieldSetIconPosition.BOTTOM_RIGHT); }
/** * Adds a keyboard icon at the bottom right corner of the field set. * * @param tooltip * @return this for chaining. */ public FieldsetPanel addKeyboardHelpIcon(final IModel<String> title, final IModel<String> tooltip) { return add(new IconPanel(newIconChildId(), IconType.KEYBOARD, title, tooltip).setColor(CSSColor.GRAY), FieldSetIconPosition.BOTTOM_RIGHT); }
/** * Adds a JIRA icon at the bottom right corner of the field set (only if JIRA is configured, otherwise this method does nothing). This * method is automatically called by {@link #addJIRAField()}. * * @param tooltip * @return this for chaining. */ public FieldsetPanel addJIRASupportHelpIcon() { if (WicketUtils.isJIRAConfigured() == true) { return add(WicketUtils.getJIRASupportTooltipIcon(this).setColor(CSSColor.GRAY), FieldSetIconPosition.TOP_RIGHT); } else { // No JIRA configured. return this; } }
/** * Adds a help icon at the top right corner of the field set. * * @param title * @param tooltip * @param iconPosition * @return The created IconPanel. */ public IconPanel addHelpIcon(final IModel<String> title, final IModel<String> tooltip, final FieldSetIconPosition iconPosition) { final IconPanel icon = new IconPanel(newIconChildId(), IconType.HELP, title, tooltip).setColor(CSSColor.GRAY); add(icon, iconPosition); return icon; }
/** * Adds a JIRA icon at the bottom right corner of the field set (only if JIRA is configured, otherwise this method does nothing). * * @param tooltip * @return this for chaining. */ public FieldsetPanel addJIRAField(final IModel<String> model) { if (WicketUtils.isJIRAConfigured() == true) { add(new JiraIssuesPanel(newChildId(), model)); add(WicketUtils.getJIRASupportTooltipIcon(this).setColor(CSSColor.GRAY), FieldSetIconPosition.TOP_RIGHT); } return this; }
.add(new IconPanel("selectMeHelp", IconType.USER, getString("tooltip.selectMe")).setColor(CSSColor.GREEN)); return this;
divContainer.add(unselectButton); unselectButton.add(new IconPanel("unselectHelp", IconType.REMOVE_SIGN, getString(I18N_KEY_UNSELECT_SKILL_TOOLTIP)) .setColor(CSSColor.RED));
unselectButton.setDefaultFormProcessing(false); divContainer.add(unselectButton); unselectButton.add(new IconPanel("unselectHelp", IconType.REMOVE_SIGN, getString("tooltip.unselectTask")).setColor(CSSColor.RED));