Package io.keikaiex.ui.dialog
Class FormatCellCtrl
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.FormatCellCtrl
- 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>
- Author:
- Sam, dennis, JerryChen
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumNested classes/interfaces inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
DialogCtrlBase.EntryNested classes/interfaces inherited from class org.zkoss.zk.ui.select.SelectorComposer
org.zkoss.zk.ui.select.SelectorComposer.UtilityHandler, org.zkoss.zk.ui.select.SelectorComposer.UtilityHandlerImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringprotected Colorprotected org.zkoss.zkex.zul.Colorboxprotected String[]protected Colorprotected org.zkoss.zkex.zul.Colorboxstatic Map<String,FormatCellCtrl.FormatItem> protected Stringprotected org.zkoss.zul.Listboxprotected org.zkoss.zk.ui.Componentprotected org.zkoss.zul.Textboxprotected org.zkoss.zul.Listboxprotected CellStyle.FillPatternprotected booleanprotected org.zkoss.zul.Comboboxprotected org.zkoss.zul.ListModelList<FormatCellCtrl.InnerFillPattern>protected intprotected org.zkoss.zul.Comboboxprotected org.zkoss.zul.ListModelList<FormatCellCtrl.InnerRotation>protected org.zkoss.zul.Listboxstatic StringFields inherited from class io.keikaiex.ui.dialog.impl.RefocusDialogCtrlBase
ARG_SPREADSHEETFields inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
ARG_CALLBACK, callback, ON_CANCEL, ON_OKFields inherited from class org.zkoss.zk.ui.select.SelectorComposer
_resolvers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAfterCompose(org.zkoss.zul.Window comp) voidvoidonCancel()voidvoidonSelect$mfn_category(org.zkoss.zk.ui.event.SelectEvent event) protected voidopenFormatList(String category, int index) static voidputFormatItem(String c, int i, String f, int ci) protected voidselectOption(org.zkoss.zul.Listbox lb) static voidshow(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, String formatCode, Color backColor, Color fillColor, CellStyle.FillPattern fillPattern, int rotation, Spreadsheet ss) protected voidMethods inherited from class io.keikaiex.ui.dialog.impl.RefocusDialogCtrlBase
detachMethods inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallbackMethods inherited from class org.zkoss.zk.ui.select.SelectorComposer
alert, didActivate, doBeforeCompose, doBeforeComposeChildren, doCatch, doFinally, getPage, getSelf, getUtilityHandler, willClone, willPassivate
-
Field Details
-
ARG_FORMAT_CODE
-
ARG_BACKGROUND_CODE
-
ARG_FILL_COLOR_CODE
-
ARG_FILL_PATTERN_CODE
-
ARG_ROTATION_CODE
-
URI
-
FORMAT_ITEMS
-
formatCode
-
backColor
-
fillColor
-
pattern
-
rotation
protected int rotation -
categories
-
patternListmodel
-
patternChanged
protected boolean patternChanged -
rotationListmodel
-
mfn_category
protected org.zkoss.zul.Listbox mfn_category -
mfn_general
protected org.zkoss.zul.Listbox mfn_general -
mfn_custom_box
protected org.zkoss.zk.ui.Component mfn_custom_box -
mfn_custom_value
protected org.zkoss.zul.Textbox mfn_custom_value -
selectedCategory
protected org.zkoss.zul.Listbox selectedCategory -
backColorbox
protected org.zkoss.zkex.zul.Colorbox backColorbox -
fillColorbox
protected org.zkoss.zkex.zul.Colorbox fillColorbox -
patternCombobox
protected org.zkoss.zul.Combobox patternCombobox -
rotationCombobox
protected org.zkoss.zul.Combobox rotationCombobox
-
-
Constructor Details
-
FormatCellCtrl
public FormatCellCtrl()
-
-
Method Details
-
show
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, String formatCode, Color backColor, Color fillColor, CellStyle.FillPattern fillPattern, int rotation, Spreadsheet ss) -
doAfterCompose
- Specified by:
doAfterComposein interfaceorg.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>- Overrides:
doAfterComposein classRefocusDialogCtrlBase- Throws:
Exception
-
onSelect$mfn_category
public void onSelect$mfn_category(org.zkoss.zk.ui.event.SelectEvent event) -
selectOption
protected void selectOption(org.zkoss.zul.Listbox lb) -
openFormatList
-
onClick$okBtn
public void onClick$okBtn() -
showSelectFormatDialog
protected void showSelectFormatDialog() -
onBackColorChange
public void onBackColorChange() -
onCancel
public void onCancel() -
putFormatItem
-