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
- Author:
- dfuentes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBuild instance already initializedsetExpandible
(Expandible expandible) Set expandibleSet help labelsetHelpImage
(String helpImage) Set help imageSet labelSet style (classes)Set titleSet typeMethods inherited from class com.almis.awe.builder.screen.base.AweBuilder
addAllElements, addAllElements, addElement, setId, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.almis.awe.builder.interfaces.IBuilderInitializer
build
-
Constructor Details
-
AbstractElementBuilder
public AbstractElementBuilder()
-
-
Method Details
-
build
Description copied from interface:IBuilderInitializer
Build instance already initialized- Specified by:
build
in interfaceIBuilderInitializer<T,
I extends Element> - Overrides:
build
in classAweBuilder<T,
I extends Element> - Parameters:
tag
- Instance to update- Returns:
- Instance of object updated
-
setLabel
Set label- Parameters:
label
- Label- Returns:
- Builder
-
setTitle
Set title- Parameters:
title
- Title- Returns:
- Builder
-
setStyle
Set style (classes)- Parameters:
style
- Style- Returns:
- Builder
-
setType
Set type- Parameters:
type
- Type- Returns:
- Builder
-
setHelp
Set help label- Parameters:
help
- Help label- Returns:
- Builder
-
setHelpImage
Set help image- Parameters:
helpImage
- Help image- Returns:
- Builder
-
setExpandible
Set expandible- Parameters:
expandible
- Expandible- Returns:
- Builder
-