public abstract class AbstractComponentBuilder<T extends Component> extends Object implements ComponentBuilder<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractComponentBuilder(ViewContext context,
String tagName,
Map<String,String> attributes) |
Modifier and Type | Method and Description |
---|---|
static void |
doNotAddToParentContainer(Component cmp)
Marks the given component so that it won’t be added to the parent container.
|
String |
getAttribute(String name) |
Map<String,String> |
getAttributes() |
T |
getComponent() |
ViewContext |
getContext() |
Container |
getParentContainer() |
String |
getTagName() |
boolean |
hasAttribute(String name) |
void |
setParentContainer(Container cnt,
Object arg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, parseConstraint
protected AbstractComponentBuilder(ViewContext context, String tagName, Map<String,String> attributes)
public void setParentContainer(Container cnt, Object arg)
setParentContainer
in interface ComponentBuilder<T extends Component>
public ViewContext getContext()
public T getComponent()
getComponent
in interface ComponentBuilder<T extends Component>
public String getTagName()
public boolean hasAttribute(String name)
public static void doNotAddToParentContainer(Component cmp)
Marks the given component so that it won’t be added to the parent container.
cmp
- public Container getParentContainer()
Copyright © 2022. All Rights Reserved.