Lines Matching refs:tooltip
41 * <code>TrayIcon</code> can have a tooltip (text), an image, a popup
50 * over the <code>TrayIcon</code> the tooltip is displayed.
89 private String tooltip;
177 * tooltip text.
180 * @param tooltip the string to be used as tooltip text; if the
181 * value is <code>null</code> no tooltip is shown
196 public TrayIcon(Image image, String tooltip) {
198 setToolTip(tooltip);
203 * tooltip and popup menu.
206 * @param tooltip the string to be used as tooltip text; if the
207 * value is <code>null</code> no tooltip is shown
226 public TrayIcon(Image image, String tooltip, PopupMenu popup) {
227 this(image, tooltip);
331 * Sets the tooltip string for this <code>TrayIcon</code>. The
332 * tooltip is displayed automatically when the mouse hovers over
333 * the icon. Setting the tooltip to <code>null</code> removes any
334 * tooltip text.
336 * When displayed, the tooltip string may be truncated on some platforms;
339 * @param tooltip the string for the tooltip; if the value is
340 * <code>null</code> no tooltip is shown
343 public void setToolTip(String tooltip) {
344 this.tooltip = tooltip;
348 peer.setToolTip(tooltip);
353 * Returns the tooltip string associated with this
356 * @return the tooltip string or <code>null</code> if none exists
360 return tooltip;
697 peer.setToolTip(tooltip);