|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectUserLayerBuilder<P>
public class UserLayerBuilder<P>
Constructor Summary | |
---|---|
UserLayerBuilder()
|
|
UserLayerBuilder(P parent)
|
Method Summary | |
---|---|
UserLayer |
build()
Created object, may be null if unset() |
P |
end()
|
UserLayerBuilder<P> |
reset()
Reset stroke to default values. |
UserLayerBuilder<P> |
reset(UserLayer stroke)
Reset builder to provided original stroke. |
UserLayerBuilder<P> |
unset()
Configure the Builder to produce null . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserLayerBuilder()
public UserLayerBuilder(P parent)
Method Detail |
---|
public UserLayerBuilder<P> unset()
Builder
null
.
This method allows a Builder to be used as a placeholder; in its
unset state the build() method will produce null
. If
any of the builder methods are used the builder will produce a
result.
unset
in interface Builder<UserLayer>
null
public UserLayerBuilder<P> reset()
reset
in interface Builder<UserLayer>
public UserLayerBuilder<P> reset(UserLayer stroke)
reset
in interface Builder<UserLayer>
stroke
-
public UserLayer build()
Builder
build
in interface Builder<UserLayer>
public P end()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |