Class AbstractComponentBuilder<T,​I extends Component>

    • Constructor Detail

      • AbstractComponentBuilder

        public AbstractComponentBuilder()
    • Method Detail

      • setLabel

        public T setLabel​(String label)
        Set label
        Parameters:
        label - Label
        Returns:
        Builder
      • setTitle

        public T setTitle​(String title)
        Set title
        Parameters:
        title - Title
        Returns:
        Builder
      • setStyle

        public T setStyle​(String style)
        Set style (classes)
        Parameters:
        style - Style
        Returns:
        Builder
      • setType

        public T setType​(String type)
        Set type
        Parameters:
        type - Type
        Returns:
        Builder
      • setHelp

        public T setHelp​(String help)
        Set help label
        Parameters:
        help - Help label
        Returns:
        Builder
      • setHelpImage

        public T setHelpImage​(String helpImage)
        Set help image
        Parameters:
        helpImage - Help image
        Returns:
        Builder
      • setExpandible

        public T setExpandible​(Expandible expandible)
        Set expandible
        Parameters:
        expandible - Expandible
        Returns:
        Builder
      • setAutoload

        public T setAutoload​(boolean autoload)
        Set autoload
        Parameters:
        autoload - Is autoload
        Returns:
        Builder
      • setAutorefresh

        public T setAutorefresh​(Integer autorefresh)
        Set autorefresh time in seconds
        Parameters:
        autorefresh - Autorefresh time in seconds
        Returns:
        Builder
      • setIcon

        public T setIcon​(String icon)
        Set icon
        Parameters:
        icon - Icon
        Returns:
        Builder
      • setInitialLoad

        public T setInitialLoad​(InitialLoad initialLoad)
        Set initial load
        Parameters:
        initialLoad - Initial load
        Returns:
        Builder
      • setLoadAll

        public T setLoadAll​(boolean loadAll)
        Set load all
        Parameters:
        loadAll - Load all
        Returns:
        Builder
      • setMax

        public T setMax​(Integer max)
        Set max rows per page
        Parameters:
        max - max rows per page
        Returns:
        Builder
      • setName

        public T setName​(String name)
        Set component name
        Parameters:
        name - component name
        Returns:
        Builder
      • setSize

        public T setSize​(String size)
        Set component size
        Parameters:
        size - component size
        Returns:
        Builder
      • setServerAction

        public T setServerAction​(ServerAction serverAction)
        Set server action
        Parameters:
        serverAction - server action
        Returns:
        Builder
      • setTargetAction

        public T setTargetAction​(String targetAction)
        Set target action
        Parameters:
        targetAction - target action
        Returns:
        Builder
      • setVisible

        public T setVisible​(boolean visible)
        Set visible
        Parameters:
        visible - Visible
        Returns:
        Builder
      • setIconLoading

        public T setIconLoading​(IconLoading icon)
        Set loading icon
        Parameters:
        icon -
        Returns:
      • setData

        public T setData​(DataList data)
        Set data
        Parameters:
        data -
        Returns:
      • addContextButton

        public T addContextButton​(AbstractButtonBuilder... contextButtons)
        Add context button
        Parameters:
        contextButtons -
        Returns:
      • addContextSeparator

        public T addContextSeparator​(ContextSeparatorBuilder... contextSeparators)
        Add context separator
        Parameters:
        contextSeparators -
        Returns:
      • addDependency

        public T addDependency​(DependencyBuilder... dependencyBuilder)
        Add dependencies
        Parameters:
        dependencyBuilder -
        Returns: