Change-Id: Iaa2f35415e68ecd4d53fd8743eb2c5cfb0afd36atags/7.0.0.beta9
@@ -421,63 +421,12 @@ public abstract class AbstractComponent extends AbstractClientConnector | |||
} | |||
} | |||
/** | |||
* <p> | |||
* Gets the component's description, used in tooltips and can be displayed | |||
* directly in certain other components such as forms. The description can | |||
* be used to briefly describe the state of the component to the user. The | |||
* description string may contain certain XML tags: | |||
* </p> | |||
* | |||
* <p> | |||
* <table border=1> | |||
* <tr> | |||
* <td width=120><b>Tag</b></td> | |||
* <td width=120><b>Description</b></td> | |||
* <td width=120><b>Example</b></td> | |||
* </tr> | |||
* <tr> | |||
* <td><b></td> | |||
* <td>bold</td> | |||
* <td><b>bold text</b></td> | |||
* </tr> | |||
* <tr> | |||
* <td><i></td> | |||
* <td>italic</td> | |||
* <td><i>italic text</i></td> | |||
* </tr> | |||
* <tr> | |||
* <td><u></td> | |||
* <td>underlined</td> | |||
* <td><u>underlined text</u></td> | |||
* </tr> | |||
* <tr> | |||
* <td><br></td> | |||
* <td>linebreak</td> | |||
* <td>N/A</td> | |||
* </tr> | |||
* <tr> | |||
* <td><ul><br> | |||
* <li>item1<br> | |||
* <li>item1<br> | |||
* </ul></td> | |||
* <td>item list</td> | |||
* <td> | |||
* <ul> | |||
* <li>item1 | |||
* <li>item2 | |||
* </ul> | |||
* </td> | |||
* </tr> | |||
* </table> | |||
* </p> | |||
* | |||
* <p> | |||
* These tags may be nested. | |||
* </p> | |||
/* | |||
* (non-Javadoc) | |||
* | |||
* @return component's description <code>String</code> | |||
* @see com.vaadin.ui.Component#getDescription() | |||
*/ | |||
@Override | |||
public String getDescription() { | |||
return getState().description; | |||
} |
@@ -646,6 +646,65 @@ public interface Component extends ClientConnector, Sizeable, Serializable { | |||
*/ | |||
public String getId(); | |||
/** | |||
* <p> | |||
* Gets the component's description, used in tooltips and can be displayed | |||
* directly in certain other components such as forms. The description can | |||
* be used to briefly describe the state of the component to the user. The | |||
* description string may contain certain XML tags: | |||
* </p> | |||
* | |||
* <p> | |||
* <table border=1> | |||
* <tr> | |||
* <td width=120><b>Tag</b></td> | |||
* <td width=120><b>Description</b></td> | |||
* <td width=120><b>Example</b></td> | |||
* </tr> | |||
* <tr> | |||
* <td><b></td> | |||
* <td>bold</td> | |||
* <td><b>bold text</b></td> | |||
* </tr> | |||
* <tr> | |||
* <td><i></td> | |||
* <td>italic</td> | |||
* <td><i>italic text</i></td> | |||
* </tr> | |||
* <tr> | |||
* <td><u></td> | |||
* <td>underlined</td> | |||
* <td><u>underlined text</u></td> | |||
* </tr> | |||
* <tr> | |||
* <td><br></td> | |||
* <td>linebreak</td> | |||
* <td>N/A</td> | |||
* </tr> | |||
* <tr> | |||
* <td><ul><br> | |||
* <li>item1<br> | |||
* <li>item1<br> | |||
* </ul></td> | |||
* <td>item list</td> | |||
* <td> | |||
* <ul> | |||
* <li>item1 | |||
* <li>item2 | |||
* </ul> | |||
* </td> | |||
* </tr> | |||
* </table> | |||
* </p> | |||
* | |||
* <p> | |||
* These tags may be nested. | |||
* </p> | |||
* | |||
* @return component's description <code>String</code> | |||
*/ | |||
public String getDescription(); | |||
/* Component event framework */ | |||
/** |