Lines Matching refs:tooltip

550    * Creates a JButton with the given label and tooltip.
554 * @param tooltip
555 * the tooltip of the button.
556 * @return a JButton with the given label and tooltip.
558 public static JButton makeJButton(LocalizableMessage label, LocalizableMessage tooltip)
567 if (tooltip != null)
569 b.setToolTipText(tooltip.toString());
620 LocalizableMessage tooltip = getIconTooltip(iconName);
622 if (tooltip != null)
624 l.setToolTipText(tooltip.toString());
666 * Creates a JTextField with the given icon, tooltip text, size and text
671 * @param tooltip
672 * the tooltip text.
677 * @return a JTextField with the given icon, tooltip text, size and text
681 LocalizableMessage text, LocalizableMessage tooltip, int size, TextStyle style)
684 updateTextFieldComponent(f, text, tooltip, size, style);
690 * Creates a JPasswordField with the given icon, tooltip text, size and text
695 * @param tooltip
696 * the tooltip text.
701 * @return a JPasswordField with the given icon, tooltip text, size and text
705 LocalizableMessage text, LocalizableMessage tooltip, int size, TextStyle style)
708 updateTextFieldComponent(f, text, tooltip, size, style);
714 * Creates a JRadioButton with the given text, tooltip text and text style.
718 * @param tooltip
719 * the tooltip text.
722 * @return a JRadioButton with the given text, tooltip text and text style.
724 public static JRadioButton makeJRadioButton(LocalizableMessage text, LocalizableMessage tooltip, TextStyle style)
733 if (tooltip != null)
735 rb.setToolTipText(tooltip.toString());
743 * Creates a JCheckBox with the given text, tooltip text and text style.
747 * @param tooltip
748 * the tooltip text.
751 * @return a JCheckBox with the given text, tooltip text and text style.
753 public static JCheckBox makeJCheckBox(LocalizableMessage text, LocalizableMessage tooltip, TextStyle style)
762 if (tooltip != null)
764 cb.setToolTipText(tooltip.toString());
1231 * @param tooltip
1232 * the new tooltip text of the field.
1239 JTextField field, LocalizableMessage text, LocalizableMessage tooltip, int size, TextStyle textStyle)
1246 if (tooltip != null)
1248 field.setToolTipText(tooltip.toString());
1409 * Returns the icon tooltip text for the given IconType.
1412 * the IconType for which we want to get the tooltip text.
1413 * @return the icon tooltip text for the given IconType.