Class LateChainingModel<T>
java.lang.Object
com.inductiveautomation.ignition.gateway.web.models.LateChainingModel<T>
- All Implemented Interfaces:
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 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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattatch()voiddetach()org.apache.wicket.model.IModel<?>voidsetChainedModel(org.apache.wicket.model.IModel model) voidorg.apache.wicket.model.IWrapModel<T>wrapOnAssignment(org.apache.wicket.Component component)
-
Constructor Details
-
LateChainingModel
-
-
Method Details
-
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
- Specified by:
getObjectin interfaceorg.apache.wicket.model.IModel<T>
-
setObject
- Specified by:
setObjectin interfaceorg.apache.wicket.model.IModel<T>
-
detach
public void detach()- Specified by:
detachin interfaceorg.apache.wicket.model.IDetachable
-
wrapOnAssignment
public org.apache.wicket.model.IWrapModel<T> wrapOnAssignment(org.apache.wicket.Component component) - Specified by:
wrapOnAssignmentin interfaceorg.apache.wicket.model.IComponentAssignedModel<T>
-