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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlexibleLabelModel(org.apache.wicket.model.IModel<C> model, ItemPath path, ModelServiceLocator serviceLocator, GuiFlexibleLabelType configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalVariablesMap(VariablesMap variables)
void
detach()
String
getObject()
void
setObject(String object)
-
-
-
Constructor Detail
-
FlexibleLabelModel
public FlexibleLabelModel(org.apache.wicket.model.IModel<C> model, ItemPath path, ModelServiceLocator serviceLocator, GuiFlexibleLabelType configuration)
-
-
Method Detail
-
getObject
public String getObject()
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<C extends Containerable>
-
addAdditionalVariablesMap
protected void addAdditionalVariablesMap(VariablesMap variables)
-
setObject
public void setObject(String object)
- 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>
-
-