@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { synchronized (mySections) { for (TextSection section : mySections) { final TextAttributes attributes = section.getTextAttributes(); renderer.append(section.getText(), SimpleTextAttributes.fromTextAttributes(attributes)); } renderer.setIcon(myIcon); } }
public void customize(@NotNull final HtmlListCellRenderer renderer) { renderer.setIcon(getIcon()); renderer.append(getPrimaryText(), myTextAttributes); final String secondaryText = getSecondaryText(); if (!StringUtil.isEmptyOrSpaces(secondaryText)) { renderer.append(" (" + secondaryText + ")", myCommentAttributes); } }
@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { getHighlightedText().customize(renderer); renderer.setIcon(getIcon()); String toolTipText = getTarget().getNotEmptyDescription(); renderer.setToolTipText(toolTipText); }
@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { if (myAppearance != null) { myAppearance.customize(renderer); } else { super.customize(renderer); } }
@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { getHighlightedText().customize(renderer); renderer.setIcon(getIcon()); String toolTipText = getTooltipText(); renderer.setToolTipText(toolTipText); }
@Override public void customize(@Nonnull final HtmlListCellRenderer renderer) { synchronized (mySections) { for (TextSection section : mySections) { final TextAttributes attributes = section.getTextAttributes(); renderer.append(section.getText(), SimpleTextAttributes.fromTextAttributes(attributes)); } renderer.setIcon(myIcon); } }
public void customize(@Nonnull final HtmlListCellRenderer renderer) { renderer.setIcon(getIcon()); renderer.append(getPrimaryText(), myTextAttributes); final String secondaryText = getSecondaryText(); if (!StringUtil.isEmptyOrSpaces(secondaryText)) { renderer.append(" (" + secondaryText + ")", myCommentAttributes); } }
@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { renderer.setIcon(myIcon); renderer.append(myText, myTextAttributes); }
@Override public void customize(@NotNull HtmlListCellRenderer renderer) { }
@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { renderer.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES); }
@Override public void customize(@NotNull final HtmlListCellRenderer renderer) { renderer.setIcon(getIcon()); renderer.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES); }
@Override public void customize(@Nonnull final HtmlListCellRenderer renderer) { renderer.setIcon(myIcon); renderer.append(myText, myTextAttributes); }
@Override public void customize(@Nonnull HtmlListCellRenderer renderer) { }
void customize(@NotNull HtmlListCellRenderer renderer);
void customize(@Nonnull HtmlListCellRenderer renderer);