Class CollapseInputBuilder<T>


public class CollapseInputBuilder<T> extends AbstractInputBuilder<CollapseInputBuilder,T>
  • Constructor Details

  • Method Details

    • _getInput

      protected Object _getInput()
      Specified by:
      _getInput in class AbstractInputBuilder<CollapseInputBuilder,T>
    • addInput

      public CollapseInputBuilder<T> addInput(ContextParameter contextParameter)
      Add parameter to the ContextParameters list Example:
      
       ContextParameter entry = ...
      
       api.inputBuilderFactory()
               .createCollapseLayout("Collapsed")
               .addInput(entry)
               .setCollapsed(true)
               .buildContextParameter()
       
      Parameters:
      contextParameter - ContextParameter to be added
      Returns:
      self
    • setCollapsed

      public CollapseInputBuilder<T> setCollapsed(Boolean isCollapsed)
      Specifies whether the collapse element in the UI will be shown closed (collapsed). If omitted, the collapse element will be shown opened. Example:
      
       ContextParameter entry = ...
      
       api.inputBuilderFactory()
               .createCollapseLayout("Collapsed")
               .addInput(entry)
               .setCollapsed(true)
               .buildContextParameter()
       
      Parameters:
      isCollapsed - true to make the collapse element to be displayed as closed, false to show it opened
      Returns:
      the CollapseInputBuilder instance