public interface ExcitationComponent extends ModelComponent
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExcitationComponent.CombinationRule
Combination rules for excitations.
|
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Method and Description |
|---|---|
void |
addExcitationSource(ExcitationComponent ex,
double gain)
Adds a new excitation source to this Excitable with a specified gain.
|
ExcitationComponent.CombinationRule |
getCombinationRule()
Return the combination rule for excitations.
|
double |
getExcitation()
Returns the primary excitation for this component.
|
double |
getExcitationGain(ExcitationComponent ex)
Gets the gain for an excitation source in this component.
|
double |
getNetExcitation()
Returns the net excitation for this Excitable.
|
boolean |
removeExcitationSource(ExcitationComponent ex)
Removes an excitation source from this Excitable.
|
void |
setCombinationRule(ExcitationComponent.CombinationRule rule)
Sets the rule for combining excitations.
|
void |
setExcitation(double e)
SetsJust reiterating the primary excitation for this component.
|
boolean |
setExcitationGain(ExcitationComponent ex,
double gain)
Sets the gain for an excitation source in this component.
|
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writevoid setCombinationRule(ExcitationComponent.CombinationRule rule)
rule - rule for combining excitationsExcitationComponent.CombinationRule getCombinationRule()
void setExcitation(double e)
e - excitation valuedouble getExcitation()
void addExcitationSource(ExcitationComponent ex, double gain)
ex - excitatation source to be addedgain - gain for the sourceboolean setExcitationGain(ExcitationComponent ex, double gain)
ex - excitatation source whose gain is to be modifiedgain - new gain for the sourcedouble getExcitationGain(ExcitationComponent ex)
ex - excitatation source whose gain is to be queriedboolean removeExcitationSource(ExcitationComponent ex)
ex - excitatation source to be removeddouble getNetExcitation()