Class AbstractProperty

java.lang.Object
org.praxislive.base.AbstractProperty
All Implemented Interfaces:
org.praxislive.core.Control

public abstract class AbstractProperty extends Object implements org.praxislive.core.Control
A basic property control base class.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(org.praxislive.core.Call call, org.praxislive.core.PacketRouter router)
     
    protected abstract org.praxislive.core.Value
    get()
    Get the value.
    protected abstract void
    set(long time, org.praxislive.core.Value arg)
    Set the value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractProperty

      public AbstractProperty()
  • Method Details

    • call

      public void call(org.praxislive.core.Call call, org.praxislive.core.PacketRouter router) throws Exception
      Specified by:
      call in interface org.praxislive.core.Control
      Throws:
      Exception
    • set

      protected abstract void set(long time, org.praxislive.core.Value arg) throws Exception
      Set the value.
      Parameters:
      time - clock time of set call
      arg - new property value
      Throws:
      Exception - if value setting fails
    • get

      protected abstract org.praxislive.core.Value get()
      Get the value.
      Returns:
      value