|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueBuilder<T>
JAVADOC
Method Summary | ||
---|---|---|
T |
newInstance()
Create a new Composite instance. |
|
T |
prototype()
Get a representation of the state for the new Value. |
|
|
prototypeFor(Class<K> mixinType)
Get a representation of the state of the given type for the new ValueComposite. |
|
ValueBuilder<T> |
withPrototype(T value)
Use given value as prototype for this value builder. |
|
ValueBuilder<T> |
withState(StateHolder state)
|
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
ValueBuilder<T> withPrototype(T value)
value
- whose state should be copied to this builder
ValueBuilder<T> withState(StateHolder state)
T prototype()
<K> K prototypeFor(Class<K> mixinType)
mixinType
- the mixin which you want to provide state for
T newInstance() throws ConstructionException
ConstructionException
- thrown if it was not possible to instantiate the Composite
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |