|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--audiojury.domain.Instruction
Represents a text or audio instruction that is shown or played
back before a Project
or Test
starts.
An instruction
may contain both text and audio.
Constructor Summary | |
Instruction()
Creates a new instance of Instruction . |
|
Instruction(java.lang.String txt,
Sound snd)
Creates a new instance of Instruction . |
Method Summary | |
Sound |
getSound()
Gets the audio instruction (a Sound ). |
java.lang.String |
getText()
Gets the textual instruction. |
void |
setSound(Sound snd)
Sets the audio instruction. |
void |
setText(java.lang.String txt)
Sets the textual instruction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Instruction()
Instruction
.
public Instruction(java.lang.String txt, Sound snd)
Instruction
.
txt
- The text of the instruction
.snd
- A sound of the instruction
.Method Detail |
public java.lang.String getText()
instruction
.public void setText(java.lang.String txt)
txt
- The desired text for this instruction
.public Sound getSound()
Sound
).
Sound
object.public void setSound(Sound snd)
snd
- a Sound
containing the audio instruction.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |