public class BoundlessComponentBox<T> extends Object implements ComponentBox<T>
ComponentBox.BoxFactory| Modifier and Type | Field and Description |
|---|---|
static ComponentBox.BoxFactory |
FACTORY |
| Constructor and Description |
|---|
BoundlessComponentBox(NamedComponent<T> namedComponent) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ComponentBox<T> |
customize(ComponentCustomizer<T> customizer) |
Name<T> |
getName() |
com.google.common.base.Optional<NamedComponent<T>> |
pick() |
String |
toString() |
public static final ComponentBox.BoxFactory FACTORY
public BoundlessComponentBox(NamedComponent<T> namedComponent)
public ComponentBox<T> customize(ComponentCustomizer<T> customizer)
customize in interface ComponentBox<T>public void close()
close in interface AutoCloseablepublic com.google.common.base.Optional<NamedComponent<T>> pick()
pick in interface ComponentBox<T>public Name<T> getName()
getName in interface ComponentBox<T>Copyright © 2017. All Rights Reserved.