Lines 202-205
Link Here
|
202 |
((ChangeListener) mChangeListeners.get(index)).stateChanged(ce); |
202 |
((ChangeListener) mChangeListeners.get(index)).stateChanged(ce); |
203 |
} |
203 |
} |
204 |
} |
204 |
} |
205 |
} |
205 |
|
|
|
206 |
/** |
207 |
* Registers the text to display in a tool tip. |
208 |
* The text displays when the cursor lingers over the component. |
209 |
* @param text the string to display; if the text is null, |
210 |
* the tool tip is turned off for this component |
211 |
*/ |
212 |
public void setToolTipText(String text) { |
213 |
mTextArea.setToolTipText(text); |
214 |
} |
215 |
|
216 |
/** |
217 |
* Returns the tooltip string that has been set with setToolTipText |
218 |
* @return the text of the tool tip |
219 |
*/ |
220 |
public String getToolTipText() { |
221 |
return mTextArea.getToolTipText(); |
222 |
} |
223 |
|
224 |
} |