Class DefaultZKPropertyEditorBean

java.lang.Object
de.hybris.platform.cockpit.model.meta.impl.DefaultPropertyEditorBean
de.hybris.platform.cockpit.model.meta.DefaultZKPropertyEditorBean
All Implemented Interfaces:
PropertyEditorBean, ZKPropertyEditorBean

public class DefaultZKPropertyEditorBean extends DefaultPropertyEditorBean implements ZKPropertyEditorBean
  • Field Details

    • INVALID_SCLASS

      public static final String INVALID_SCLASS
      The style class which is set at the view root component to signal that the editor's invalid flag.
      See Also:
    • READONLY_SCLASS

      public static final String READONLY_SCLASS
      The style class which is set at the view root component to signal that the editor is read-only.
      See Also:
  • Constructor Details

  • Method Details

    • getBinder

      protected org.zkoss.zkplus.databind.AnnotateDataBinder getBinder()
    • getOrCreateViewComponent

      public final org.zkoss.zk.ui.Component getOrCreateViewComponent(org.zkoss.zk.ui.Page page)
      Description copied from interface: ZKPropertyEditorBean
      Returns the view component bound to this value editor bean.
      Specified by:
      getOrCreateViewComponent in interface ZKPropertyEditorBean
      Parameters:
      page - TODO
      See Also:
    • getViewCreationArgs

      protected Map<String,Object> getViewCreationArgs()
      Provides view component creation arguments (available via ${arg.*}.
    • getViewLocalVariables

      protected Map<String,Object> getViewLocalVariables()
      Provides local attributes to be available inside the view component.
    • initView

      protected void initView(org.zkoss.zk.ui.Component view)
      Called right after view component creation. Override to do additional initialization.
      Parameters:
      view - the new view component
    • createView

      protected org.zkoss.zk.ui.Component createView(org.zkoss.zk.ui.Page page)
    • updateEditable

      protected void updateEditable(boolean newEditable)
      Description copied from class: DefaultPropertyEditorBean
      Called each time the editable flag has been changed. The component should be modified to block or allow user input.
      Overrides:
      updateEditable in class DefaultPropertyEditorBean
      Parameters:
      newEditable - the new editable flag value
    • updateInvalid

      protected void updateInvalid(boolean newInvalid)
      Description copied from class: DefaultPropertyEditorBean
      Called each time the invalid flag has been changed. The component may signal this fact accordingly.
      Overrides:
      updateInvalid in class DefaultPropertyEditorBean
      Parameters:
      newInvalid - the new invalid flag value