pzapplet
Class LinearSystemHolder
java.lang.Object
pzapplet.LinearSystemHolder
- public class LinearSystemHolder
- extends java.lang.Object
This Class contains all the LinearSystems to be graphed.
Each LinearSystem object is a combination of a frequency and step
response.
- Author:
- Brian Williams
Constructor Summary |
LinearSystemHolder()
Creates a new Frequency/StepResponse Response container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearSystemHolder
public LinearSystemHolder()
- Creates a new Frequency/StepResponse Response container.
This class holds related Frequency and StepResponse Response pairs.
A LinearSystem can be represented by both or just one system response
output, but for the purpose of keeping each system represented
in a different object, they are all stored as pairs.
addSystem
public void addSystem(FreqResponse f,
StepResponse s)
- Parameters:
f
- - Frequency response of a systems
- - StepResponse response of a system
addSystem
public void addSystem(LinearSystem sys)
- Parameters:
sys
- - A full LinearSystem
addSystem
public void addSystem(FreqResponse f)
- Parameters:
f
- - Frequency response of a system
addSystem
public void addSystem(StepResponse s)
- Parameters:
s
- - StepResponse response of a system
getAllSystems
public java.util.Vector getAllSystems()
- Returns:
- A Vector of all Systems contained in this
deleteAllSystems
public void deleteAllSystems()
- Replaces the current Vector of systems with an empty vector
getAllFreqs
public FreqResponse[] getAllFreqs()
- Returns:
- A Vector containing the Frequency response of all
Systems of this
The Vector contains null for each LinearSystem with no frequency
response specified.
getAllSteps
public StepResponse[] getAllSteps()
- Returns:
- A Vector containing the StepResponse response of all
Systems of this
The Vector contains null for each LinearSystem with no step response
specified.