multivalent.std.ui

Class PhoneMe

public class PhoneMe extends Behavior

Play selected text as if on telephone touchtone. Touch-tone phone songs.

LATER: pauses, awareness of current phone number.

Version: $Revision: 1.2 $ $Date: 2002/02/01 06:50:57 $

See Also: LinkMarkup

Field Summary
static StringMSG_PLAY
Play characters in arg as on telephone touchtone.
Method Summary
voidphone(String number)
Ignores non-alnum, translate alpha to digit equivalent.
booleansemanticEventAfter(SemanticEvent se, String msg)
booleansemanticEventBefore(SemanticEvent se, String msg)

Field Detail

MSG_PLAY

public static final String MSG_PLAY
Play characters in arg as on telephone touchtone.

"touchtone": arg= java.lang.String letters-to-play.

Method Detail

phone

public void phone(String number)
Ignores non-alnum, translate alpha to digit equivalent. Other characters taken as pauses.

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se, String msg)

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)