Java 类org.jfree.chart.event.MarkerChangeEvent 实例源码

项目:parabuild-ci    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 * 
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:ccu-historian    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:jfreechart    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:aya-lang    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:populus    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:PI    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:group-five    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:nabs    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 * 
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:manydesigns.cn    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:ECG-Viewer    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:astor    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 *
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:opensim-gui    文件:Marker.java   
/**
 * Notifies all registered listeners that the marker has been modified.
 *
 * @param event  information about the change event.
 * 
 * @since 1.0.3
 */
public void notifyListeners(MarkerChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == MarkerChangeListener.class) {
            ((MarkerChangeListener) listeners[i + 1]).markerChanged(event);
        }
    }

}
项目:parabuild-ci    文件:CategoryMarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:parabuild-ci    文件:IntervalMarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:parabuild-ci    文件:MarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:parabuild-ci    文件:ValueMarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:nabs    文件:CategoryMarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:nabs    文件:IntervalMarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:nabs    文件:MarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:nabs    文件:ValueMarkerTests.java   
public void markerChanged(MarkerChangeEvent event) {
    this.lastEvent = event;
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the paint and sends a {@link MarkerChangeEvent} to all registered
 * listeners.
 * 
 * @param paint  the paint (<code>null</code> not permitted).
 * 
 * @see #getPaint()
 */
public void setPaint(Paint paint) {
    if (paint == null) {
        throw new IllegalArgumentException("Null 'paint' argument.");
    }
    this.paint = paint;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the stroke and sends a {@link MarkerChangeEvent} to all registered
 * listeners.
 * 
 * @param stroke  the stroke (<code>null</code> not permitted).
 * 
 * @see #getStroke()
 */
public void setStroke(Stroke stroke) {
    if (stroke == null) {
        throw new IllegalArgumentException("Null 'stroke' argument.");
    }
    this.stroke = stroke;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the alpha transparency that should be used when drawing the 
 * marker, and sends a {@link MarkerChangeEvent} to all registered 
 * listeners.  The alpha transparency is a value in the range 0.0f 
 * (completely transparent) to 1.0f (completely opaque).
 * 
 * @param alpha  the alpha transparency (must be in the range 0.0f to 
 *     1.0f).
 *     
 * @throws IllegalArgumentException if <code>alpha</code> is not in the
 *     specified range.
 *     
 * @see #getAlpha()
 */
public void setAlpha(float alpha) {
    if (alpha < 0.0f || alpha > 1.0f)
        throw new IllegalArgumentException(
                "The 'alpha' value must be in the range 0.0f to 1.0f");
    this.alpha = alpha;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the label font and sends a {@link MarkerChangeEvent} to all 
 * registered listeners.
 *
 * @param font  the font (<code>null</code> not permitted).
 * 
 * @see #getLabelFont()
 */
public void setLabelFont(Font font) {
    if (font == null) {
        throw new IllegalArgumentException("Null 'font' argument.");
    }
    this.labelFont = font;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the label paint and sends a {@link MarkerChangeEvent} to all
 * registered listeners.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 * 
 * @see #getLabelPaint()
 */
public void setLabelPaint(Paint paint) {
    if (paint == null) {
        throw new IllegalArgumentException("Null 'paint' argument.");
    }
    this.labelPaint = paint;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the label anchor and sends a {@link MarkerChangeEvent} to all 
 * registered listeners.  The anchor defines the position of the label 
 * anchor, relative to the bounds of the marker.
 *
 * @param anchor  the anchor (<code>null</code> not permitted).
 * 
 * @see #getLabelAnchor()
 */
public void setLabelAnchor(RectangleAnchor anchor) {
    if (anchor == null) {
        throw new IllegalArgumentException("Null 'anchor' argument.");
    }
    this.labelAnchor = anchor;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the label offset and sends a {@link MarkerChangeEvent} to all
 * registered listeners.
 * 
 * @param offset  the label offset (<code>null</code> not permitted).
 * 
 * @see #getLabelOffset()
 */
public void setLabelOffset(RectangleInsets offset) {
    if (offset == null) {
        throw new IllegalArgumentException("Null 'offset' argument.");
    }
    this.labelOffset = offset;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the label offset type and sends a {@link MarkerChangeEvent} to all
 * registered listeners.
 * 
 * @param adj  the type (<code>null</code> not permitted).
 * 
 * @see #getLabelOffsetType()
 */
public void setLabelOffsetType(LengthAdjustmentType adj) {
    if (adj == null) {
        throw new IllegalArgumentException("Null 'adj' argument.");
    }
    this.labelOffsetType = adj;    
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:Marker.java   
/**
 * Sets the label text anchor and sends a {@link MarkerChangeEvent} to 
 * all registered listeners.
 * 
 * @param anchor  the label text anchor (<code>null</code> not permitted).
 * 
 * @see #getLabelTextAnchor()
 */
public void setLabelTextAnchor(TextAnchor anchor) {
    if (anchor == null) { 
        throw new IllegalArgumentException("Null 'anchor' argument.");
    }
    this.labelTextAnchor = anchor;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:parabuild-ci    文件:CategoryMarker.java   
/**
 * Sets the key and sends a {@link MarkerChangeEvent} to all registered
 * listeners.
 * 
 * @param key  the key (<code>null</code> not permitted).
 * 
 * @since 1.0.3
 */
public void setKey(Comparable key) {
    if (key == null) {
        throw new IllegalArgumentException("Null 'key' argument.");
    }
    this.key = key;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:ccu-historian    文件:Marker.java   
/**
 * Sets the alpha transparency that should be used when drawing the
 * marker, and sends a {@link MarkerChangeEvent} to all registered
 * listeners.  The alpha transparency is a value in the range 0.0f
 * (completely transparent) to 1.0f (completely opaque).
 *
 * @param alpha  the alpha transparency (must be in the range 0.0f to
 *     1.0f).
 *
 * @throws IllegalArgumentException if {@code alpha} is not in the
 *     specified range.
 *
 * @see #getAlpha()
 */
public void setAlpha(float alpha) {
    if (alpha < 0.0f || alpha > 1.0f) {
        throw new IllegalArgumentException(
                "The 'alpha' value must be in the range 0.0f to 1.0f");
    }
    this.alpha = alpha;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:jfreechart    文件:Marker.java   
/**
 * Sets the alpha transparency that should be used when drawing the
 * marker, and sends a {@link MarkerChangeEvent} to all registered
 * listeners.  The alpha transparency is a value in the range 0.0f
 * (completely transparent) to 1.0f (completely opaque).
 *
 * @param alpha  the alpha transparency (must be in the range 0.0f to
 *     1.0f).
 *
 * @throws IllegalArgumentException if {@code alpha} is not in the
 *     specified range.
 *
 * @see #getAlpha()
 */
public void setAlpha(float alpha) {
    if (alpha < 0.0f || alpha > 1.0f) {
        throw new IllegalArgumentException(
                "The 'alpha' value must be in the range 0.0f to 1.0f");
    }
    this.alpha = alpha;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:aya-lang    文件:Marker.java   
/**
 * Sets the alpha transparency that should be used when drawing the
 * marker, and sends a {@link MarkerChangeEvent} to all registered
 * listeners.  The alpha transparency is a value in the range 0.0f
 * (completely transparent) to 1.0f (completely opaque).
 *
 * @param alpha  the alpha transparency (must be in the range 0.0f to
 *     1.0f).
 *
 * @throws IllegalArgumentException if {@code alpha} is not in the
 *     specified range.
 *
 * @see #getAlpha()
 */
public void setAlpha(float alpha) {
    if (alpha < 0.0f || alpha > 1.0f) {
        throw new IllegalArgumentException(
                "The 'alpha' value must be in the range 0.0f to 1.0f");
    }
    this.alpha = alpha;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Sets the paint and sends a {@link MarkerChangeEvent} to all registered
 * listeners.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 *
 * @see #getPaint()
 */
public void setPaint(Paint paint) {
    if (paint == null) {
        throw new IllegalArgumentException("Null 'paint' argument.");
    }
    this.paint = paint;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Sets the stroke and sends a {@link MarkerChangeEvent} to all registered
 * listeners.
 *
 * @param stroke  the stroke (<code>null</code> not permitted).
 *
 * @see #getStroke()
 */
public void setStroke(Stroke stroke) {
    if (stroke == null) {
        throw new IllegalArgumentException("Null 'stroke' argument.");
    }
    this.stroke = stroke;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Sets the alpha transparency that should be used when drawing the
 * marker, and sends a {@link MarkerChangeEvent} to all registered
 * listeners.  The alpha transparency is a value in the range 0.0f
 * (completely transparent) to 1.0f (completely opaque).
 *
 * @param alpha  the alpha transparency (must be in the range 0.0f to
 *     1.0f).
 *
 * @throws IllegalArgumentException if <code>alpha</code> is not in the
 *     specified range.
 *
 * @see #getAlpha()
 */
public void setAlpha(float alpha) {
    if (alpha < 0.0f || alpha > 1.0f)
        throw new IllegalArgumentException(
                "The 'alpha' value must be in the range 0.0f to 1.0f");
    this.alpha = alpha;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Sets the label font and sends a {@link MarkerChangeEvent} to all
 * registered listeners.
 *
 * @param font  the font (<code>null</code> not permitted).
 *
 * @see #getLabelFont()
 */
public void setLabelFont(Font font) {
    if (font == null) {
        throw new IllegalArgumentException("Null 'font' argument.");
    }
    this.labelFont = font;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Sets the label paint and sends a {@link MarkerChangeEvent} to all
 * registered listeners.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 *
 * @see #getLabelPaint()
 */
public void setLabelPaint(Paint paint) {
    if (paint == null) {
        throw new IllegalArgumentException("Null 'paint' argument.");
    }
    this.labelPaint = paint;
    notifyListeners(new MarkerChangeEvent(this));
}
项目:HTML5_WebSite    文件:Marker.java   
/**
 * Sets the label anchor and sends a {@link MarkerChangeEvent} to all
 * registered listeners.  The anchor defines the position of the label
 * anchor, relative to the bounds of the marker.
 *
 * @param anchor  the anchor (<code>null</code> not permitted).
 *
 * @see #getLabelAnchor()
 */
public void setLabelAnchor(RectangleAnchor anchor) {
    if (anchor == null) {
        throw new IllegalArgumentException("Null 'anchor' argument.");
    }
    this.labelAnchor = anchor;
    notifyListeners(new MarkerChangeEvent(this));
}