afreechart/src/main/java/org/afree/chart/plot/XYPlot.java
/**
     * Clears all the (foreground and background) domain markers and sends a
     * {@link PlotChangeEvent} to all registered listeners.
     * 
     * @see #addDomainMarker(int, Marker, Layer)
     */
Clears all the (foreground and background) domain markers and sends a
PlotChangeEvent to all registered listeners.


Clears all the ( foreground and background ) domain markers and sends a PlotChangeEvent to all registered listeners .
public void clearDomainMarkers() {
        if (this.backgroundDomainMarkers != null) {
            Set keys = this.backgroundDomainMarkers.keySet();
            Iterator iterator = keys.iterator();
            while (iterator.hasNext()) {
                Integer key = (Integer) iterator.next();
                clearDomainMarkers(key.intValue());
            }
            this.backgroundDomainMarkers.clear();
        }
        if (this.foregroundDomainMarkers != null) {
            Set keys = this.foregroundDomainMarkers.keySet();
            Iterator iterator = keys.iterator();
            while (iterator.hasNext()) {
                Integer key = (Integer) iterator.next();
                clearDomainMarkers(key.intValue());
            }
            this.foregroundDomainMarkers.clear();
        }
        fireChangeEvent();
    }
public void clearDomainMarkers ( ) { if ( this . backgroundDomainMarkers != null ) { Set keys = this . backgroundDomainMarkers . keySet ( ) ; Iterator iterator = keys . iterator ( ) ; while ( iterator . hasNext ( ) ) { Integer key = ( Integer ) iterator . next ( ) ; clearDomainMarkers ( key . intValue ( ) ) ; } this . backgroundDomainMarkers . clear ( ) ; } if ( this . foregroundDomainMarkers != null ) { Set keys = this . foregroundDomainMarkers . keySet ( ) ; Iterator iterator = keys . iterator ( ) ; while ( iterator . hasNext ( ) ) { Integer key = ( Integer ) iterator . next ( ) ; clearDomainMarkers ( key . intValue ( ) ) ; } this . foregroundDomainMarkers . clear ( ) ; } fireChangeEvent ( ) ; }
Clears all the (foreground and background) domain markers and sends a
 {@link PlotChangeEvent} to all registered listeners.
Clears all the ( foreground and background ) domain markers and sends a { @link PlotChangeEvent } to all registered listeners .