|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthades.simulator.SimObject
hades.models.gates.GenericGate
hades.models.meta.AudioPlayer
AudioPlayer - a basic audio player with StdLogic1164 control input...
| Field Summary | |
(package private) java.awt.Frame |
frame
|
| Fields inherited from class hades.models.gates.GenericGate |
t_delay |
| Fields inherited from class hades.simulator.SimObject |
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible |
| Constructor Summary | |
AudioPlayer()
|
|
| Method Summary | |
void |
configure()
create and display a 'ConfigDialog' to set the parameters for a SimObject. |
SimObject |
copy()
create a copy of the current AudioPlayer with the same audio file |
void |
elaborate(java.lang.Object arg)
elaborate(): This method is called by the simulation engine to initialize the simulation object. |
void |
evaluate(java.lang.Object arg)
evaluate(): called by the simulation engine on all events that concern this object. |
java.lang.String |
getAudioResourceName()
|
java.lang.String[] |
getExternalResources()
return a String[] array of length 1 with our current audio resource. |
java.awt.Component |
getPropertySheet()
return a reference to the 'property sheet' or configuration window for this SimObject. |
boolean |
initialize(java.lang.String s)
initialize a GenericGate from a String that contains the integer version id of this gate and its propagation delay (in seconds), e.g. |
boolean |
needsExternalResources()
we use one external resource: the audio data file/resource. |
void |
setAudioResourceName(java.lang.String s)
|
java.lang.String |
toString()
toString() - the usual info method |
void |
write(java.io.PrintWriter ps)
write "versionId" and gate delay "t_delay" |
| Methods inherited from class hades.models.gates.GenericGate |
getDelay, getToolTip, scheduleEvent, scheduleEventAfter, scheduleOutputValue, scheduleOutputValueAfter, setDelay, setDelay |
| Methods inherited from class hades.simulator.SimObject |
constructDynamicSymbol, getBindkey, getClassLoader, getDebug, getEditor, getFullName, getName, getParent, getPort, getPorts, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hades.simulator.Simulatable |
message |
| Field Detail |
java.awt.Frame frame
| Constructor Detail |
public AudioPlayer()
| Method Detail |
public java.lang.String getAudioResourceName()
public void setAudioResourceName(java.lang.String s)
public boolean needsExternalResources()
needsExternalResources in class SimObjectpublic java.lang.String[] getExternalResources()
getExternalResources in class SimObjectpublic void elaborate(java.lang.Object arg)
elaborate in interface Simulatableelaborate in class GenericGatepublic void evaluate(java.lang.Object arg)
evaluate in interface Simulatableevaluate in class SimObjectarg - an arbitrary object argumentpublic boolean initialize(java.lang.String s)
GenericGate
initialize in class GenericGatepublic void write(java.io.PrintWriter ps)
GenericGate
write in class GenericGatepublic void configure()
SimObject
configure in class GenericGatepublic java.awt.Component getPropertySheet()
SimObject
getPropertySheet in class SimObjectpublic SimObject copy()
copy in class GenericGatepublic java.lang.String toString()
toString in class SimObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||