Class ListboxFactory

java.lang.Object
org.adempiere.webui.component.ListboxFactory

public class ListboxFactory extends Object
Author:
Low Heng Sin
  • Constructor Details

    • ListboxFactory

      public ListboxFactory()
  • Method Details

    • newDropdownListbox

      public static Listbox newDropdownListbox()
      Create new listbox instance that is in combo mode
      Returns:
      Listbox
    • newDataTable

      public static WListbox newDataTable()
      Create new data table instance for use in custom form.
      Returns:
      WListbox
    • newDataTableAutoSize

      public static WListbox newDataTableAutoSize()
      Create new data table instance with sized by content on.
      Returns:
      WListbox
    • newDropdownListbox

      public static Listbox newDropdownListbox(String[] items)
      Create combo mode Listbox from items.
      Parameters:
      items - String[]
      Returns:
      Listbox