Class InsertHyperlinkCtrl

  • 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 InsertHyperlinkCtrl
    extends RefocusDialogCtrlBase
    Author:
    Sam, dennis
    See Also:
    Serialized Form
    • Field Detail

      • URI

        public static String URI
      • ARG_DISPLAY

        public static String ARG_DISPLAY
      • ARG_LINKTYPE

        public static String ARG_LINKTYPE
      • ARG_ADDRESS

        public static String ARG_ADDRESS
      • webBtn

        protected org.zkoss.zul.Button webBtn
      • docBtn

        protected org.zkoss.zul.Button docBtn
      • mailBtn

        protected org.zkoss.zul.Button mailBtn
      • displayBox

        protected org.zkoss.zul.Textbox displayBox
      • webContent

        protected org.zkoss.zk.ui.Component webContent
      • mailContent

        protected org.zkoss.zk.ui.Component mailContent
      • docContent

        protected org.zkoss.zk.ui.Component docContent
      • linkDisplay

        protected String linkDisplay
      • webAddress

        protected String webAddress
      • mailAddress

        protected String mailAddress
      • subject

        protected String subject
      • autoDisplay

        protected boolean autoDisplay
      • docAddress

        protected String docAddress
      • book

        protected Book book
      • cellReference

        protected String cellReference
    • Constructor Detail

      • InsertHyperlinkCtrl

        public InsertHyperlinkCtrl()
    • 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
      • onChange$displayBox

        public void onChange$displayBox()
      • onClick$webBtn

        public void onClick$webBtn()
      • onClick$docBtn

        public void onClick$docBtn()
      • onClick$mailBtn

        public void onClick$mailBtn()
      • onClick$okBtn

        public void onClick$okBtn()
      • onCancel

        public void onCancel()
      • getAddress

        protected String getAddress()
        Returns link address
        Returns:
      • initMail

        protected void initMail()
      • initWeb

        protected void initWeb()
      • getWebAddress

        protected String getWebAddress()
        Returns the string of web page address, return null if component not found
        Returns:
      • getDocAddress

        protected String getDocAddress()
      • getMailAddress

        protected String getMailAddress()
      • initDoc

        protected void initDoc()
      • buildDocumentListbox

        protected void buildDocumentListbox​(org.zkoss.zul.Combobox refSheet,
                                            org.zkoss.zul.Textbox cellRef,
                                            Book book)