|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.builder.TextSymbolizerBuilder<P>
public class TextSymbolizerBuilder<P>
Constructor Summary | |
---|---|
TextSymbolizerBuilder()
|
|
TextSymbolizerBuilder(P parent)
|
Method Summary | |
---|---|
TextSymbolizer |
build()
Created object, may be null if unset() |
TextSymbolizerBuilder<P> |
geometry(java.lang.String geometry)
|
HaloBuilder<TextSymbolizerBuilder<P>> |
halo()
|
ExpressionBuilder |
label()
|
ExpressionBuilder |
label(org.opengis.filter.expression.Expression expr)
Expression used to label features. |
TextSymbolizerBuilder<P> |
reset()
Configure the Builder to produce a default result. |
TextSymbolizerBuilder<P> |
reset(TextSymbolizer symbolizer)
Configure the Builder to produce a copy of the provided original. |
TextSymbolizerBuilder<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 TextSymbolizerBuilder()
public TextSymbolizerBuilder(P parent)
Method Detail |
---|
public TextSymbolizerBuilder<P> geometry(java.lang.String geometry)
public HaloBuilder<TextSymbolizerBuilder<P>> halo()
public TextSymbolizer build()
Builder
build
in interface Builder<TextSymbolizer>
public TextSymbolizerBuilder<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<TextSymbolizer>
null
public TextSymbolizerBuilder<P> reset()
Builder
reset
in interface Builder<TextSymbolizer>
public TextSymbolizerBuilder<P> reset(TextSymbolizer symbolizer)
Builder
reset
in interface Builder<TextSymbolizer>
public ExpressionBuilder label()
public ExpressionBuilder label(org.opengis.filter.expression.Expression expr)
The label expression often refers to an existing property.
textBuilder.label().property("fullname")
You may wish to concatenate several expressions together into a single label:
textBuilder.label().function("strConcat").param().property("city").param().literal("!")
expr
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |