new StandardPieToolTipGenerator("{2}{1}{0}")
);
assertTrue(plot1.equals(plot2));
// urlGenerator
plot1.setURLGenerator(new StandardPieURLGenerator("xx"));
assertFalse(plot1.equals(plot2));
plot2.setURLGenerator(new StandardPieURLGenerator("xx"));
assertTrue(plot1.equals(plot2));
// minimumArcAngleToDraw
plot1.setMinimumArcAngleToDraw(1.0);
assertFalse(plot1.equals(plot2));
plot2.setMinimumArcAngleToDraw(1.0);
assertTrue(plot1.equals(plot2));
// legendItemShape
plot1.setLegendItemShape(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
assertFalse(plot1.equals(plot2));
plot2.setLegendItemShape(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
assertTrue(plot1.equals(plot2));
// legendLabelGenerator
plot1.setLegendLabelGenerator(new StandardPieSectionLabelGenerator(
"{0} --> {1}"));
assertFalse(plot1.equals(plot2));
plot2.setLegendLabelGenerator(new StandardPieSectionLabelGenerator(
"{0} --> {1}"));
assertTrue(plot1.equals(plot2));
// legendLabelToolTipGenerator
plot1.setLegendLabelToolTipGenerator(
new StandardPieSectionLabelGenerator("{0} is {1}"));
assertFalse(plot1.equals(plot2));
plot2.setLegendLabelToolTipGenerator(
new StandardPieSectionLabelGenerator("{0} is {1}"));
assertTrue(plot1.equals(plot2));
// legendLabelURLGenerator
plot1.setLegendLabelURLGenerator(new StandardPieURLGenerator(
"index.html"));
assertFalse(plot1.equals(plot2));
plot2.setLegendLabelURLGenerator(new StandardPieURLGenerator(
"index.html"));
assertTrue(plot1.equals(plot2));
// autoPopulateSectionPaint
plot1.setAutoPopulateSectionPaint(false);