Class AbstractElementBuilder<T,I extends Element>

java.lang.Object
com.almis.awe.builder.screen.base.AweBuilder<T,I>
com.almis.awe.builder.screen.base.AbstractElementBuilder<T,I>
All Implemented Interfaces:
IBuilderInitializer<T,I>
Direct Known Subclasses:
AbstractTagBuilder, ImageBuilder, ScreenBuilder

public abstract class AbstractElementBuilder<T,I extends Element> extends AweBuilder<T,I>
Author:
dfuentes
  • Constructor Details

    • AbstractElementBuilder

      public AbstractElementBuilder()
  • Method Details

    • build

      public I build(I tag)
      Description copied from interface: IBuilderInitializer
      Build instance already initialized
      Specified by:
      build in interface IBuilderInitializer<T,I extends Element>
      Overrides:
      build in class AweBuilder<T,I extends Element>
      Parameters:
      tag - Instance to update
      Returns:
      Instance of object updated
    • 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