Package snap.props
Class PropObjectProxy<T>
java.lang.Object
snap.props.PropObject
snap.props.PropObjectProxy<T>
- All Implemented Interfaces:
PropChange.DoChange
This class is meant to stand in for archival objects that aren't PropObject.
-
Field Summary
Fields inherited from class snap.props.PropObject
_pcs, EMPTY_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProp[]
Override to forward to Real.getPropValue
(String aPropName) Override to forward to Real.getReal()
Returns the real object.protected T
Returns the real object.protected void
Override to forward to Real if set.void
Sets the real object.Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, clone, firePropChange, firePropChange, firePropChange, getPropDefault, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsString, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener, setPropsString, setPropValue, setPropValues, toString, toStringProps
-
Field Details
-
_real
-
-
Constructor Details
-
PropObjectProxy
public PropObjectProxy()
-
-
Method Details
-
getReal
Returns the real object. -
getRealImpl
Returns the real object. -
setReal
Sets the real object. -
initProps
Override to forward to Real if set.- Overrides:
initProps
in classPropObject
-
getPropsForArchivalExtra
Override to forward to Real.- Overrides:
getPropsForArchivalExtra
in classPropObject
-
getPropValue
Override to forward to Real.- Overrides:
getPropValue
in classPropObject
-