Modifier and Type | Field and Description |
---|---|
protected static FilterFactory2 |
FF |
protected AbstractSLDBuilder<?> |
parent |
protected StyleFactory |
sf |
protected boolean |
unset |
Constructor and Description |
---|
FillBuilder()
Create a FillBuilder on its own; not part of a larger data structure.
|
FillBuilder(AbstractStyleBuilder<?> parent) |
Modifier and Type | Method and Description |
---|---|
Fill |
build()
Build Fill as defined; FillBuilder will be reset after this use.
|
Object |
buildRoot() |
StyledLayerDescriptor |
buildSLD() |
protected void |
buildSLDInternal(StyledLayerDescriptorBuilder sb) |
Style |
buildStyle() |
protected void |
buildStyleInternal(StyleBuilder sb) |
FillBuilder |
color(Color color) |
FillBuilder |
color(Expression color) |
FillBuilder |
color(String cqlExpression) |
FillBuilder |
colorHex(String hex) |
protected Expression |
cqlExpression(String cql) |
protected Filter |
cqlFilter(String cql) |
GraphicBuilder |
graphicFill() |
protected void |
init(Builder<T> other) |
protected Expression |
literal(Object literal) |
FillBuilder |
opacity(double opacity) |
FillBuilder |
opacity(Expression opacity) |
FillBuilder |
opacity(String cqlExpression) |
protected Expression |
property(String name) |
FillBuilder |
reset()
Reset to produce the default Fill.
|
FillBuilder |
reset(Fill original)
Configure the Builder to produce a copy of the provided original.
|
FillBuilder |
unset()
Configure the Builder to produce
null . |
protected StyleFactory sf
protected AbstractSLDBuilder<?> parent
protected static final FilterFactory2 FF
protected boolean unset
public FillBuilder()
public FillBuilder(AbstractStyleBuilder<?> parent)
public FillBuilder color(Expression color)
public FillBuilder color(Color color)
public FillBuilder color(String cqlExpression)
public FillBuilder colorHex(String hex)
public FillBuilder opacity(Expression opacity)
public FillBuilder opacity(double opacity)
public FillBuilder opacity(String cqlExpression)
public GraphicBuilder graphicFill()
public Fill build()
public FillBuilder 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.
public FillBuilder reset()
public FillBuilder reset(Fill original)
Builder
protected void buildStyleInternal(StyleBuilder sb)
protected Expression literal(Object literal)
protected Expression property(String name)
protected Expression cqlExpression(String cql)
protected void buildSLDInternal(StyledLayerDescriptorBuilder sb)
public Style buildStyle()
public Object buildRoot()
protected void init(Builder<T> other)
public StyledLayerDescriptor buildSLD()
Copyright © 1996–2019 Geotools. All rights reserved.