Class AbstractMarkerGenerator

    • Constructor Detail

      • AbstractMarkerGenerator

        public AbstractMarkerGenerator()
    • Method Detail

      • check

        protected String check()
        Hook method for checks.
        Returns:
        null if checks passed successful, otherwise error message
      • doGenerate

        protected abstract org.knowm.xchart.style.markers.Marker doGenerate()
        Generates the marker.
        Returns:
        the shape, null if none generated
      • generate

        public org.knowm.xchart.style.markers.Marker generate()
        Generates the marker.
        Returns:
        the marker, null if none generated
        Throws:
        IllegalStateException - if checks fail
        See Also:
        check()