Class GraphicLegendBuilder
Object
GraphicLegendBuilder
- All Implemented Interfaces:
Builder<GraphicLegend>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final FilterFactoryprotected AbstractSLDBuilder<?>protected StyleFactoryprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanchor()build()Created object, may be null if unset()buildSLD()protected voidprotected voidprotected ExpressioncqlExpression(String cql) protected Filterprotected voidinit(Builder<GraphicLegend> other) protected Expressionopacity(double opacity) opacity(Expression opacity) protected Expressionreset()Configure the Builder to produce a default result.reset(GraphicLegend graphic) Configure the Builder to produce a copy of the provided original.rotation(double rotation) rotation(Expression rotation) size(double size) size(Expression size) unset()Configure the Builder to producenull.
-
Field Details
-
sf
-
parent
protected AbstractSLDBuilder<?> parent -
FF
-
unset
protected boolean unset
-
-
Constructor Details
-
GraphicLegendBuilder
public GraphicLegendBuilder() -
GraphicLegendBuilder
public GraphicLegendBuilder(AbstractStyleBuilder<?> parent)
-
-
Method Details
-
build
Description copied from interface:BuilderCreated object, may be null if unset()- Returns:
- Created object may be null if unset()
-
anchor
-
displacement
-
opacity
-
opacity
-
opacity
-
size
-
size
-
size
-
rotation
-
rotation
-
rotation
-
reset
Description copied from interface:BuilderConfigure the Builder to produce a default result.- Returns:
- Builder configured to produce a default result.
-
reset
Description copied from interface:BuilderConfigure the Builder to produce a copy of the provided original.- Parameters:
graphic- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
unset
Description copied from interface:BuilderConfigure the Builder to producenull.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.- Specified by:
unsetin interfaceBuilder<GraphicLegend>- Returns:
- Builder configured to build
null
-
buildStyleInternal
-
literal
-
property
-
cqlExpression
-
cqlFilter
-
buildSLDInternal
-
buildStyle
-
buildRoot
-
init
-
buildSLD
-