Class CustomSortCtrl

  • All Implemented Interfaces:
    Serializable, org.zkoss.zk.ui.util.ComponentActivationListener, org.zkoss.zk.ui.util.ComponentCloneListener, org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>, org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zul.Window>

    public class CustomSortCtrl
    extends RefocusDialogCtrlBase
    Author:
    Sam, dennis
    See Also:
    Serialized Form
    • Field Detail

      • URI

        public static String URI
      • ARG_SELECTION

        public static String ARG_SELECTION
      • ARG_SHEET

        public static String ARG_SHEET
      • ARG_CASE_SENSITIVE

        public static String ARG_CASE_SENSITIVE
      • ARG_HAS_HEADER

        public static String ARG_HAS_HEADER
      • ARG_ORIENTATION

        public static String ARG_ORIENTATION
      • ARG_RULES

        public static String ARG_RULES
      • sortRuleModel

        protected org.zkoss.zul.ListModelList<CustomSortCtrl.SortRule> sortRuleModel
        Selected sort level target by user
      • availableSortIndex

        protected List<String> availableSortIndex
      • rangeCaption

        protected org.zkoss.zul.Caption rangeCaption
      • sortRuleBox

        protected org.zkoss.zul.Listbox sortRuleBox
      • caseSensitiveBox

        protected org.zkoss.zul.Checkbox caseSensitiveBox
      • hasHeaderBox

        protected org.zkoss.zul.Checkbox hasHeaderBox
      • sortOrientationBox

        protected org.zkoss.zul.Combobox sortOrientationBox
      • addBtn

        protected org.zkoss.zul.Button addBtn
      • delBtn

        protected org.zkoss.zul.Button delBtn
      • upBtn

        protected org.zkoss.zul.Button upBtn
      • downBtn

        protected org.zkoss.zul.Button downBtn
      • selection

        protected AreaRef selection
      • sheet

        protected Sheet sheet
      • sortRuleRenderer

        protected org.zkoss.zul.ListitemRenderer sortRuleRenderer
    • Constructor Detail

      • CustomSortCtrl

        public CustomSortCtrl()
    • Method Detail

      • doAfterCompose

        public void doAfterCompose​(org.zkoss.zul.Window comp)
                            throws Exception
        Specified by:
        doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
        Overrides:
        doAfterCompose in class RefocusDialogCtrlBase
        Throws:
        Exception
      • refreshSortRule

        protected void refreshSortRule()
      • updateAvailableList

        protected void updateAvailableList()
      • onSelect$sortRuleBox

        public void onSelect$sortRuleBox()
      • updateButtons

        protected void updateButtons()
      • onClick$addBtn

        public void onClick$addBtn()
      • onClick$delBtn

        public void onClick$delBtn()
      • onClick$upBtn

        public void onClick$upBtn()
      • onClick$downBtn

        public void onClick$downBtn()
      • onClick$okBtn

        public void onClick$okBtn()
      • onCheck$hasHeaderBox

        public void onCheck$hasHeaderBox()
      • onSelect$sortOrientationBox

        public void onSelect$sortOrientationBox()
      • onCancel

        public void onCancel()