hades.styx
Class WaveStdLogic1164
java.lang.Object
hades.styx.Waveform
hades.styx.WaveStdLogic1164
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.io.Serializable
- public class WaveStdLogic1164
- extends Waveform
- implements java.io.Serializable, java.awt.event.ActionListener
WaveStdLogic1164: store and manage waveform data for a Hades signal
of type SignalStdLogic1164.
Note that only the intValues are used by this class instead of the
full StdLogic1164 objects, in order to save memory.
- See Also:
- Serialized Form
Fields inherited from class hades.styx.Waveform |
debug, events, fill, fullName, in, name, pos, search_direction, search_time0, searchfrom, searchto, SIZE, times, trafo, WC |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addValue(java.lang.Object evt,
double time)
we override the addValue method from Waveform, because we don't store
full StdLogic1164 objects but only their intValues, to save memory. |
void |
clearData()
|
java.lang.Object |
getValue(double time)
returns the Value of an Event at a specified time |
void |
paint(java.awt.Graphics g)
method template for the graphical representation of this waveform. |
void |
reallocate()
need to override reallocate, because we want to reallocate the times[]
and the intValues[] arrays, but not the events[] array (unused by us). |
Methods inherited from class hades.styx.Waveform |
findEvent, findSpecialEvent, getFullName, getLabel, getMaxTime, getName, getPos, getTrafo, getValueAsString, gototime, msg, searchevent, searchMenu, setFullName, setName, setPos, setTrafo, setWaveCanvas |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IEEE_U
public static final int IEEE_U
- See Also:
- Constant Field Values
IEEE_X
public static final int IEEE_X
- See Also:
- Constant Field Values
IEEE_0
public static final int IEEE_0
- See Also:
- Constant Field Values
IEEE_1
public static final int IEEE_1
- See Also:
- Constant Field Values
IEEE_Z
public static final int IEEE_Z
- See Also:
- Constant Field Values
IEEE_L
public static final int IEEE_L
- See Also:
- Constant Field Values
IEEE_H
public static final int IEEE_H
- See Also:
- Constant Field Values
IEEE_W
public static final int IEEE_W
- See Also:
- Constant Field Values
IEEE_D
public static final int IEEE_D
- See Also:
- Constant Field Values
WaveStdLogic1164
public WaveStdLogic1164()
clearData
public void clearData()
- Overrides:
clearData
in class Waveform
addValue
public void addValue(java.lang.Object evt,
double time)
- we override the addValue method from Waveform, because we don't store
full StdLogic1164 objects but only their intValues, to save memory.
- Overrides:
addValue
in class Waveform
reallocate
public void reallocate()
- need to override reallocate, because we want to reallocate the times[]
and the intValues[] arrays, but not the events[] array (unused by us).
- Overrides:
reallocate
in class Waveform
getValue
public java.lang.Object getValue(double time)
- returns the Value of an Event at a specified time
- Overrides:
getValue
in class Waveform
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
paint
public void paint(java.awt.Graphics g)
- Description copied from class:
Waveform
- method template for the graphical representation of this waveform.
Subclass as needed.
- Overrides:
paint
in class Waveform