Class FlexibleLabelModel<C extends Containerable>

  • 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
    • Method Detail

      • getObject

        public String getObject()
        Specified by:
        getObject in interface org.apache.wicket.model.IModel<C extends Containerable>
      • addAdditionalVariablesMap

        protected void addAdditionalVariablesMap​(VariablesMap variables)
      • setObject

        public void setObject​(String object)
        Specified by:
        setObject in interface org.apache.wicket.model.IModel<C extends Containerable>
      • detach

        public void detach()
        Specified by:
        detach in interface org.apache.wicket.model.IDetachable
        Specified by:
        detach in interface org.apache.wicket.model.IModel<C extends Containerable>