Class ProtectSheetCtrl

  • 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 ProtectSheetCtrl
    extends DialogCtrlBase
    Author:
    RaymondChao
    See Also:
    Serialized Form
    • Field Detail

      • URI

        public static String URI
      • ARG_PASSWORD

        public static String ARG_PASSWORD
      • ARG_SHEET_PROTECTION

        public static String ARG_SHEET_PROTECTION
      • ARG_ALLOW_OPTIONS

        public static String ARG_ALLOW_OPTIONS
      • okBtn

        protected org.zkoss.zul.Button okBtn
      • checkbox

        protected org.zkoss.zul.Checkbox checkbox
      • passwordBox

        protected org.zkoss.zul.Textbox passwordBox
      • allowedOptions

        protected org.zkoss.zul.Listbox allowedOptions
      • lockCells

        protected org.zkoss.zul.Listitem lockCells
      • unlockCells

        protected org.zkoss.zul.Listitem unlockCells
      • formatCells

        protected org.zkoss.zul.Listitem formatCells
      • formatColumns

        protected org.zkoss.zul.Listitem formatColumns
      • formatRows

        protected org.zkoss.zul.Listitem formatRows
      • insertColumns

        protected org.zkoss.zul.Listitem insertColumns
      • insertRows

        protected org.zkoss.zul.Listitem insertRows
      • insertHyperlinks

        protected org.zkoss.zul.Listitem insertHyperlinks
      • deleteColumns

        protected org.zkoss.zul.Listitem deleteColumns
      • deleteRows

        protected org.zkoss.zul.Listitem deleteRows
      • sort

        protected org.zkoss.zul.Listitem sort
      • autoFilter

        protected org.zkoss.zul.Listitem autoFilter
      • editObjects

        protected org.zkoss.zul.Listitem editObjects
    • Constructor Detail

      • ProtectSheetCtrl

        public ProtectSheetCtrl()
    • 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 DialogCtrlBase
        Throws:
        Exception
      • onOK

        public void onOK()
      • onCheck

        public void onCheck()
      • onCancel

        public void onCancel()
      • selectUnlockCells

        public void selectUnlockCells()
      • unselectLockCells

        public void unselectLockCells()
      • postData

        protected void postData()
      • initialOptions

        protected void initialOptions​(SheetProtection sheetProtection)