Examples of AudioAction


Examples of org.sodbeans.tod.audio.AudioAction

    public void steppedOver(StateInfo info) {
        String stepAudio = "";
        if (info.hasNext()) {
            ProgramStep step = info.next();

            AudioAction action = map.get(step.getType());
            action.setStep(step);
            stepAudio = action.speak();
        }
        // Speak the text (if any), plus the line number and class.
        int lineNumber = info.getLineNumber();
        String className = TODCompilerUtils.friendlyClassName(info.getClassInfo().getFullyQualifiedName());
        String lineNumberAndClassName = lineNumber + " " + className;
View Full Code Here

Examples of org.sodbeans.tod.audio.AudioAction

        if (!info.hasNext()) {
            return;
        }
        ProgramStep step = info.next();
       
        AudioAction action = map.get(step.getType());
        action.setStep(step);
        if(TextToSpeechOptions.isScreenReading()) {
            speech.speak(action.speak(), SpeechPriority.HIGH);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.