net.sf.jmorse
Class AudioMorseWriter

java.lang.Object
  extended by net.sf.jmorse.AbstractMorseWriter
      extended by net.sf.jmorse.AudioMorseWriter
All Implemented Interfaces:
MorseWriter
Direct Known Subclasses:
MorseAudioFileWriter

public class AudioMorseWriter
extends AbstractMorseWriter

Author:
Enrique Lara

Field Summary
protected  int tone
           
protected  int volume
           
 
Fields inherited from class net.sf.jmorse.AbstractMorseWriter
wpm
 
Constructor Summary
AudioMorseWriter()
           
AudioMorseWriter(int wpm, int tone, int volume)
           
AudioMorseWriter(Locale locale)
           
 
Method Summary
 int getTone()
           
 int getVolume()
           
 void setTone(int tone)
           
 void setVolume(int volume)
           
protected  void writeMorse(char[] msg, int len)
           
 
Methods inherited from class net.sf.jmorse.AbstractMorseWriter
getWpm, setLocale, setWpm, toMorse, toMorse, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

volume

protected int volume

tone

protected int tone
Constructor Detail

AudioMorseWriter

public AudioMorseWriter()

AudioMorseWriter

public AudioMorseWriter(Locale locale)

AudioMorseWriter

public AudioMorseWriter(int wpm,
                        int tone,
                        int volume)
Method Detail

getVolume

public int getVolume()

getTone

public int getTone()

setVolume

public void setVolume(int volume)

setTone

public void setTone(int tone)

writeMorse

protected void writeMorse(char[] msg,
                          int len)
Specified by:
writeMorse in class AbstractMorseWriter


Copyright © 2006-2010. All Rights Reserved.