Class UnitBehavior

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

    public class UnitBehavior
    extends org.apache.wicket.behavior.Behavior
    This behavior stores the component id as it's markupId in the UnitSettings and if the request rendering this behavior is an Ajax-request, it will force the whole wireframe to re-render (since this unit might be added to an already existing wireframe).
    See Also:
    Serialized Form
    • Constructor Detail

      • UnitBehavior

        public UnitBehavior​(String position)
    • Method Detail

      • bind

        public void bind​(org.apache.wicket.Component component)
        Overrides:
        bind in class org.apache.wicket.behavior.Behavior
      • getPosition

        public String getPosition()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object