Package com.massifmaps.styles
Class GeometryCollectionStyleBuilder
java.lang.Object
com.massifmaps.styles.StyleBuilder
com.massifmaps.styles.GeometryCollectionStyleBuilder
A builder class for GeometryCollectionStyle.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a GeometryCollectionStyleBuilder object with all parameters set to defaults. -
Method Summary
Modifier and TypeMethodDescriptionBuilds a new instance of the GeometryCollectionStyle object using previously set parameters.Returns the line style.Returns the point style.Returns the polygon style.voidsetLineStyle(LineStyle lineStyle) Sets the style that will be used for drawing lines.voidsetPointStyle(PointStyle pointStyle) Sets the style that will be used for drawing points.voidsetPolygonStyle(PolygonStyle polygonStyle) Sets the style that will be used for drawing polygons.Methods inherited from class com.massifmaps.styles.StyleBuilder
equals, getColor, hashCode, setColor
-
Constructor Details
-
GeometryCollectionStyleBuilder
public GeometryCollectionStyleBuilder()Constructs a GeometryCollectionStyleBuilder object with all parameters set to defaults.
-
-
Method Details
-
getPointStyle
Returns the point style.- Returns:
- The point style.
-
setPointStyle
Sets the style that will be used for drawing points. The default is null style.- Parameters:
pointStyle- The new point style.
-
getLineStyle
Returns the line style.- Returns:
- The line style.
-
setLineStyle
Sets the style that will be used for drawing lines. The default is null style.- Parameters:
lineStyle- The new line style.
-
getPolygonStyle
Returns the polygon style.- Returns:
- The polygon style.
-
setPolygonStyle
Sets the style that will be used for drawing polygons. The default is null style.- Parameters:
polygonStyle- The new polygon style.
-
buildStyle
Builds a new instance of the GeometryCollectionStyle object using previously set parameters.- Returns:
- A new GeometryCollectionStyle object.
-