public class FormatCellCtrl extends RefocusDialogCtrlBase
Modifier and Type | Class and Description |
---|---|
protected static class |
FormatCellCtrl.FormatItem |
static class |
FormatCellCtrl.InnerFillPattern |
static class |
FormatCellCtrl.InnerRotation |
DialogCtrlBase.Entry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARG_BACKGROUND_CODE |
static java.lang.String |
ARG_FILL_COLOR_CODE |
static java.lang.String |
ARG_FILL_PATTERN_CODE |
static java.lang.String |
ARG_FORMAT_CODE |
static java.lang.String |
ARG_ROTATION_CODE |
protected Color |
backColor |
protected org.zkoss.zkex.zul.Colorbox |
backColorbox |
protected java.lang.String[] |
categories |
protected Color |
fillColor |
protected org.zkoss.zkex.zul.Colorbox |
fillColorbox |
protected static java.util.Map<java.lang.String,FormatCellCtrl.FormatItem> |
FORMAT_ITEMS |
protected java.lang.String |
formatCode |
protected org.zkoss.zul.Listbox |
mfn_category |
protected org.zkoss.zk.ui.Component |
mfn_custom_box |
protected org.zkoss.zul.Textbox |
mfn_custom_value |
protected org.zkoss.zul.Listbox |
mfn_general |
protected CellStyle.FillPattern |
pattern |
protected boolean |
patternChanged |
protected org.zkoss.zul.Combobox |
patternCombobox |
protected org.zkoss.zul.ListModelList<FormatCellCtrl.InnerFillPattern> |
patternListmodel |
protected int |
rotation |
protected org.zkoss.zul.Combobox |
rotationCombobox |
protected org.zkoss.zul.ListModelList<FormatCellCtrl.InnerRotation> |
rotationListmodel |
protected org.zkoss.zul.Listbox |
selectedCategory |
protected static java.lang.String |
URI |
ARG_SPREADSHEET
callback, ON_CANCEL, ON_OK
Constructor and Description |
---|
FormatCellCtrl() |
Modifier and Type | Method and Description |
---|---|
void |
doAfterCompose(org.zkoss.zul.Window comp) |
void |
onBackColorChange() |
void |
onCancel() |
void |
onClick$okBtn() |
void |
onSelect$mfn_category(org.zkoss.zk.ui.event.SelectEvent event) |
protected void |
openFormatList(java.lang.String category,
int index) |
protected static void |
putFormatItem(java.lang.String c,
int i,
java.lang.String f,
int ci) |
protected void |
selectOption(org.zkoss.zul.Listbox lb) |
static void |
show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback,
java.lang.String formatCode,
Color backColor,
Color fillColor,
CellStyle.FillPattern fillPattern,
int rotation,
Spreadsheet ss) |
protected void |
showSelectFormatDialog() |
detach
getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
public static final java.lang.String ARG_FORMAT_CODE
public static final java.lang.String ARG_BACKGROUND_CODE
public static final java.lang.String ARG_FILL_COLOR_CODE
public static final java.lang.String ARG_FILL_PATTERN_CODE
public static final java.lang.String ARG_ROTATION_CODE
protected static final java.lang.String URI
protected static final java.util.Map<java.lang.String,FormatCellCtrl.FormatItem> FORMAT_ITEMS
protected java.lang.String formatCode
protected Color backColor
protected Color fillColor
protected CellStyle.FillPattern pattern
protected int rotation
protected java.lang.String[] categories
protected org.zkoss.zul.ListModelList<FormatCellCtrl.InnerFillPattern> patternListmodel
protected boolean patternChanged
protected org.zkoss.zul.ListModelList<FormatCellCtrl.InnerRotation> rotationListmodel
protected org.zkoss.zul.Listbox mfn_category
protected org.zkoss.zul.Listbox mfn_general
protected org.zkoss.zk.ui.Component mfn_custom_box
protected org.zkoss.zul.Textbox mfn_custom_value
protected org.zkoss.zul.Listbox selectedCategory
protected org.zkoss.zkex.zul.Colorbox backColorbox
protected org.zkoss.zkex.zul.Colorbox fillColorbox
protected org.zkoss.zul.Combobox patternCombobox
protected org.zkoss.zul.Combobox rotationCombobox
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback, java.lang.String formatCode, Color backColor, Color fillColor, CellStyle.FillPattern fillPattern, int rotation, Spreadsheet ss)
public void doAfterCompose(org.zkoss.zul.Window comp) throws java.lang.Exception
doAfterCompose
in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
doAfterCompose
in class RefocusDialogCtrlBase
java.lang.Exception
public void onSelect$mfn_category(org.zkoss.zk.ui.event.SelectEvent event)
protected void selectOption(org.zkoss.zul.Listbox lb)
protected void openFormatList(java.lang.String category, int index)
public void onClick$okBtn()
protected void showSelectFormatDialog()
public void onBackColorChange()
public void onCancel()
protected static void putFormatItem(java.lang.String c, int i, java.lang.String f, int ci)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.