Class 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>

    public class FormatCellCtrl
    extends RefocusDialogCtrlBase
    Author:
    Sam, dennis, JerryChen
    See Also:
    Serialized Form
    • Field Detail

      • ARG_FORMAT_CODE

        public static String ARG_FORMAT_CODE
      • ARG_BACKGROUND_CODE

        public static String ARG_BACKGROUND_CODE
      • ARG_FILL_COLOR_CODE

        public static String ARG_FILL_COLOR_CODE
      • ARG_FILL_PATTERN_CODE

        public static String ARG_FILL_PATTERN_CODE
      • ARG_ROTATION_CODE

        public static String ARG_ROTATION_CODE
      • URI

        public static String URI
      • formatCode

        protected String formatCode
      • backColor

        protected Color backColor
      • fillColor

        protected Color fillColor
      • rotation

        protected int rotation
      • categories

        protected String[] categories
      • patternChanged

        protected boolean patternChanged
      • 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 Detail

      • FormatCellCtrl

        public FormatCellCtrl()
    • Method Detail

      • doAfterCompose

        public void doAfterCompose​(org.zkoss.zul.Window comp)
                            throws Exception
        Specified by:
        doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
        Overrides:
        doAfterCompose in class RefocusDialogCtrlBase
        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

        protected void openFormatList​(String category,
                                      int index)
      • onClick$okBtn

        public void onClick$okBtn()
      • showSelectFormatDialog

        protected void showSelectFormatDialog()
      • onBackColorChange

        public void onBackColorChange()
      • onCancel

        public void onCancel()
      • putFormatItem

        public static void putFormatItem​(String c,
                                         int i,
                                         String f,
                                         int ci)