CloneSet1637


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116186
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StackedBarRenderer3D.java
218131
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/StackedXYBarRenderer.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
186
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StackedBarRenderer3D.java

/**
 * Returns <code>true</code> if the renderer displays each item value as
 * a percentage (so that the stacked bars add to 100%), and
 * <code>false</code> otherwise.
 *
 * @return A boolean.
 *
 * @since 1.0.2
 */
public boolean getRenderAsPercentages() {
  return this.renderAsPercentages;
}

/**
 * Sets the flag that controls whether the renderer displays each item
 * value as a percentage (so that the stacked bars add to 100%), and sends
 * a {@link RendererChangeEvent} to all registered listeners.
 *
 * @param asPercentages  the flag.
 *
 * @since 1.0.2
 */
public void setRenderAsPercentages(boolean asPercentages) {
  this.renderAsPercentages = asPercentages;
  fireChangeEvent();
}


First
Previous
Clone Instance
2
Line Count
18
Source Line
131
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/StackedXYBarRenderer.java

/**
 * Returns <code>true</code> if the renderer displays each item value as
 * a percentage (so that the stacked bars add to 100%), and 
 * <code>false</code> otherwise.
 * 
 * @return A boolean.
 * 
 * @see #setRenderAsPercentages(boolean)
 * 
 * @since 1.0.5
 */
public boolean getRenderAsPercentages() {
  return this.renderAsPercentages;
}

/**
 * Sets the flag that controls whether the renderer displays each item
 * value as a percentage (so that the stacked bars add to 100%), and sends
 * a {@link RendererChangeEvent} to all registered listeners.
 * 
 * @param asPercentages  the flag.
 * 
 * @see #getRenderAsPercentages()
 * 
 * @since 1.0.5
 */
public void setRenderAsPercentages(boolean asPercentages) {
  this.renderAsPercentages = asPercentages;
  fireChangeEvent();
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns <code>true</code> if the renderer displays each item value as
     * a percentage (so that the stacked bars add to 100%), and 
     * <code>false</code> otherwise.
     * 
     * @return A boolean.
     * 
     * @see #setRenderAsPercentages(boolean)
     * 
     * @since 1.0.5
     */
/**
     * Returns <code>true</code> if the renderer displays each item value as
     * a percentage (so that the stacked bars add to 100%), and
     * <code>false</code> otherwise.
     *
     * @return A boolean.
     *
     * @since 1.0.2
     */
public boolean getRenderAsPercentages() {
  return this.renderAsPercentages;
}

/**
     * Sets the flag that controls whether the renderer displays each item
     * value as a percentage (so that the stacked bars add to 100%), and sends
     * a {@link RendererChangeEvent} to all registered listeners.
     * 
     * @param asPercentages  the flag.
     * 
     * @see #getRenderAsPercentages()
     * 
     * @since 1.0.5
     */
/**
     * Sets the flag that controls whether the renderer displays each item
     * value as a percentage (so that the stacked bars add to 100%), and sends
     * a {@link RendererChangeEvent} to all registered listeners.
     *
     * @param asPercentages  the flag.
     *
     * @since 1.0.2
     */
public void setRenderAsPercentages(boolean asPercentages) {
  this.renderAsPercentages = asPercentages;
  fireChangeEvent();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None