psdi.webclient.controls

Class Breadcrumbs

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class Breadcrumbs
    extends DatasrcInstance
    This class is the control instance for Breadcrumb control.
    • Constructor Detail

      • Breadcrumbs

        public Breadcrumbs()
    • Method Detail

      • render

        public int render()
                   throws java.lang.NoSuchMethodException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
        Collect all information and render Always try to create breadcrums from the start
        Overrides:
        render in class DatasrcInstance
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • getactiveCrumb

        public long getactiveCrumb()
        Returns id of the active crumb. This method is put in for future uses
      • setactiveCrumb

        public void setactiveCrumb(long activeCrumb)
        Sets id for the active crumb. Returns id of the active crumb. This method is put in for future uses
        Parameters:
        long - id of the active crumb
      • selectbreadcrumb

        public int selectbreadcrumb()
        Called when a breadcrumb is clicked on. Current one is flagged and event "breadcrumbselected" is then sent to the source id. It is expected that the source will handle 'breadcrumbselected' which will have the uniqueid stored in the breadcrum as event value.
        Returns:
        WebClientBean.EVENT_HANDLED