public class ProtectSheetCtrl extends DialogCtrlBase
DialogCtrlBase.Entry
Modifier and Type | Field and 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 |
ARG_CALLBACK, callback, ON_CANCEL, ON_OK
Constructor and Description |
---|
ProtectSheetCtrl() |
Modifier and Type | Method and 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() |
detach, getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
public static String URI
public static String ARG_PASSWORD
public static String ARG_SHEET_PROTECTION
public static String ARG_ALLOW_OPTIONS
protected org.zkoss.zul.Button okBtn
protected org.zkoss.zul.Checkbox checkbox
protected org.zkoss.zul.Textbox passwordBox
protected org.zkoss.zul.Listbox allowedOptions
protected org.zkoss.zul.Listitem lockCells
protected org.zkoss.zul.Listitem unlockCells
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 insertRows
protected org.zkoss.zul.Listitem insertHyperlinks
protected org.zkoss.zul.Listitem deleteColumns
protected org.zkoss.zul.Listitem deleteRows
protected org.zkoss.zul.Listitem sort
protected org.zkoss.zul.Listitem autoFilter
protected org.zkoss.zul.Listitem editObjects
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, SheetProtection sheetProtection)
public void doAfterCompose(org.zkoss.zul.Window comp) throws Exception
doAfterCompose
in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
doAfterCompose
in class DialogCtrlBase
Exception
public void onOK()
public void onCheck()
public void onCancel()
public void selectUnlockCells()
public void unselectLockCells()
protected void postData()
protected void initialOptions(SheetProtection sheetProtection)
Copyright © 2020. All rights reserved.