Class SortableBehavior

    • Field Detail

      • uiSortableJs

        public static final org.wicketstuff.jwicket.JQueryResourceReference uiSortableJs
      • jWicketSortJs

        public static final org.wicketstuff.jwicket.JQueryResourceReference jWicketSortJs
      • options

        protected org.wicketstuff.jwicket.JsMap options
    • Constructor Detail

      • SortableBehavior

        public SortableBehavior()
    • Method Detail

      • setPlaceholder

        public SortableBehavior setPlaceholder​(String value)
        Sets the 'placeholder' property for this sortable. Please consult the jquery documentation for a detailled description of this property.
        Parameters:
        value - the placeholder css class name
        Returns:
        this object
      • setPlaceholder

        public SortableBehavior setPlaceholder()
        Sets the default 'placeholder' property for this sortable: 'ui-state-highlight'. Please consult the jquery documentation for a detailled description of this property.
        Returns:
        this object
      • respond

        protected void respond​(AjaxRequestTarget target)
        Handles the event processing during sorting.
        Overrides:
        respond in class org.wicketstuff.jwicket.JQueryAjaxBehavior
      • connectWith

        public void connectWith​(Sortable<?> other)
      • getJsBuilder

        protected org.wicketstuff.jwicket.JQueryAjaxBehavior.JsBuilder getJsBuilder()
        Specified by:
        getJsBuilder in class org.wicketstuff.jwicket.JQueryDurableAjaxBehavior
      • getCssResources

        public org.wicketstuff.jwicket.JQueryCssResourceReference[] getCssResources()
        Specified by:
        getCssResources in interface org.wicketstuff.jwicket.IStyleResolver