public static final class ComponentsToProcess.Builder extends Object
Constructor and Description |
---|
Builder(LspsScreen screen)
Creates the set builder.
|
Modifier and Type | Method and Description |
---|---|
ComponentsToProcess.Builder |
add(UIComponent component) |
ComponentsToProcess.Builder |
add(UIComponentDefinitionId component)
Adds given component and all of its descendants into the set.
|
ComponentsToProcess |
build()
Returns a set which contains all of given components and all of their descendants.
|
boolean |
containsAll()
Returns true if the topmost component has been registered into this builder.
|
public Builder(LspsScreen screen)
screen
- the screen, not null.public boolean containsAll()
public ComponentsToProcess.Builder add(UIComponentDefinitionId component)
containsAll()
is flipped to true and the builder
will always produce ComponentsToProcess.ALL
.component
- the component, not null.public ComponentsToProcess.Builder add(UIComponent component)
public ComponentsToProcess build()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.