Class DefaultNodeWithActionsRenderer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String REMOVE_LABEL_KEY  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addActions​(org.zkoss.zul.Listcell actionsCell)
      Adds actions buttons for each row.
      org.zkoss.zul.Listitem renderListitem​(org.zkoss.zul.Listitem listItem, java.lang.Object node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.zkoss.zul.ListitemRenderer

        render
    • Field Detail

      • REMOVE_LABEL_KEY

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

      • DefaultNodeWithActionsRenderer

        public DefaultNodeWithActionsRenderer()
      • DefaultNodeWithActionsRenderer

        public DefaultNodeWithActionsRenderer​(org.zkoss.zk.ui.event.EventListener dropListener)
    • Method Detail

      • renderListitem

        public org.zkoss.zul.Listitem renderListitem​(org.zkoss.zul.Listitem listItem,
                                                     java.lang.Object node)
        Specified by:
        renderListitem in class AbstractNodeRenderer
      • addActions

        protected void addActions​(org.zkoss.zul.Listcell actionsCell)
        Adds actions buttons for each row. Tip if overriding: use DeleteListener if you wish to add 'delete' button.
        Parameters:
        actionsCell - attach your buttons to this component