psdi.webclient.system.controller

Class DatasrcInstance

    • Field Detail

    • Constructor Detail

      • DatasrcInstance

        public DatasrcInstance()
    • Method Detail

      • broadcastEvent

        public int broadcastEvent(WebClientEvent event)
        Description copied from class: ControlInstance
        Broadcast an event down through the entire control/component hierarchy starting with this control. Continue broadcasting event to child controls and components as long as nobody says to stop, by returning a status of EVENT_STOP_ALL
        Overrides:
        broadcastEvent in class ControlInstance
      • instantiatedatasrc

        public void instantiatedatasrc()
        this method will set up the datasource on the control. any controls that need to create a datasource should be an instance of this class. if the datasource is not already created, one will be created and stored in the appropriate place (app or page).
        Overrides:
        instantiatedatasrc in class ControlInstance
      • instantiatedatasrcdesign

        public void instantiatedatasrcdesign()
        this method will set up the datasource on the control for App Designer. any controls that need to create a datasource should be an instance of this class. if the datasource is not already created, one will be created and stored in the appropriate place (app or page).
      • getDataBean

        public DataBean getDataBean()
        Description copied from class: ControlInstance
        Return the databean that is defined by the control's datasrc property. Will return null is datasrc property is null or the datasrc/databean isn't instantiated within the control's AppInstance.
        Overrides:
        getDataBean in class ControlInstance
        Returns:
      • render

        public int render()
                   throws java.lang.NoSuchMethodException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
        Description copied from class: ControlInstance
        Render this control's components
        Overrides:
        render in class ControlInstance
        Throws:
        java.lang.NoSuchMethodException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException