Class P3DCodeContext

java.lang.Object
org.praxislive.code.CodeContext<P3DCodeDelegate>
org.praxislive.video.pgl.code.P3DCodeContext

public class P3DCodeContext extends CodeContext<P3DCodeDelegate>
  • Constructor Details

  • Method Details

    • configure

      protected void configure(CodeComponent<P3DCodeDelegate> cmp, CodeContext<P3DCodeDelegate> 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<P3DCodeDelegate>
      Parameters:
      cmp - component being attached to
      oldCtxt - previous context, or null if there was none
    • onInit

      public void onInit()
      Description copied from class: CodeContext
      Hook called when the code context becomes active, either as a result of the execution context becoming active or the code context being attached to a component within an active execution context.
      Overrides:
      onInit in class CodeContext<P3DCodeDelegate>
    • onReset

      protected void onReset()
      Description copied from class: CodeContext
      Hook called when the context is being reset.
      Overrides:
      onReset in class CodeContext<P3DCodeDelegate>
    • onStop

      protected void onStop()
      Description copied from class: CodeContext
      Hook called when the execution context is stopping.
      Overrides:
      onStop in class CodeContext<P3DCodeDelegate>
    • 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<P3DCodeDelegate>
      Parameters:
      source - execution context