Interface HasStyles

All Known Implementing Classes:
VectorLayer

public interface HasStyles
Interface to be implemented by layers that supports styling of features.
  • Method Details

    • getStyles

      List<Style> getStyles()
      Returns:
      list of styles
    • addStyles

      void addStyles(Style... styles)
      Adds style object(s).
      Parameters:
      styles - styles to add
    • removeStyles

      void removeStyles(Style... styles)
      Removes style{s}
      Parameters:
      styles - styles to remove
    • removeAllStyles

      void removeAllStyles()
      Removes all styles.