Methods Summary |
---|
public void | dispose()
super.dispose();
|
public java.lang.String | getNotificationText()
return spokenText;
|
public void | hide()
super.hide();
// If the dialog goes away, be sure to stop talking.
mySynthesizer.stopSpeech();
|
public void | mouseClicked(java.awt.event.MouseEvent mouseEvent)
|
public void | mouseEntered(java.awt.event.MouseEvent mouseEvent)
|
public void | mouseExited(java.awt.event.MouseEvent mouseEvent)
|
public void | mousePressed(java.awt.event.MouseEvent mouseEvent)
if(mySynthesizer != null)
mySynthesizer.stopSpeech();
|
public void | mouseReleased(java.awt.event.MouseEvent mouseEvent)
|
public void | setNotificationText(java.lang.String inString)
spokenText = inString;
|
public void | show()
super.show();
// Get a synthesizer for this dialog
// if one isn't already available
if(mySynthesizer == null)
mySynthesizer = new Synthesizer();
// Start talking!
mySynthesizer.speakText(getNotificationText());
|