Class CelumSimpleMediaReferenceUIEditor

    • Field Detail

      • CELUM_MEDIA_FORMAT_KEY

        @Deprecated
        public static final java.lang.String CELUM_MEDIA_FORMAT_KEY
        Deprecated.
        since 6.3
        See Also:
        Constant Field Values
      • CONTEXT_PATH

        @Deprecated
        protected static final java.lang.String CONTEXT_PATH
        Deprecated.
        since 6.3
        See Also:
        Constant Field Values
      • EDITOR_CONTEXT_OBJECT

        @Deprecated
        protected static final java.lang.String EDITOR_CONTEXT_OBJECT
        Deprecated.
        since 6.3
        See Also:
        Constant Field Values
      • OPEN_CELUM_EDITOR_IMG

        @Deprecated
        protected static final java.lang.String OPEN_CELUM_EDITOR_IMG
        Deprecated.
        since 6.3
        See Also:
        Constant Field Values
      • OPEN_CELUM_EDITOR_NOSYNC_IMG

        @Deprecated
        protected static final java.lang.String OPEN_CELUM_EDITOR_NOSYNC_IMG
        Deprecated.
        since 6.3
        See Also:
        Constant Field Values
    • Constructor Detail

      • CelumSimpleMediaReferenceUIEditor

        public CelumSimpleMediaReferenceUIEditor()
    • Method Detail

      • createViewComponent

        public org.zkoss.zk.ui.HtmlBasedComponent createViewComponent​(java.lang.Object initialValue,
                                                                      java.util.Map<java.lang.String,​? extends java.lang.Object> parameters,
                                                                      EditorListener listener)
        Description copied from interface: UIEditor
        Creates a new editor component and attaches it to the specified Page page.
        Specified by:
        createViewComponent in interface UIEditor
        Overrides:
        createViewComponent in class DefaultSimpleMediaReferenceUIEditor
        Parameters:
        initialValue - editor's initial value
        parameters - parameters passed via configuration for particular editor
        listener - the EditorListener that will receive events when the editor's value is changed
        Returns:
        the editor component
      • setFocus

        public void setFocus​(org.zkoss.zk.ui.HtmlBasedComponent rootEditorComponent,
                             boolean selectAll)
        Description copied from interface: UIEditor
        Sets the focus on the given input component which can be the rootEditorComponent or a child of it
        Specified by:
        setFocus in interface UIEditor
        Overrides:
        setFocus in class DefaultSimpleReferenceUIEditor
        Parameters:
        rootEditorComponent - the rootEditorComponent which is returned on method createViewComponent
        selectAll - if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.
      • getCatalogVersionPK

        @Deprecated
        protected java.lang.String getCatalogVersionPK()
        Deprecated.
        Gets the catalog version PK.
        Returns:
        the catalog version PK
      • getCelumParameters

        @Deprecated
        protected java.util.Map<java.lang.String,​java.lang.String> getCelumParameters​(java.util.Map<java.lang.String,​? extends java.lang.Object> parameters)
                                                                                     throws java.lang.IllegalStateException,
                                                                                            CelumNotAvailableException
        Deprecated.
        Gets the celum parameters.
        Parameters:
        parameters - the parameters
        Returns:
        the celum parameters
        Throws:
        java.lang.IllegalStateException - the illegal state exception
        CelumNotAvailableException - the celum not available exception
      • getCockpitCelumDelegate

        @Deprecated
        protected DefaultCockpitCelumDelegate getCockpitCelumDelegate()
        Deprecated.
        since 6.3
        Gets the cockpit celum delegate.
        Returns:
        the cockpit celum delegate
      • getLink

        @Deprecated
        protected java.lang.String getLink​(java.util.Map<java.lang.String,​? extends java.lang.Object> parameters)
                                    throws CelumNotAvailableException,
                                           java.lang.IllegalStateException
        Deprecated.
        Gets the link.
        Parameters:
        parameters - the parameters
        Returns:
        the link
        Throws:
        CelumNotAvailableException - the celum not available exception
        java.lang.IllegalStateException - the illegal state exception
      • renderEditorContent

        protected void renderEditorContent​(org.zkoss.zk.ui.HtmlBasedComponent parent,
                                           java.lang.Object initialValue,
                                           java.util.Map<java.lang.String,​? extends java.lang.Object> parameters,
                                           EditorListener listener)