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 class
LateChainingModel.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 void
attatch()
void
detach()
org.apache.wicket.model.IModel<?>
getChainedModel()
T
getObject()
void
setChainedModel(org.apache.wicket.model.IModel model)
void
setObject(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:
getChainedModel
in interfaceorg.apache.wicket.model.IChainingModel<T>
-
setChainedModel
public void setChainedModel(org.apache.wicket.model.IModel model)
- Specified by:
setChainedModel
in interfaceorg.apache.wicket.model.IChainingModel<T>
-
getObject
public T getObject()
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<T>
-
setObject
public void setObject(T object)
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<T>
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-