Class PulseTrainUpdater.CurrentPulse

java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.neuro.updaters.PulseTrainUpdater.CurrentPulse
All Implemented Interfaces:
AttributeObject, InterfaceObject, NamedObject, TreeObject, CleanableObject
Enclosing class:
PulseTrainUpdater

public class PulseTrainUpdater.CurrentPulse
extends AbstractInterfaceObject
implements AttributeObject
  • Constructor Details

    • CurrentPulse

      public CurrentPulse​(int index, double delay, double duration, double amplitude)
  • Method Details

    • init

      protected void init()
    • isActive

      public boolean isActive​(double start, double step)
    • setIndex

      public void setIndex​(int index)
    • getIndex

      public int getIndex()
    • setDelay

      public void setDelay​(double offset)
    • setDuration

      public void setDuration​(double factor)
    • setAmplitude

      public void setAmplitude​(double step)
    • getDelay

      public double getDelay()
    • getDuration

      public double getDuration()
    • getAmplitude

      public double getAmplitude()
    • getAttribute

      public Attribute<?> getAttribute​(java.lang.String attrName)
      Description copied from interface: AttributeObject
      Returns a specific attribute for this object.
      Specified by:
      getAttribute in interface AttributeObject
      Returns:
    • getAttributes

      public AttributeList getAttributes()
      Description copied from interface: AttributeObject
      Returns the list of current attributes for this object.
      Specified by:
      getAttributes in interface AttributeObject
      Returns:
    • setAttribute

      public void setAttribute​(java.lang.String attrName, java.lang.Object newValue)
      Description copied from interface: AttributeObject
      Sets a value for a specific attribute.
      Specified by:
      setAttribute in interface AttributeObject
    • setAttributes

      public void setAttributes​(AttributeList thisList)
      Description copied from interface: AttributeObject
      Sets the list of attributes for this object.
      Specified by:
      setAttributes in interface AttributeObject
    • getAttributeValue

      public java.lang.Object getAttributeValue​(java.lang.String name)
      Description copied from interface: AttributeObject
      Gets the value of attribute name, or null if it does not exist.
      Specified by:
      getAttributeValue in interface AttributeObject
      Parameters:
      name - Name of the attribute
      Returns:
      the value of attribute name, or null if it does not exist
    • setTreeNode

      public void setTreeNode​(InterfaceTreeNode treeNode)
      Description copied from interface: TreeObject
      Sets the children for this node's InterfaceTreeNode.
      Specified by:
      setTreeNode in interface TreeObject
      Overrides:
      setTreeNode in class AbstractInterfaceObject
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object