001    package echopoint.able;
002    
003    /* 
004     * This file is part of the Echo Point Project.  This project is a collection
005     * of Components that have extended the Echo Web Application Framework.
006     *
007     * Version: MPL 1.1/GPL 2.0/LGPL 2.1
008     *
009     * The contents of this file are subject to the Mozilla Public License Version
010     * 1.1 (the "License"); you may not use this file except in compliance with
011     * the License. You may obtain a copy of the License at
012     * http://www.mozilla.org/MPL/
013     *
014     * Software distributed under the License is distributed on an "AS IS" basis,
015     * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
016     * for the specific language governing rights and limitations under the
017     * License.
018     *
019     * Alternatively, the contents of this file may be used under the terms of
020     * either the GNU General Public License Version 2 or later (the "GPL"), or
021     * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
022     * in which case the provisions of the GPL or the LGPL are applicable instead
023     * of those above. If you wish to allow use of your version of this file only
024     * under the terms of either the GPL or the LGPL, and not to allow others to
025     * use your version of this file under the terms of the MPL, indicate your
026     * decision by deleting the provisions above and replace them with the notice
027     * and other provisions required by the GPL or the LGPL. If you do not delete
028     * the provisions above, a recipient may use your version of this file under
029     * the terms of any one of the MPL, the GPL or the LGPL.
030     */
031    
032    /**
033     * The <code>ToolTipable</code> interface is used to set tool tip text which 
034     * is displayed when the mouse cursor is hovered over the <code>ToolTipable</code>.
035     */
036    public interface ToolTipable extends Delegateable {
037    
038            public static final String PROPERTY_TOOL_TIP_TEXT = "toolTipText";
039    
040              /**
041         * Returns the tool tip text (displayed when the mouse cursor is hovered 
042         * over the ToolTipable).
043         * 
044         * @return the tool tip text
045         */
046            public String getToolTipText();
047    
048            /**
049             * Sets the tool tip text (displayed when the mouse cursor is hovered over
050             * the ToolTipable).
051             * 
052             * @param newValue
053             *            the new tool tip text
054             */
055            public void setToolTipText(String newValue);
056    }