Package io.keikaiex.ui.dialog
Class HeaderSizeCtrl
- java.lang.Object
-
- org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zul.Window>
-
- io.keikaiex.ui.dialog.impl.DialogCtrlBase
-
- io.keikaiex.ui.dialog.impl.RefocusDialogCtrlBase
-
- io.keikaiex.ui.dialog.HeaderSizeCtrl
-
- 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 HeaderSizeCtrl extends RefocusDialogCtrlBase
- Author:
- Sam, dennis
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderSizeCtrl.HeaderType
-
Nested classes/interfaces inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
DialogCtrlBase.Entry
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARG_HEADER_SIZE
static String
ARG_HEADER_TYPE
protected org.zkoss.zul.Intbox
headerSize
protected HeaderSizeCtrl.HeaderType
headerType
protected Integer
size
protected org.zkoss.zul.Label
title
static String
URI
-
Fields inherited from class io.keikaiex.ui.dialog.impl.RefocusDialogCtrlBase
ARG_SPREADSHEET
-
Fields inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
ARG_CALLBACK, callback, ON_CANCEL, ON_OK
-
-
Constructor Summary
Constructors Constructor Description HeaderSizeCtrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doAfterCompose(org.zkoss.zul.Window comp)
protected void
initTitle(HeaderSizeCtrl.HeaderType target)
void
onCancel()
void
onOK()
static void
show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, HeaderSizeCtrl.HeaderType headrType, Integer headerSize, Spreadsheet ss)
-
Methods inherited from class io.keikaiex.ui.dialog.impl.RefocusDialogCtrlBase
detach
-
Methods inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
-
-
-
-
Field Detail
-
URI
public static String URI
-
ARG_HEADER_TYPE
public static String ARG_HEADER_TYPE
-
headerType
protected HeaderSizeCtrl.HeaderType headerType
-
ARG_HEADER_SIZE
public static String ARG_HEADER_SIZE
-
size
protected Integer size
-
title
protected org.zkoss.zul.Label title
-
headerSize
protected org.zkoss.zul.Intbox headerSize
-
-
Method Detail
-
show
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, HeaderSizeCtrl.HeaderType headrType, Integer headerSize, Spreadsheet ss)
-
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 classRefocusDialogCtrlBase
- Throws:
Exception
-
initTitle
protected void initTitle(HeaderSizeCtrl.HeaderType target)
-
onOK
public void onOK()
-
onCancel
public void onCancel()
-
-