|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.builder.FontBuilder<P>
public class FontBuilder<P>
Constructor Summary | |
---|---|
FontBuilder()
|
|
FontBuilder(P parent)
|
Method Summary | |
---|---|
Font |
build()
Created object, may be null if unset() |
P |
end()
|
FontBuilder<P> |
reset()
Configure the Builder to produce a default result. |
FontBuilder<P> |
reset(Font font)
Configure the Builder to produce a copy of the provided original. |
FontBuilder<P> |
unset()
Configure the Builder to produce null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontBuilder()
public FontBuilder(P parent)
Method Detail |
---|
public Font build()
Builder
build
in interface Builder<Font>
public P end()
public FontBuilder<P> reset()
Builder
reset
in interface Builder<Font>
public FontBuilder<P> reset(Font font)
Builder
reset
in interface Builder<Font>
public FontBuilder<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<Font>
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |