1 /*
2 * $Id: IToolTipCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.component.capability;
6
7 /**
8 * ToolTip capability.
9 *
10 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
11 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
12 */
13 public interface IToolTipCapability {
14
15 /**
16 * Returns the receiver's tool tip text, or <code>null</code> if it has
17 * not been set.
18 *
19 * @return the receiver's tool tip text
20 */
21 String getToolTipText();
22
23 /**
24 * Sets the receiver's tool tip text to the argument, which may be
25 * <code>null</code> indicating that no tool tip text should be shown.
26 *
27 * @param text
28 * the new tool tip text (or <code>null</code>)
29 */
30 void setToolTipText(String text);
31 }