Interface Marker

All Superinterfaces:
ChartElement
All Known Subinterfaces:
ValueMarker
All Known Implementing Classes:
AbstractMarker, CategoryMarker, NumberMarker, RangeMarker

public interface Marker extends ChartElement
A base interface for all markers.
Since:
1.2
  • Field Details

  • Method Details

    • draw

      void draw(Graphics2D g2, MarkerData markerData, boolean reverse)
      Draws the marker based on the markerData which has been passed to the 3D engine to generate the required 2D projection points.
      Parameters:
      g2 - the graphics target (null not permitted).
      markerData - transient data for the marker (null not permitted).
      reverse - a flag to indicate reverse orientation.
    • addChangeListener

      Registers a listener to receive notification of changes to the marker.
      Parameters:
      listener - the listener (null not permitted).
    • removeChangeListener

      Deregisters a listener so that it no longer receives notification of changes to the marker.
      Parameters:
      listener - the listener (null not permitted).