View | Details | Raw Unified | Return to bug 41209
Collapse All | Expand All

(-)src/jorphan.orig/org/apache/jorphan/gui/JLabeledChoice.java (-1 / +21 lines)
Lines 266-269 Link Here
266
			}
266
			}
267
		}
267
		}
268
	}
268
	}
269
}
269
270
        /**
271
	 * Registers the text to display in a tool tip.
272
	 * The text displays when the cursor lingers over the component.
273
	 * @param text the string to display; if the text is null,
274
	 *      the tool tip is turned off for this component
275
	 */
276
	public void setToolTipText(String text) {
277
		choiceList.setToolTipText(text);
278
	}
279
280
	/**
281
	  * Returns the tooltip string that has been set with setToolTipText
282
	  * @return the text of the tool tip
283
	  */
284
	public String getToolTipText() {
285
		return choiceList.getToolTipText();
286
	}
287
288
289
}
(-)src/jorphan.orig/org/apache/jorphan/gui/JLabeledTextArea.java (-1 / +20 lines)
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
}
(-)src/jorphan.orig/org/apache/jorphan/gui/JLabeledTextField.java (+18 lines)
Lines 210-213 Link Here
210
		}
210
		}
211
	}
211
	}
212
212
213
        /**
214
	 * Registers the text to display in a tool tip.
215
	 * The text displays when the cursor lingers over the component.
216
	 * @param text the string to display; if the text is null,
217
	 *      the tool tip is turned off for this component
218
	 */
219
	public void setToolTipText(String text) {
220
		mTextField.setToolTipText(text);
221
	}
222
223
	/**
224
	  * Returns the tooltip string that has been set with setToolTipText
225
	  * @return the text of the tool tip
226
	  */
227
	public String getToolTipText() {
228
		return mTextField.getToolTipText();
229
	}
230
213
}
231
}

Return to bug 41209