/**
   * Tests an object for equality with this instance.
   *
   * @param obj the object (<code>null</code> permitted).
   * @return A boolean.
   */
  public boolean equals(Object obj) {

    if (obj == this) {
      return true;
    }
    if (!super.equals(obj)) {
      return false;
    }
    if (!(obj instanceof WaterfallBarRenderer)) {
      return false;
    }
    WaterfallBarRenderer that = (WaterfallBarRenderer) obj;
    if (!PaintUtilities.equal(this.firstBarPaint, that.firstBarPaint)) {
      return false;
    }
    if (!PaintUtilities.equal(this.lastBarPaint, that.lastBarPaint)) {
      return false;
    }
    if (!PaintUtilities.equal(this.positiveBarPaint, that.positiveBarPaint)) {
      return false;
    }
    if (!PaintUtilities.equal(this.negativeBarPaint, that.negativeBarPaint)) {
      return false;
    }
    return true;
  }
 /**
  * Tests this renderer for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof XYDifferenceRenderer)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   XYDifferenceRenderer that = (XYDifferenceRenderer) obj;
   if (!PaintUtilities.equal(this.positivePaint, that.positivePaint)) {
     return false;
   }
   if (!PaintUtilities.equal(this.negativePaint, that.negativePaint)) {
     return false;
   }
   if (this.shapesVisible != that.shapesVisible) {
     return false;
   }
   if (!ShapeUtilities.equal(this.legendLine, that.legendLine)) {
     return false;
   }
   if (this.roundXCoordinates != that.roundXCoordinates) {
     return false;
   }
   return true;
 }
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof DoubleLineDialFrame)) {
     return false;
   }
   DoubleLineDialFrame that = (DoubleLineDialFrame) obj;
   if (!PaintUtilities.equal(getBackgroundPaint(), that.getBackgroundPaint())) {
     return false;
   }
   if (!PaintUtilities.equal(getForegroundPaint(), that.getForegroundPaint())) {
     return false;
   }
   if (!PaintUtilities.equal(getInnerForegroundPaint(), that.getInnerForegroundPaint())) {
     return false;
   }
   if (getRadius() != that.getRadius()) {
     return false;
   }
   if (!this.getStroke().equals(that.getStroke())) {
     return false;
   }
   return super.equals(obj);
 }
Exemplo n.º 4
0
 /**
  * Tests this annotation for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   // now try to reject equality
   if (!super.equals(obj)) {
     return false;
   }
   if (!(obj instanceof XYShapeAnnotation)) {
     return false;
   }
   XYShapeAnnotation that = (XYShapeAnnotation) obj;
   if (!this.shape.equals(that.shape)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.stroke, that.stroke)) {
     return false;
   }
   if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint)) {
     return false;
   }
   if (!PaintUtilities.equal(this.fillPaint, that.fillPaint)) {
     return false;
   }
   // seem to be the same
   return true;
 }
Exemplo n.º 5
0
 /**
  * Tests this instance for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof DialValueIndicator)) {
     return false;
   }
   DialValueIndicator that = (DialValueIndicator) obj;
   if (this.datasetIndex != that.datasetIndex) {
     return false;
   }
   if (this.angle != that.angle) {
     return false;
   }
   if (this.radius != that.radius) {
     return false;
   }
   if (!this.frameAnchor.equals(that.frameAnchor)) {
     return false;
   }
   if (!this.templateValue.equals(that.templateValue)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.maxTemplateValue, that.maxTemplateValue)) {
     return false;
   }
   if (!this.font.equals(that.font)) {
     return false;
   }
   if (!PaintUtilities.equal(this.paint, that.paint)) {
     return false;
   }
   if (!PaintUtilities.equal(this.backgroundPaint, that.backgroundPaint)) {
     return false;
   }
   if (!this.outlineStroke.equals(that.outlineStroke)) {
     return false;
   }
   if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint)) {
     return false;
   }
   if (!this.insets.equals(that.insets)) {
     return false;
   }
   if (!this.valueAnchor.equals(that.valueAnchor)) {
     return false;
   }
   if (!this.textAnchor.equals(that.textAnchor)) {
     return false;
   }
   return super.equals(obj);
 }
 /**
  * Tests this <code>LegendGraphic</code> instance for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (!(obj instanceof LegendGraphic)) {
     return false;
   }
   LegendGraphic that = (LegendGraphic) obj;
   if (this.shapeVisible != that.shapeVisible) {
     return false;
   }
   if (!ShapeUtilities.equal(this.shape, that.shape)) {
     return false;
   }
   if (this.shapeFilled != that.shapeFilled) {
     return false;
   }
   if (!PaintUtilities.equal(this.fillPaint, that.fillPaint)) {
     return false;
   }
   if (this.shapeOutlineVisible != that.shapeOutlineVisible) {
     return false;
   }
   if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.outlineStroke, that.outlineStroke)) {
     return false;
   }
   if (this.shapeAnchor != that.shapeAnchor) {
     return false;
   }
   if (this.shapeLocation != that.shapeLocation) {
     return false;
   }
   if (this.lineVisible != that.lineVisible) {
     return false;
   }
   if (!ShapeUtilities.equal(this.line, that.line)) {
     return false;
   }
   if (!PaintUtilities.equal(this.linePaint, that.linePaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.lineStroke, that.lineStroke)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   return true;
 }
Exemplo n.º 7
0
 /**
  * Tests this plot for equality with an arbitrary object.
  *
  * @param obj the object to test against (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (this == obj) {
     return true;
   }
   if (!(obj instanceof RingPlot)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   RingPlot that = (RingPlot) obj;
   if (this.sectionSeparatorsVisible != that.sectionSeparatorsVisible) {
     return false;
   }
   if (!ObjectUtilities.equal(this.separatorStroke, that.separatorStroke)) {
     return false;
   }
   if (!PaintUtilities.equal(this.separatorPaint, that.separatorPaint)) {
     return false;
   }
   if (this.innerSeparatorExtension != that.innerSeparatorExtension) {
     return false;
   }
   if (this.outerSeparatorExtension != that.outerSeparatorExtension) {
     return false;
   }
   return true;
 }
Exemplo n.º 8
0
  /**
   * Tests the axis for equality with another object.
   *
   * @param obj the object (<code>null</code> permitted).
   * @return A boolean.
   */
  public boolean equals(Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof CyclicNumberAxis)) {
      return false;
    }
    if (!super.equals(obj)) {
      return false;
    }
    CyclicNumberAxis axis = (CyclicNumberAxis) obj;

    if (this.period != axis.period) {
      return false;
    }
    if (this.offset != axis.offset) {
      return false;
    }
    if (!PaintUtilities.equal(this.advanceLinePaint, axis.advanceLinePaint)) {
      return false;
    }
    if (!ObjectUtilities.equal(this.advanceLineStroke, axis.advanceLineStroke)) {
      return false;
    }
    if (this.advanceLineVisible != axis.advanceLineVisible) {
      return false;
    }
    if (this.boundMappedToLastCycle != axis.boundMappedToLastCycle) {
      return false;
    }
    return true;
  }
 /**
  * Tests this instance for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof StandardDialRange)) {
     return false;
   }
   StandardDialRange that = (StandardDialRange) obj;
   if (this.scaleIndex != that.scaleIndex) {
     return false;
   }
   if (this.lowerBound != that.lowerBound) {
     return false;
   }
   if (this.upperBound != that.upperBound) {
     return false;
   }
   if (!PaintUtilities.equal(this.paint, that.paint)) {
     return false;
   }
   if (this.innerRadius != that.innerRadius) {
     return false;
   }
   if (this.outerRadius != that.outerRadius) {
     return false;
   }
   return super.equals(obj);
 }
 /**
  * Tests this object for equality with an arbitrary object.
  *
  * @param obj the object to test against (<code>null</code> permitted).
  * @return <code>true</code> or <code>false</code>.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!super.equals(obj)) {
     return false;
   }
   if (!(obj instanceof XYLineAnnotation)) {
     return false;
   }
   XYLineAnnotation that = (XYLineAnnotation) obj;
   if (this.x1 != that.x1) {
     return false;
   }
   if (this.y1 != that.y1) {
     return false;
   }
   if (this.x2 != that.x2) {
     return false;
   }
   if (this.y2 != that.y2) {
     return false;
   }
   if (!PaintUtilities.equal(this.paint, that.paint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.stroke, that.stroke)) {
     return false;
   }
   // seems to be the same...
   return true;
 }
Exemplo n.º 11
0
 /**
  * Tests this renderer for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return <code>true</code> or <code>false</code>.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof BoxAndWhiskerRenderer)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   BoxAndWhiskerRenderer that = (BoxAndWhiskerRenderer) obj;
   if (!PaintUtilities.equal(this.artifactPaint, that.artifactPaint)) {
     return false;
   }
   if (this.fillBox != that.fillBox) {
     return false;
   }
   if (this.itemMargin != that.itemMargin) {
     return false;
   }
   if (this.maximumBarWidth != that.maximumBarWidth) {
     return false;
   }
   return true;
 }
Exemplo n.º 12
0
 /**
  * Tests this title for equality with another object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return <code>true</code> or <code>false</code>.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof TextTitle)) {
     return false;
   }
   TextTitle that = (TextTitle) obj;
   if (!ObjectUtilities.equal(this.text, that.text)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.font, that.font)) {
     return false;
   }
   if (!PaintUtilities.equal(this.paint, that.paint)) {
     return false;
   }
   if (this.textAlignment != that.textAlignment) {
     return false;
   }
   if (!PaintUtilities.equal(this.backgroundPaint, that.backgroundPaint)) {
     return false;
   }
   if (this.maximumLinesToDisplay != that.maximumLinesToDisplay) {
     return false;
   }
   if (this.expandToFitSpace != that.expandToFitSpace) {
     return false;
   }
   if (!ObjectUtilities.equal(this.toolTipText, that.toolTipText)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.urlText, that.urlText)) {
     return false;
   }
   return super.equals(obj);
 }
Exemplo n.º 13
0
 /**
  * Tests this renderer for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof GanttRenderer)) {
     return false;
   }
   GanttRenderer that = (GanttRenderer) obj;
   if (!PaintUtilities.equal(this.completePaint, that.completePaint)) {
     return false;
   }
   if (!PaintUtilities.equal(this.incompletePaint, that.incompletePaint)) {
     return false;
   }
   if (this.startPercent != that.startPercent) {
     return false;
   }
   if (this.endPercent != that.endPercent) {
     return false;
   }
   return super.equals(obj);
 }
Exemplo n.º 14
0
 /**
  * Tests this legend for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (!(obj instanceof PaintScaleLegend)) {
     return false;
   }
   PaintScaleLegend that = (PaintScaleLegend) obj;
   if (!this.scale.equals(that.scale)) {
     return false;
   }
   if (!this.axis.equals(that.axis)) {
     return false;
   }
   if (!this.axisLocation.equals(that.axisLocation)) {
     return false;
   }
   if (this.axisOffset != that.axisOffset) {
     return false;
   }
   if (this.stripWidth != that.stripWidth) {
     return false;
   }
   if (this.stripOutlineVisible != that.stripOutlineVisible) {
     return false;
   }
   if (!PaintUtilities.equal(this.stripOutlinePaint, that.stripOutlinePaint)) {
     return false;
   }
   if (!this.stripOutlineStroke.equals(that.stripOutlineStroke)) {
     return false;
   }
   if (!PaintUtilities.equal(this.backgroundPaint, that.backgroundPaint)) {
     return false;
   }
   if (this.subdivisions != that.subdivisions) {
     return false;
   }
   return super.equals(obj);
 }
 /**
  * Tests this renderer for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof StatisticalBarRenderer)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   StatisticalBarRenderer that = (StatisticalBarRenderer) obj;
   if (!PaintUtilities.equal(this.errorIndicatorPaint, that.errorIndicatorPaint)) {
     return false;
   }
   return true;
 }
Exemplo n.º 16
0
 /**
  * Tests this item for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof PaintItem)) {
     return false;
   }
   PaintItem that = (PaintItem) obj;
   if (this.value != that.value) {
     return false;
   }
   if (!PaintUtilities.equal(this.paint, that.paint)) {
     return false;
   }
   return true;
 }
 /**
  * Tests this renderer for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof StatisticalLineAndShapeRenderer)) {
     return false;
   }
   StatisticalLineAndShapeRenderer that = (StatisticalLineAndShapeRenderer) obj;
   if (!PaintUtilities.equal(this.errorIndicatorPaint, that.errorIndicatorPaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.errorIndicatorStroke, that.errorIndicatorStroke)) {
     return false;
   }
   return super.equals(obj);
 }
Exemplo n.º 18
0
 /**
  * Tests this renderer for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof BarRenderer3D)) {
     return false;
   }
   BarRenderer3D that = (BarRenderer3D) obj;
   if (this.xOffset != that.xOffset) {
     return false;
   }
   if (this.yOffset != that.yOffset) {
     return false;
   }
   if (!PaintUtilities.equal(this.wallPaint, that.wallPaint)) {
     return false;
   }
   return super.equals(obj);
 }
Exemplo n.º 19
0
 /**
  * Tests this border for equality with an arbitrary instance.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof LineBorder)) {
     return false;
   }
   LineBorder that = (LineBorder) obj;
   if (!PaintUtilities.equal(this.paint, that.paint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.stroke, that.stroke)) {
     return false;
   }
   if (!this.insets.equals(that.insets)) {
     return false;
   }
   return true;
 }
Exemplo n.º 20
0
 /**
  * Tests this title for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof LegendTitle)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   LegendTitle that = (LegendTitle) obj;
   if (!PaintUtilities.equal(this.backgroundPaint, that.backgroundPaint)) {
     return false;
   }
   if (this.legendItemGraphicEdge != that.legendItemGraphicEdge) {
     return false;
   }
   if (this.legendItemGraphicAnchor != that.legendItemGraphicAnchor) {
     return false;
   }
   if (this.legendItemGraphicLocation != that.legendItemGraphicLocation) {
     return false;
   }
   if (!this.itemFont.equals(that.itemFont)) {
     return false;
   }
   if (!this.itemPaint.equals(that.itemPaint)) {
     return false;
   }
   if (!this.hLayout.equals(that.hLayout)) {
     return false;
   }
   if (!this.vLayout.equals(that.vLayout)) {
     return false;
   }
   if (!this.sortOrder.equals(that.sortOrder)) {
     return false;
   }
   return true;
 }
Exemplo n.º 21
0
 /**
  * Tests this instance for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof LookupPaintScale)) {
     return false;
   }
   LookupPaintScale that = (LookupPaintScale) obj;
   if (this.lowerBound != that.lowerBound) {
     return false;
   }
   if (this.upperBound != that.upperBound) {
     return false;
   }
   if (!PaintUtilities.equal(this.defaultPaint, that.defaultPaint)) {
     return false;
   }
   if (!this.lookupTable.equals(that.lookupTable)) {
     return false;
   }
   return true;
 }
Exemplo n.º 22
0
 /**
  * Tests this axis for equality with another object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return <code>true</code> or <code>false</code>.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof Axis)) {
     return false;
   }
   Axis that = (Axis) obj;
   if (this.visible != that.visible) {
     return false;
   }
   if (!ObjectUtilities.equal(this.label, that.label)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.labelFont, that.labelFont)) {
     return false;
   }
   if (!PaintUtilities.equal(this.labelPaint, that.labelPaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.labelInsets, that.labelInsets)) {
     return false;
   }
   if (this.labelAngle != that.labelAngle) {
     return false;
   }
   if (this.axisLineVisible != that.axisLineVisible) {
     return false;
   }
   if (!ObjectUtilities.equal(this.axisLineStroke, that.axisLineStroke)) {
     return false;
   }
   if (!PaintUtilities.equal(this.axisLinePaint, that.axisLinePaint)) {
     return false;
   }
   if (this.tickLabelsVisible != that.tickLabelsVisible) {
     return false;
   }
   if (!ObjectUtilities.equal(this.tickLabelFont, that.tickLabelFont)) {
     return false;
   }
   if (!PaintUtilities.equal(this.tickLabelPaint, that.tickLabelPaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.tickLabelInsets, that.tickLabelInsets)) {
     return false;
   }
   if (this.tickMarksVisible != that.tickMarksVisible) {
     return false;
   }
   if (this.tickMarkInsideLength != that.tickMarkInsideLength) {
     return false;
   }
   if (this.tickMarkOutsideLength != that.tickMarkOutsideLength) {
     return false;
   }
   if (!PaintUtilities.equal(this.tickMarkPaint, that.tickMarkPaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.tickMarkStroke, that.tickMarkStroke)) {
     return false;
   }
   if (this.minorTickMarksVisible != that.minorTickMarksVisible) {
     return false;
   }
   if (this.minorTickMarkInsideLength != that.minorTickMarkInsideLength) {
     return false;
   }
   if (this.minorTickMarkOutsideLength != that.minorTickMarkOutsideLength) {
     return false;
   }
   if (this.fixedDimension != that.fixedDimension) {
     return false;
   }
   return true;
 }
Exemplo n.º 23
0
 /**
  * Tests this <code>StandardDialScale</code> for equality with an arbitrary object.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 @Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof StandardDialScale)) {
     return false;
   }
   StandardDialScale that = (StandardDialScale) obj;
   if (this.lowerBound != that.lowerBound) {
     return false;
   }
   if (this.upperBound != that.upperBound) {
     return false;
   }
   if (this.startAngle != that.startAngle) {
     return false;
   }
   if (this.extent != that.extent) {
     return false;
   }
   if (this.tickRadius != that.tickRadius) {
     return false;
   }
   if (this.majorTickIncrement != that.majorTickIncrement) {
     return false;
   }
   if (this.majorTickLength != that.majorTickLength) {
     return false;
   }
   if (!PaintUtilities.equal(this.majorTickPaint, that.majorTickPaint)) {
     return false;
   }
   if (!this.majorTickStroke.equals(that.majorTickStroke)) {
     return false;
   }
   if (this.minorTickCount != that.minorTickCount) {
     return false;
   }
   if (this.minorTickLength != that.minorTickLength) {
     return false;
   }
   if (!PaintUtilities.equal(this.minorTickPaint, that.minorTickPaint)) {
     return false;
   }
   if (!this.minorTickStroke.equals(that.minorTickStroke)) {
     return false;
   }
   if (this.tickLabelsVisible != that.tickLabelsVisible) {
     return false;
   }
   if (this.tickLabelOffset != that.tickLabelOffset) {
     return false;
   }
   if (!this.tickLabelFont.equals(that.tickLabelFont)) {
     return false;
   }
   if (!PaintUtilities.equal(this.tickLabelPaint, that.tickLabelPaint)) {
     return false;
   }
   return super.equals(obj);
 }
Exemplo n.º 24
0
 /**
  * Tests the plot for equality with an arbitrary object. Note that the dataset is ignored for the
  * purposes of testing equality.
  *
  * @param obj the object (<code>null</code> permitted).
  * @return A boolean.
  */
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof MeterPlot)) {
     return false;
   }
   if (!super.equals(obj)) {
     return false;
   }
   MeterPlot that = (MeterPlot) obj;
   if (!ObjectUtilities.equal(this.units, that.units)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.range, that.range)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.intervals, that.intervals)) {
     return false;
   }
   if (!PaintUtilities.equal(this.dialOutlinePaint, that.dialOutlinePaint)) {
     return false;
   }
   if (this.shape != that.shape) {
     return false;
   }
   if (!PaintUtilities.equal(this.dialBackgroundPaint, that.dialBackgroundPaint)) {
     return false;
   }
   if (!PaintUtilities.equal(this.needlePaint, that.needlePaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.valueFont, that.valueFont)) {
     return false;
   }
   if (!PaintUtilities.equal(this.valuePaint, that.valuePaint)) {
     return false;
   }
   if (!PaintUtilities.equal(this.tickPaint, that.tickPaint)) {
     return false;
   }
   if (this.tickSize != that.tickSize) {
     return false;
   }
   if (this.tickLabelsVisible != that.tickLabelsVisible) {
     return false;
   }
   if (!ObjectUtilities.equal(this.tickLabelFont, that.tickLabelFont)) {
     return false;
   }
   if (!PaintUtilities.equal(this.tickLabelPaint, that.tickLabelPaint)) {
     return false;
   }
   if (!ObjectUtilities.equal(this.tickLabelFormat, that.tickLabelFormat)) {
     return false;
   }
   if (this.drawBorder != that.drawBorder) {
     return false;
   }
   if (this.meterAngle != that.meterAngle) {
     return false;
   }
   return true;
 }