Class FlexibleLabelModel<C extends Containerable>
java.lang.Object
com.evolveum.midpoint.gui.impl.model.FlexibleLabelModel<C>
- All Implemented Interfaces:
Serializable,org.apache.wicket.model.IDetachable,org.apache.wicket.model.IModel<String>,org.apache.wicket.util.io.IClusterable
public class FlexibleLabelModel<C extends Containerable>
extends Object
implements org.apache.wicket.model.IModel<String>
Model that returns string value for a flexible label. The label value defaults to
the value of a fixed property. But if an expression is specified then the value
is determined by the expression.
This implementation works on containerable models (not wrappers).
- Author:
- semancik
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlexibleLabelModel(org.apache.wicket.model.IModel<C> model, ItemPath path, ModelServiceLocator serviceLocator, GuiFlexibleLabelType configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAdditionalVariablesMap(VariablesMap variables) voiddetach()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wicket.model.IModel
combineWith, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
FlexibleLabelModel
public FlexibleLabelModel(org.apache.wicket.model.IModel<C> model, ItemPath path, ModelServiceLocator serviceLocator, GuiFlexibleLabelType configuration)
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-
addAdditionalVariablesMap
-
setObject
- Specified by:
setObjectin interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-
detach
public void detach()- Specified by:
detachin interfaceorg.apache.wicket.model.IDetachable- Specified by:
detachin interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-