Package snap.props

Class PropObjectProxy<T>

java.lang.Object
snap.props.PropObject
snap.props.PropObjectProxy<T>
All Implemented Interfaces:
PropChange.DoChange

public abstract class PropObjectProxy<T> extends PropObject
This class is meant to stand in for archival objects that aren't PropObject.
  • Field Details

    • _real

      protected T _real
  • Constructor Details

    • PropObjectProxy

      public PropObjectProxy()
  • Method Details

    • getReal

      public T getReal()
      Returns the real object.
    • getRealImpl

      protected T getRealImpl()
      Returns the real object.
    • setReal

      public void setReal(T aReal)
      Sets the real object.
    • initProps

      protected void initProps(PropSet aPropSet)
      Override to forward to Real if set.
      Overrides:
      initProps in class PropObject
    • getPropsForArchivalExtra

      public Prop[] getPropsForArchivalExtra()
      Override to forward to Real.
      Overrides:
      getPropsForArchivalExtra in class PropObject
    • getPropValue

      public Object getPropValue(String aPropName)
      Override to forward to Real.
      Overrides:
      getPropValue in class PropObject