Class AudioCodeContext<D extends AudioCodeDelegate>

    • Method Detail

      • configure

        protected void configure​(CodeComponent<D> cmp,
                                 CodeContext<D> oldCtxt)
        Description copied from class: CodeContext
        A hook method that will be called when the CodeContext is configured on a component. It is called after controls, ports and refs have been configured. Subclasses may override this to do additional configuration. The default implementation does nothing.
        Overrides:
        configure in class CodeContext<D extends AudioCodeDelegate>
        Parameters:
        cmp - component being attached to
        oldCtxt - previous context, or null if there was none
      • hierarchyChanged

        protected void hierarchyChanged()
        Description copied from class: CodeContext
        Called when the hierarchy changes, which might be because the component hierarchy has changed (see Component.hierarchyChanged()), the context has been added or is being removed from the component, or for any other reason that cached information should be invalidated (eg. anything retrieved from the lookup). Subclasses may override this to handle such events / invalidate lookup results. The default implementation does nothing.
        Overrides:
        hierarchyChanged in class CodeContext<D extends AudioCodeDelegate>
      • tick

        protected void tick​(ExecutionContext source)
        Description copied from class: CodeContext
        Hook called by the clock listener on the execution context. The default implementation does nothing.
        Overrides:
        tick in class CodeContext<D extends AudioCodeDelegate>
        Parameters:
        source - execution context