Class LateChainingModel<T>
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.web.models.LateChainingModel<T>
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.wicket.model.IChainingModel<T>,org.apache.wicket.model.IComponentAssignedModel<T>,org.apache.wicket.model.IDetachable,org.apache.wicket.model.IModel<T>,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
LateChainingModel.WrappedLateChainingModel
public class LateChainingModel<T> extends java.lang.Object implements org.apache.wicket.model.IChainingModel<T>, org.apache.wicket.model.IComponentAssignedModel<T>A special chaining model that looks up its chained model reflectively on demand, which means it happens late, after the LateChainingModel is created.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classLateChainingModel.WrappedLateChainingModel<W>
-
Constructor Summary
Constructors Constructor Description LateChainingModel(java.io.Serializable object, java.lang.String getModelFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidattatch()voiddetach()org.apache.wicket.model.IModel<?>getChainedModel()TgetObject()voidsetChainedModel(org.apache.wicket.model.IModel model)voidsetObject(T object)org.apache.wicket.model.IWrapModel<T>wrapOnAssignment(org.apache.wicket.Component component)
-
-
-
Method Detail
-
attatch
protected void attatch()
-
getChainedModel
public org.apache.wicket.model.IModel<?> getChainedModel()
- Specified by:
getChainedModelin interfaceorg.apache.wicket.model.IChainingModel<T>
-
setChainedModel
public void setChainedModel(org.apache.wicket.model.IModel model)
- Specified by:
setChainedModelin interfaceorg.apache.wicket.model.IChainingModel<T>
-
getObject
public T getObject()
- Specified by:
getObjectin interfaceorg.apache.wicket.model.IModel<T>
-
setObject
public void setObject(T object)
- Specified by:
setObjectin interfaceorg.apache.wicket.model.IModel<T>
-
detach
public void detach()
- Specified by:
detachin interfaceorg.apache.wicket.model.IDetachable
-
-