Interface AbstractClusterSource.HasPointStyle
- All Known Subinterfaces:
AbstractClusterSource.HasClusterSourceOptions
- All Known Implementing Classes:
ClusterSource
,NoOpClusterSource
- Enclosing class:
- AbstractClusterSource
public static interface AbstractClusterSource.HasPointStyle
Interface to be implemented by sources that should provide point styles management.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPointStyles
(Style... styles) Adds cluster point style.void
Removes all added cluster point styles.void
removePointStyles
(Style... styles) Removes cluster point styles.
-
Method Details
-
getPointStyles
- Returns:
- list of added cluster point styles or empty list if no styles added
-
addPointStyles
Adds cluster point style. The Cluster generates points that includes features in this cluster. Styles will be applied only for generated points, other features will be styled according to their rules.- Parameters:
styles
- cluster point styles to add
-
removePointStyles
Removes cluster point styles.- Parameters:
styles
- styles to remove
-
removeAllPointStyles
void removeAllPointStyles()Removes all added cluster point styles.
-