Package io.keikaiex.ui.dialog
Class ProtectSheetCtrl
- java.lang.Object
-
- org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zul.Window>
-
- io.keikaiex.ui.dialog.impl.DialogCtrlBase
-
- io.keikaiex.ui.dialog.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
DialogCtrlBase.Entry
-
-
Field Summary
Fields Modifier and Type Field Description protected org.zkoss.zul.Listbox
allowedOptions
static String
ARG_ALLOW_OPTIONS
static String
ARG_PASSWORD
static String
ARG_SHEET_PROTECTION
protected org.zkoss.zul.Listitem
autoFilter
protected org.zkoss.zul.Checkbox
checkbox
protected org.zkoss.zul.Listitem
deleteColumns
protected org.zkoss.zul.Listitem
deleteRows
protected org.zkoss.zul.Listitem
editObjects
protected org.zkoss.zul.Listitem
formatCells
protected org.zkoss.zul.Listitem
formatColumns
protected org.zkoss.zul.Listitem
formatRows
protected org.zkoss.zul.Listitem
insertColumns
protected org.zkoss.zul.Listitem
insertHyperlinks
protected org.zkoss.zul.Listitem
insertRows
protected org.zkoss.zul.Listitem
lockCells
protected org.zkoss.zul.Button
okBtn
protected org.zkoss.zul.Textbox
passwordBox
protected org.zkoss.zul.Listitem
sort
protected org.zkoss.zul.Listitem
unlockCells
static String
URI
-
Fields inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
ARG_CALLBACK, callback, ON_CANCEL, ON_OK
-
-
Constructor Summary
Constructors Constructor Description ProtectSheetCtrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doAfterCompose(org.zkoss.zul.Window comp)
protected void
initialOptions(SheetProtection sheetProtection)
void
onCancel()
void
onCheck()
void
onOK()
protected void
postData()
void
selectUnlockCells()
static void
show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, SheetProtection sheetProtection)
void
unselectLockCells()
-
Methods inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
detach, getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
-
-
-
-
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
-
-
Method Detail
-
show
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, SheetProtection sheetProtection)
-
doAfterCompose
public void doAfterCompose(org.zkoss.zul.Window comp) throws Exception
- Specified by:
doAfterCompose
in interfaceorg.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
- Overrides:
doAfterCompose
in classDialogCtrlBase
- 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)
-
-