Class DefaultCellRenderer<T>

    • Field Detail

      • SCLASS_LIST_CELL

        protected static final java.lang.String SCLASS_LIST_CELL
        See Also:
        Constant Field Values
      • EDITABLE_PROPERTY

        protected static final java.lang.String EDITABLE_PROPERTY
        See Also:
        Constant Field Values
      • INLINE_CELL_DURING_EDIT

        protected static final java.lang.String INLINE_CELL_DURING_EDIT
        See Also:
        Constant Field Values
      • ON_CELL_UPDATE_EVENT

        protected static final java.lang.String ON_CELL_UPDATE_EVENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultCellRenderer

        public DefaultCellRenderer()
    • Method Detail

      • renderAsText

        protected void renderAsText​(org.zkoss.zul.Listcell cell,
                                    CellContext<T> cellContext)
      • markCellIfEdited

        protected void markCellIfEdited​(org.zkoss.zul.Listcell cell,
                                        CellContext<T> cellContext)
      • getPropertyInitialValue

        protected java.lang.Object getPropertyInitialValue​(CellContext<T> cellContext)
      • renderAsPopup

        protected void renderAsPopup​(org.zkoss.zul.Listcell cell,
                                     CellContext<T> cellContext)
      • resolveEditorType

        protected java.lang.String resolveEditorType​(DataAttribute genericAttribute)
        Parameters:
        genericAttribute - an attribute for which the editor type must be determined
        Returns:
        resolved editor type
      • createEditorInstance

        protected Editor createEditorInstance​(CellContext<T> cellContext)
      • renderAsEditor

        protected void renderAsEditor​(org.zkoss.zul.Listcell cell,
                                      CellContext<T> cellContext)
      • isCellOptional

        protected boolean isCellOptional​(CellContext<T> cellContext)
      • isEditFinished

        protected boolean isEditFinished​(org.zkoss.zk.ui.event.Event event)
      • createEditorRenderingListener

        protected org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> createEditorRenderingListener​(org.zkoss.zul.Listcell cell,
                                                                                                                 CellContext<T> cellContext)
      • createPopupRenderingListener

        protected org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> createPopupRenderingListener​(org.zkoss.zul.Listcell cell,
                                                                                                                CellContext<T> cellContext)
      • isAtomicAttribute

        protected boolean isAtomicAttribute​(CellContext cellContext)
      • isCompletxAttribute

        protected boolean isCompletxAttribute​(CellContext cellContext)
      • isCellEditable

        protected boolean isCellEditable​(CellContext<T> cellContext)
      • getTypeFacade

        public TypeFacade getTypeFacade()
      • setTypeFacade

        public void setTypeFacade​(TypeFacade typeFacade)
      • setObjectValueService

        public void setObjectValueService​(ObjectValueService objectValueService)
      • setPermissionFacade

        public void setPermissionFacade​(PermissionFacade permissionFacade)
      • setValidationRenderer

        public void setValidationRenderer​(ValidationRenderer validationRenderer)
      • setLabelService

        public void setLabelService​(LabelService labelService)