Class StandardWindowComponent

  • All Implemented Interfaces:
    Component

    public class StandardWindowComponent
    extends BaseTemplateComponent
    The component which takes care of creating a class for a specific Openbravo window.
    Author:
    mtaal
    • Constructor Detail

      • StandardWindowComponent

        public StandardWindowComponent()
    • Method Detail

      • getWindowClientClassName

        public String getWindowClientClassName()
      • setUniqueString

        public void setUniqueString​(String uniqueString)
      • 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
        Overrides:
        generate in class BaseTemplateComponent
        Returns:
        the generated javascript which is send back to the client
      • getTabView

        public String getTabView()
      • getWindowId

        public String getWindowId()
      • getThreadSafe

        public String getThreadSafe()
      • getWindow

        public Window getWindow()
      • setWindow

        public void setWindow​(Window window)
      • getRootTabComponent

        public OBViewTab getRootTabComponent()
      • getProcessViews

        public List<String> getProcessViews()
      • getSystemGridConfig

        public static Optional<GCSystem> getSystemGridConfig()
        Returns the applicable System Grid Configuration if any.
      • getTabsGridConfig

        public static Map<String,​Optional<GCTab>> getTabsGridConfig​(Window window)
        For a given window, it returns a Map being its key all the tab ids in that window and the values the applicable Tab Grid Configuration for each tab if any.