CloneSet365


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
48230.956class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
153764
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
2481049
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
Next
Last
Clone Instance
1
Line Count
53
Source Line
764
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

/**
 * Sets the location of the domain axis and, if requested, sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param location  the axis location (<code>null</code> not permitted).
 * @param notify  a flag that controls whether listeners are notified.
 */
public void setDomainAxisLocation(AxisLocation location, boolean notify) {
  // delegate...
  setDomainAxisLocation(0, location, notify);
}

/**
 * Sets the location for a domain axis and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param index  the axis index.
 * @param location  the location.
 *
 * @see #getDomainAxisLocation(int)
 * @see #setRangeAxisLocation(int, AxisLocation)
 */
public void setDomainAxisLocation(int index, AxisLocation location) {
  // delegate...
  setDomainAxisLocation(index, location, true);
}

/**
 * Sets the location for a domain axis and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param index  the axis index.
 * @param location  the location.
 * @param notify  notify listeners?
 *
 * @since 1.0.5
 *
 * @see #getDomainAxisLocation(int)
 * @see #setRangeAxisLocation(int, AxisLocation, boolean)
 */
public void setDomainAxisLocation(int index, AxisLocation location, boolean notify) {
  if (index == 0 && location == null) {
    throw new IllegalArgumentException("Null \'location\' for index 0 not permitted.");
  }
  this.domainAxisLocations.set(index, location);
  if (notify) {
    fireChangeEvent();
  }
}

/**
 * Returns the domain axis edge.  This is derived from the axis location
 * and the plot orientation.
 *
 * @return The edge (never <code>null</code>).
 */
public RectangleEdge getDomainAxisEdge() {
  return getDomainAxisEdge(0);
}


First
Previous
Clone Instance
2
Line Count
48
Source Line
1049
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

/**
 * Sets the location of the range axis and, if requested, sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param location  the location (<code>null</code> not permitted).
 * @param notify  notify listeners?
 *
 * @see #setDomainAxisLocation(AxisLocation, boolean)
 */
public void setRangeAxisLocation(AxisLocation location, boolean notify) {
  setRangeAxisLocation(0, location, notify);
}

/**
 * Sets the location for a range axis and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param index  the axis index.
 * @param location  the location.
 *
 * @see #getRangeAxisLocation(int)
 * @see #setRangeAxisLocation(int, AxisLocation, boolean)
 */
public void setRangeAxisLocation(int index, AxisLocation location) {
  setRangeAxisLocation(index, location, true);
}

/**
 * Sets the location for a range axis and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param index  the axis index.
 * @param location  the location.
 * @param notify  notify listeners?
 *
 * @see #getRangeAxisLocation(int)
 * @see #setDomainAxisLocation(int, AxisLocation, boolean)
 */
public void setRangeAxisLocation(int index, AxisLocation location, boolean notify) {
  if (index == 0 && location == null) {
    throw new IllegalArgumentException("Null \'location\' for index 0 not permitted.");
  }
  this.rangeAxisLocations.set(index, location);
  if (notify) {
    fireChangeEvent();
  }
}

/**
 * Returns the edge where the primary range axis is located.
 *
 * @return The edge (never <code>null</code>).
 */
public RectangleEdge getRangeAxisEdge() {
  return getRangeAxisEdge(0);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Sets the location of the range axis and, if requested, sends a
     * {@link PlotChangeEvent} to all registered listeners.
     *
     * @param location  the location (<code>null</code> not permitted).
     * @param notify  notify listeners?
     *
     * @see #setDomainAxisLocation(AxisLocation, boolean)
     */
/**
     * Sets the location of the domain axis and, if requested, sends a
     * {@link PlotChangeEvent} to all registered listeners.
     *
     * @param location  the axis location (<code>null</code> not permitted).
     * @param notify  a flag that controls whether listeners are notified.
     */
public void [[#variable1a92f9e0]](AxisLocation location, boolean notify) {
   [[#variable1a92f9e0]](0, location, notify);
}

/**
     * Sets the location for a range axis and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param index  the axis index.
     * @param location  the location.
     *
     * @see #getRangeAxisLocation(int)
     * @see #setRangeAxisLocation(int, AxisLocation, boolean)
     */
/**
     * Sets the location for a domain axis and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param index  the axis index.
     * @param location  the location.
     *
     * @see #getDomainAxisLocation(int)
     * @see #setRangeAxisLocation(int, AxisLocation)
     */
public void [[#variable1a92f9e0]](int index, AxisLocation location) {
   [[#variable1a92f9e0]](index, location, true);
}

/**
     * Sets the location for a range axis and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param index  the axis index.
     * @param location  the location.
     * @param notify  notify listeners?
     *
     * @see #getRangeAxisLocation(int)
     * @see #setDomainAxisLocation(int, AxisLocation, boolean)
     */
/**
     * Sets the location for a domain axis and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param index  the axis index.
     * @param location  the location.
     * @param notify  notify listeners?
     *
     * @since 1.0.5
     *
     * @see #getDomainAxisLocation(int)
     * @see #setRangeAxisLocation(int, AxisLocation, boolean)
     */
public void [[#variable1a92f9e0]](int index, AxisLocation location, boolean notify) {
  if (index == 0 && location == null) {
    throw new IllegalArgumentException("Null \'location\' for index 0 not permitted.");
  }
  this. [[#variable1a92faa0]].set(index, location);
  if (notify) {
    fireChangeEvent();
  }
}

/**
     * Returns the edge where the primary range axis is located.
     *
     * @return The edge (never <code>null</code>).
     */
/**
     * Returns the domain axis edge.  This is derived from the axis location
     * and the plot orientation.
     *
     * @return The edge (never <code>null</code>).
     */
public RectangleEdge  [[#variable1a92edc0]]() {
  return [[#variable1a92edc0]](0);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a92f9e0]]
setDomainAxisLocation 
12[[#1a92f9e0]]
setRangeAxisLocation 
21[[#1a92faa0]]
domainAxisLocations 
22[[#1a92faa0]]
rangeAxisLocations 
31[[#1a92edc0]]
getDomainAxisEdge 
32[[#1a92edc0]]
getRangeAxisEdge