Class MyOpenbravoWidgetComponent

  • All Implemented Interfaces:
    Component

    public class MyOpenbravoWidgetComponent
    extends BaseComponent
    Creates the properties list which is initially loaded in the client.
    Author:
    mtaal
    • Constructor Detail

      • MyOpenbravoWidgetComponent

        public MyOpenbravoWidgetComponent()
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface Component
        Overrides:
        getId in class BaseComponent
        Returns:
        the id of the component, see the id description in the root of this class.
      • generate

        public String generate()
        Description copied from interface: Component
        Generates the content of the component which is sent to the client for execution/rendering.
        Specified by:
        generate in interface Component
        Specified by:
        generate in class BaseComponent
        Returns:
        the generated javascript which is send back to the client