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
ConstructorDescriptionFlexibleLabelModel
(org.apache.wicket.model.IModel<C> model, ItemPath path, ModelServiceLocator serviceLocator, GuiFlexibleLabelType configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalVariablesMap
(VariablesMap variables) void
detach()
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.model.IModel
as, 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:
getObject
in interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-
addAdditionalVariablesMap
-
setObject
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Specified by:
detach
in interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-