CloneSet161


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
88301.000class_body_declarations[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1882478
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
2751439
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/ContourPlot.java
3884242
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
Next
Last
Clone Instance
1
Line Count
88
Source Line
2478
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

/**
 * Sets the flag indicating whether or not the range crosshair is visible.
 *
 * @param flag  the new value of the flag.
 *
 * @see #isRangeCrosshairVisible()
 */
public void setRangeCrosshairVisible(boolean flag) {
  if (this.rangeCrosshairVisible != flag) {
    this.rangeCrosshairVisible = flag;
    fireChangeEvent();
  }
}

/**
 * Returns a flag indicating whether or not the crosshair should "lock-on"
 * to actual data values.
 *
 * @return The flag.
 *
 * @see #setRangeCrosshairLockedOnData(boolean)
 */
public boolean isRangeCrosshairLockedOnData() {
  return this.rangeCrosshairLockedOnData;
}

/**
 * Sets the flag indicating whether or not the range crosshair should
 * "lock-on" to actual data values, and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param flag  the flag.
 *
 * @see #isRangeCrosshairLockedOnData()
 */
public void setRangeCrosshairLockedOnData(boolean flag) {
  if (this.rangeCrosshairLockedOnData != flag) {
    this.rangeCrosshairLockedOnData = flag;
    fireChangeEvent();
  }
}

/**
 * Returns the range crosshair value.
 *
 * @return The value.
 *
 * @see #setRangeCrosshairValue(double)
 */
public double getRangeCrosshairValue() {
  return this.rangeCrosshairValue;
}

/**
 * Sets the range crosshair value and, if the crosshair is visible, sends
 * a {@link PlotChangeEvent} to all registered listeners.
 *
 * @param value  the new value.
 *
 * @see #getRangeCrosshairValue()
 */
public void setRangeCrosshairValue(double value) {
  setRangeCrosshairValue(value, true);
}

/**
 * Sets the range crosshair value and, if requested, sends a
 * {@link PlotChangeEvent} to all registered listeners (but only if the
 * crosshair is visible).
 *
 * @param value  the new value.
 * @param notify  a flag that controls whether or not listeners are
 *                notified.
 *
 * @see #getRangeCrosshairValue()
 */
public void setRangeCrosshairValue(double value, boolean notify) {
  this.rangeCrosshairValue = value;
  if (isRangeCrosshairVisible() && notify) {
    fireChangeEvent();
  }
}

/**
 * Returns the pen-style (<code>Stroke</code>) used to draw the crosshair
 * (if visible).
 *
 * @return The crosshair stroke (never <code>null</code>).
 *
 * @see #setRangeCrosshairStroke(Stroke)
 * @see #isRangeCrosshairVisible()
 * @see #getRangeCrosshairPaint()
 */
public Stroke getRangeCrosshairStroke() {
  return this.rangeCrosshairStroke;
}


Next
Previous
Clone Instance
2
Line Count
75
Source Line
1439
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/ContourPlot.java

/**
 * Sets the flag indicating whether or not the range crosshair is visible.
 *
 * @param flag  the new value of the flag.
 */
public void setRangeCrosshairVisible(boolean flag) {
  if (this.rangeCrosshairVisible != flag) {
    this.rangeCrosshairVisible = flag;
    fireChangeEvent();
  }
}

/**
 * Returns a flag indicating whether or not the crosshair should "lock-on"
 * to actual data values.
 *
 * @return The flag.
 */
public boolean isRangeCrosshairLockedOnData() {
  return this.rangeCrosshairLockedOnData;
}

/**
 * Sets the flag indicating whether or not the range crosshair should 
 * "lock-on" to actual data values.
 *
 * @param flag  the flag.
 */
public void setRangeCrosshairLockedOnData(boolean flag) {
  if (this.rangeCrosshairLockedOnData != flag) {
    this.rangeCrosshairLockedOnData = flag;
    fireChangeEvent();
  }
}

/**
 * Returns the range crosshair value.
 *
 * @return The value.
 */
public double getRangeCrosshairValue() {
  return this.rangeCrosshairValue;
}

/**
 * Sets the domain crosshair value.
 * <P>
 * Registered listeners are notified that the plot has been modified, but
 * only if the crosshair is visible.
 *
 * @param value  the new value.
 */
public void setRangeCrosshairValue(double value) {
  setRangeCrosshairValue(value, true);
}

/**
 * Sets the range crosshair value.
 * <P>
 * Registered listeners are notified that the axis has been modified, but
 * only if the crosshair is visible.
 *
 * @param value  the new value.
 * @param notify  a flag that controls whether or not listeners are 
 *                notified.
 */
public void setRangeCrosshairValue(double value, boolean notify) {
  this.rangeCrosshairValue = value;
  if (isRangeCrosshairVisible() && notify) {
    fireChangeEvent();
  }
}

/**
 * Returns the Stroke used to draw the crosshair (if visible).
 *
 * @return The crosshair stroke.
 */
public Stroke getRangeCrosshairStroke() {
  return this.rangeCrosshairStroke;
}


First
Previous
Clone Instance
3
Line Count
88
Source Line
4242
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java

/**
 * Sets the flag indicating whether or not the range crosshair is visible.
 * If the flag value changes, this method sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param flag  the new value of the flag.
 *
 * @see #isRangeCrosshairVisible()
 */
public void setRangeCrosshairVisible(boolean flag) {
  if (this.rangeCrosshairVisible != flag) {
    this.rangeCrosshairVisible = flag;
    fireChangeEvent();
  }
}

/**
 * Returns a flag indicating whether or not the crosshair should "lock-on"
 * to actual data values.
 *
 * @return The flag.
 *
 * @see #setRangeCrosshairLockedOnData(boolean)
 */
public boolean isRangeCrosshairLockedOnData() {
  return this.rangeCrosshairLockedOnData;
}

/**
 * Sets the flag indicating whether or not the range crosshair should
 * "lock-on" to actual data values.  If the flag value changes, this method
 * sends a {@link PlotChangeEvent} to all registered listeners.
 *
 * @param flag  the flag.
 *
 * @see #isRangeCrosshairLockedOnData()
 */
public void setRangeCrosshairLockedOnData(boolean flag) {
  if (this.rangeCrosshairLockedOnData != flag) {
    this.rangeCrosshairLockedOnData = flag;
    fireChangeEvent();
  }
}

/**
 * Returns the range crosshair value.
 *
 * @return The value.
 *
 * @see #setRangeCrosshairValue(double)
 */
public double getRangeCrosshairValue() {
  return this.rangeCrosshairValue;
}

/**
 * Sets the range crosshair value.
 * <P>
 * Registered listeners are notified that the plot has been modified, but
 * only if the crosshair is visible.
 *
 * @param value  the new value.
 *
 * @see #getRangeCrosshairValue()
 */
public void setRangeCrosshairValue(double value) {
  setRangeCrosshairValue(value, true);
}

/**
 * Sets the range crosshair value and sends a {@link PlotChangeEvent} to
 * all registered listeners, but only if the crosshair is visible.
 *
 * @param value  the new value.
 * @param notify  a flag that controls whether or not listeners are
 *                notified.
 *
 * @see #getRangeCrosshairValue()
 */
public void setRangeCrosshairValue(double value, boolean notify) {
  this.rangeCrosshairValue = value;
  if (isRangeCrosshairVisible() && notify) {
    fireChangeEvent();
  }
}

/**
 * Returns the stroke used to draw the crosshair (if visible).
 *
 * @return The crosshair stroke (never <code>null</code>).
 *
 * @see #setRangeCrosshairStroke(Stroke)
 * @see #isRangeCrosshairVisible()
 * @see #getRangeCrosshairPaint()
 */
public Stroke getRangeCrosshairStroke() {
  return this.rangeCrosshairStroke;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Sets the flag indicating whether or not the range crosshair is visible.
     * If the flag value changes, this method sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param flag  the new value of the flag.
     *
     * @see #isRangeCrosshairVisible()
     */
/**
     * Sets the flag indicating whether or not the range crosshair is visible.
     *
     * @param flag  the new value of the flag.
     */
/**
     * Sets the flag indicating whether or not the range crosshair is visible.
     *
     * @param flag  the new value of the flag.
     *
     * @see #isRangeCrosshairVisible()
     */
public void setRangeCrosshairVisible(boolean flag) {
  if (this.rangeCrosshairVisible != flag) {
    this.rangeCrosshairVisible = flag;
    fireChangeEvent();
  }
}

/**
     * Returns a flag indicating whether or not the crosshair should "lock-on"
     * to actual data values.
     *
     * @return The flag.
     *
     * @see #setRangeCrosshairLockedOnData(boolean)
     */
/**
     * Returns a flag indicating whether or not the crosshair should "lock-on"
     * to actual data values.
     *
     * @return The flag.
     */
public boolean isRangeCrosshairLockedOnData() {
  return this.rangeCrosshairLockedOnData;
}

/**
     * Sets the flag indicating whether or not the range crosshair should
     * "lock-on" to actual data values.  If the flag value changes, this method
     * sends a {@link PlotChangeEvent} to all registered listeners.
     *
     * @param flag  the flag.
     *
     * @see #isRangeCrosshairLockedOnData()
     */
/**
     * Sets the flag indicating whether or not the range crosshair should 
     * "lock-on" to actual data values.
     *
     * @param flag  the flag.
     */
/**
     * Sets the flag indicating whether or not the range crosshair should
     * "lock-on" to actual data values, and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param flag  the flag.
     *
     * @see #isRangeCrosshairLockedOnData()
     */
public void setRangeCrosshairLockedOnData(boolean flag) {
  if (this.rangeCrosshairLockedOnData != flag) {
    this.rangeCrosshairLockedOnData = flag;
    fireChangeEvent();
  }
}

/**
     * Returns the range crosshair value.
     *
     * @return The value.
     *
     * @see #setRangeCrosshairValue(double)
     */
/**
     * Returns the range crosshair value.
     *
     * @return The value.
     */
public double getRangeCrosshairValue() {
  return this.rangeCrosshairValue;
}

/**
     * Sets the range crosshair value.
     * <P>
     * Registered listeners are notified that the plot has been modified, but
     * only if the crosshair is visible.
     *
     * @param value  the new value.
     *
     * @see #getRangeCrosshairValue()
     */
/**
     * Sets the domain crosshair value.
     * <P>
     * Registered listeners are notified that the plot has been modified, but
     * only if the crosshair is visible.
     *
     * @param value  the new value.
     */
/**
     * Sets the range crosshair value and, if the crosshair is visible, sends
     * a {@link PlotChangeEvent} to all registered listeners.
     *
     * @param value  the new value.
     *
     * @see #getRangeCrosshairValue()
     */
public void setRangeCrosshairValue(double value) {
  setRangeCrosshairValue(value, true);
}

/**
     * Sets the range crosshair value and sends a {@link PlotChangeEvent} to
     * all registered listeners, but only if the crosshair is visible.
     *
     * @param value  the new value.
     * @param notify  a flag that controls whether or not listeners are
     *                notified.
     *
     * @see #getRangeCrosshairValue()
     */
/**
     * Sets the range crosshair value.
     * <P>
     * Registered listeners are notified that the axis has been modified, but
     * only if the crosshair is visible.
     *
     * @param value  the new value.
     * @param notify  a flag that controls whether or not listeners are 
     *                notified.
     */
/**
     * Sets the range crosshair value and, if requested, sends a
     * {@link PlotChangeEvent} to all registered listeners (but only if the
     * crosshair is visible).
     *
     * @param value  the new value.
     * @param notify  a flag that controls whether or not listeners are
     *                notified.
     *
     * @see #getRangeCrosshairValue()
     */
public void setRangeCrosshairValue(double value, boolean notify) {
  this.rangeCrosshairValue = value;
  if (isRangeCrosshairVisible() && notify) {
    fireChangeEvent();
  }
}

/**
     * Returns the stroke used to draw the crosshair (if visible).
     *
     * @return The crosshair stroke (never <code>null</code>).
     *
     * @see #setRangeCrosshairStroke(Stroke)
     * @see #isRangeCrosshairVisible()
     * @see #getRangeCrosshairPaint()
     */
/**
     * Returns the Stroke used to draw the crosshair (if visible).
     *
     * @return The crosshair stroke.
     */
/**
     * Returns the pen-style (<code>Stroke</code>) used to draw the crosshair
     * (if visible).
     *
     * @return The crosshair stroke (never <code>null</code>).
     *
     * @see #setRangeCrosshairStroke(Stroke)
     * @see #isRangeCrosshairVisible()
     * @see #getRangeCrosshairPaint()
     */
public Stroke getRangeCrosshairStroke() {
  return this.rangeCrosshairStroke;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None