Interface IDashboardGadgetFactory

All Known Implementing Classes:
ZulDashboardGadgetFactory

public interface IDashboardGadgetFactory
Factory interface for dashboard gadget
Author:
Antonio CaƱaveral, hengsin
  • Method Summary

    Modifier and Type
    Method
    Description
    org.zkoss.zk.ui.Component
    getGadget(String uri, org.zkoss.zk.ui.Component parent)
    Create dashboard gadget from URI
    default org.zkoss.zk.ui.Component
    getGadget(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc)
    Create dashboard gadget from URL or MDashboardContent
  • Method Details

    • getGadget

      org.zkoss.zk.ui.Component getGadget(String uri, org.zkoss.zk.ui.Component parent)
      Create dashboard gadget from URI
      Parameters:
      uri - zul url
      parent - Component
      Returns:
      new DashboardPanel component instance or null
    • getGadget

      default org.zkoss.zk.ui.Component getGadget(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc)
      Create dashboard gadget from URL or MDashboardContent
      Parameters:
      url - zul url
      parent - Component
      dc - MDashboardContent
      Returns:
      new DashboardPanel component instance or null