CloneSet277


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
83230.973class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
183182
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogAxis.java
282304
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java
Next
Last
Clone Instance
1
Line Count
83
Source Line
182
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogAxis.java

/**
 * Returns the current tick unit.
 * 
 * @return The current tick unit.
 * 
 * @see #setTickUnit(NumberTickUnit)
 */
public NumberTickUnit getTickUnit() {
  return this.tickUnit;
}

/**
 * Sets the tick unit for the axis and sends an {@link AxisChangeEvent} to 
 * all registered listeners.  A side effect of calling this method is that
 * the "auto-select" feature for tick units is switched off (you can 
 * restore it using the {@link ValueAxis#setAutoTickUnitSelection(boolean)}
 * method).
 *
 * @param unit  the new tick unit (<code>null</code> not permitted).
 * 
 * @see #getTickUnit()
 */
public void setTickUnit(NumberTickUnit unit) {
  // defer argument checking...
  setTickUnit(unit, true, true);
}

/**
 * Sets the tick unit for the axis and, if requested, sends an 
 * {@link AxisChangeEvent} to all registered listeners.  In addition, an 
 * option is provided to turn off the "auto-select" feature for tick units 
 * (you can restore it using the 
 * {@link ValueAxis#setAutoTickUnitSelection(boolean)} method).
 *
 * @param unit  the new tick unit (<code>null</code> not permitted).
 * @param notify  notify listeners?
 * @param turnOffAutoSelect  turn off the auto-tick selection?
 * 
 * @see #getTickUnit()
 */
public void setTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect) {
  if (unit == null) {
    throw new IllegalArgumentException("Null \'unit\' argument.");
  }
  this.tickUnit = unit;
  if (turnOffAutoSelect) {
    setAutoTickUnitSelection(false, false);
  }
  if (notify) {
    notifyListeners(new AxisChangeEvent(this ));
  }
}

/**
 * Returns the number format override.  If this is non-null, then it will 
 * be used to format the numbers on the axis.
 *
 * @return The number formatter (possibly <code>null</code>).
 * 
 * @see #setNumberFormatOverride(NumberFormat)
 */
public NumberFormat getNumberFormatOverride() {
  return this.numberFormatOverride;
}

/**
 * Sets the number format override.  If this is non-null, then it will be 
 * used to format the numbers on the axis.
 *
 * @param formatter  the number formatter (<code>null</code> permitted).
 * 
 * @see #getNumberFormatOverride()
 */
public void setNumberFormatOverride(NumberFormat formatter) {
  this.numberFormatOverride = formatter;
  notifyListeners(new AxisChangeEvent(this ));
}

/**
 * Returns the number of minor tick marks to display.
 * 
 * @return The number of minor tick marks to display.
 * 
 * @see #setMinorTickCount(int)
 */
public int getMinorTickCount() {
  return this.minorTickCount;
}


First
Previous
Clone Instance
2
Line Count
82
Source Line
304
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java

/**
 * Returns the tick unit for the axis.
 * <p>
 * Note: if the <code>autoTickUnitSelection</code> flag is
 * <code>true</code> the tick unit may be changed while the axis is being
 * drawn, so in that case the return value from this method may be
 * irrelevant if the method is called before the axis has been drawn.
 *
 * @return The tick unit for the axis.
 *
 * @see #setTickUnit(NumberTickUnit)
 * @see ValueAxis#isAutoTickUnitSelection()
 */
public NumberTickUnit getTickUnit() {
  return this.tickUnit;
}

/**
 * Sets the tick unit for the axis and sends an {@link AxisChangeEvent} to
 * all registered listeners.  A side effect of calling this method is that
 * the "auto-select" feature for tick units is switched off (you can
 * restore it using the {@link ValueAxis#setAutoTickUnitSelection(boolean)}
 * method).
 *
 * @param unit  the new tick unit (<code>null</code> not permitted).
 *
 * @see #getTickUnit()
 * @see #setTickUnit(NumberTickUnit, boolean, boolean)
 */
public void setTickUnit(NumberTickUnit unit) {
  // defer argument checking...
  setTickUnit(unit, true, true);
}

/**
 * Sets the tick unit for the axis and, if requested, sends an
 * {@link AxisChangeEvent} to all registered listeners.  In addition, an
 * option is provided to turn off the "auto-select" feature for tick units
 * (you can restore it using the
 * {@link ValueAxis#setAutoTickUnitSelection(boolean)} method).
 *
 * @param unit  the new tick unit (<code>null</code> not permitted).
 * @param notify  notify listeners?
 * @param turnOffAutoSelect  turn off the auto-tick selection?
 */
public void setTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect) {
  if (unit == null) {
    throw new IllegalArgumentException("Null \'unit\' argument.");
  }
  this.tickUnit = unit;
  if (turnOffAutoSelect) {
    setAutoTickUnitSelection(false, false);
  }
  if (notify) {
    notifyListeners(new AxisChangeEvent(this ));
  }
}

/**
 * Returns the number format override.  If this is non-null, then it will
 * be used to format the numbers on the axis.
 *
 * @return The number formatter (possibly <code>null</code>).
 *
 * @see #setNumberFormatOverride(NumberFormat)
 */
public NumberFormat getNumberFormatOverride() {
  return this.numberFormatOverride;
}

/**
 * Sets the number format override.  If this is non-null, then it will be
 * used to format the numbers on the axis.
 *
 * @param formatter  the number formatter (<code>null</code> permitted).
 *
 * @see #getNumberFormatOverride()
 */
public void setNumberFormatOverride(NumberFormat formatter) {
  this.numberFormatOverride = formatter;
  notifyListeners(new AxisChangeEvent(this ));
}

/**
 * Returns the (optional) marker band for the axis.
 *
 * @return The marker band (possibly <code>null</code>).
 *
 * @see #setMarkerBand(MarkerAxisBand)
 */
public MarkerAxisBand getMarkerBand() {
  return this.markerBand;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Returns the current tick unit.
     * 
     * @return The current tick unit.
     * 
     * @see #setTickUnit(NumberTickUnit)
     */
/**
     * Returns the tick unit for the axis.
     * <p>
     * Note: if the <code>autoTickUnitSelection</code> flag is
     * <code>true</code> the tick unit may be changed while the axis is being
     * drawn, so in that case the return value from this method may be
     * irrelevant if the method is called before the axis has been drawn.
     *
     * @return The tick unit for the axis.
     *
     * @see #setTickUnit(NumberTickUnit)
     * @see ValueAxis#isAutoTickUnitSelection()
     */
public NumberTickUnit getTickUnit() {
  return this.tickUnit;
}

/**
     * Sets the tick unit for the axis and sends an {@link AxisChangeEvent} to 
     * all registered listeners.  A side effect of calling this method is that
     * the "auto-select" feature for tick units is switched off (you can 
     * restore it using the {@link ValueAxis#setAutoTickUnitSelection(boolean)}
     * method).
     *
     * @param unit  the new tick unit (<code>null</code> not permitted).
     * 
     * @see #getTickUnit()
     */
/**
     * Sets the tick unit for the axis and sends an {@link AxisChangeEvent} to
     * all registered listeners.  A side effect of calling this method is that
     * the "auto-select" feature for tick units is switched off (you can
     * restore it using the {@link ValueAxis#setAutoTickUnitSelection(boolean)}
     * method).
     *
     * @param unit  the new tick unit (<code>null</code> not permitted).
     *
     * @see #getTickUnit()
     * @see #setTickUnit(NumberTickUnit, boolean, boolean)
     */
public void setTickUnit(NumberTickUnit unit) {
  // defer argument checking...
  setTickUnit(unit, true, true);
}

/**
     * Sets the tick unit for the axis and, if requested, sends an 
     * {@link AxisChangeEvent} to all registered listeners.  In addition, an 
     * option is provided to turn off the "auto-select" feature for tick units 
     * (you can restore it using the 
     * {@link ValueAxis#setAutoTickUnitSelection(boolean)} method).
     *
     * @param unit  the new tick unit (<code>null</code> not permitted).
     * @param notify  notify listeners?
     * @param turnOffAutoSelect  turn off the auto-tick selection?
     * 
     * @see #getTickUnit()
     */
/**
     * Sets the tick unit for the axis and, if requested, sends an
     * {@link AxisChangeEvent} to all registered listeners.  In addition, an
     * option is provided to turn off the "auto-select" feature for tick units
     * (you can restore it using the
     * {@link ValueAxis#setAutoTickUnitSelection(boolean)} method).
     *
     * @param unit  the new tick unit (<code>null</code> not permitted).
     * @param notify  notify listeners?
     * @param turnOffAutoSelect  turn off the auto-tick selection?
     */
public void setTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect) {
  if (unit == null) {
    throw new IllegalArgumentException("Null \'unit\' argument.");
  }
  this.tickUnit = unit;
  if (turnOffAutoSelect) {
    setAutoTickUnitSelection(false, false);
  }
  if (notify) {
    notifyListeners(new AxisChangeEvent(this ));
  }
}

/**
     * Returns the number format override.  If this is non-null, then it will 
     * be used to format the numbers on the axis.
     *
     * @return The number formatter (possibly <code>null</code>).
     * 
     * @see #setNumberFormatOverride(NumberFormat)
     */
/**
     * Returns the number format override.  If this is non-null, then it will
     * be used to format the numbers on the axis.
     *
     * @return The number formatter (possibly <code>null</code>).
     *
     * @see #setNumberFormatOverride(NumberFormat)
     */
public NumberFormat getNumberFormatOverride() {
  return this.numberFormatOverride;
}

/**
     * Sets the number format override.  If this is non-null, then it will be 
     * used to format the numbers on the axis.
     *
     * @param formatter  the number formatter (<code>null</code> permitted).
     * 
     * @see #getNumberFormatOverride()
     */
/**
     * Sets the number format override.  If this is non-null, then it will be
     * used to format the numbers on the axis.
     *
     * @param formatter  the number formatter (<code>null</code> permitted).
     *
     * @see #getNumberFormatOverride()
     */
public void setNumberFormatOverride(NumberFormat formatter) {
  this.numberFormatOverride = formatter;
  notifyListeners(new AxisChangeEvent(this ));
}

/**
     * Returns the number of minor tick marks to display.
     * 
     * @return The number of minor tick marks to display.
     * 
     * @see #setMinorTickCount(int)
     */
/**
     * Returns the (optional) marker band for the axis.
     *
     * @return The marker band (possibly <code>null</code>).
     *
     * @see #setMarkerBand(MarkerAxisBand)
     */
public [[#variable1a8d4e60]]  [[#variable1a8d4da0]]() {
  return this. [[#variable1a8d4b20]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a8d4e60]]
int 
12[[#1a8d4e60]]
MarkerAxisBand 
21[[#1a8d4da0]]
getMinorTickCount 
22[[#1a8d4da0]]
getMarkerBand 
31[[#1a8d4b20]]
minorTickCount 
32[[#1a8d4b20]]
markerBand