org.jfree.chart.needle
Class MiddlePinNeedle
- java.lang.Object
-
- org.jfree.chart.needle.MeterNeedle
-
- org.jfree.chart.needle.MiddlePinNeedle
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class MiddlePinNeedle extends MeterNeedle implements java.lang.Cloneable, java.io.Serializable
A needle that is drawn as a pin shape.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MiddlePinNeedle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Returns a clone of this needle.booleanequals(java.lang.Object object)Tests another object for equality with this object.inthashCode()Returns a hash code for this instance.-
Methods inherited from class org.jfree.chart.needle.MeterNeedle
draw, draw, draw, getFillPaint, getHighlightPaint, getOutlinePaint, getOutlineStroke, getRotateX, getRotateY, getSize, getTransform, setFillPaint, setHighlightPaint, setOutlinePaint, setOutlineStroke, setRotateX, setRotateY, setSize
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object object)
Tests another object for equality with this object.- Overrides:
equalsin classMeterNeedle- Parameters:
object- the object to test.- Returns:
- A boolean.
-
hashCode
public int hashCode()
Returns a hash code for this instance.- Overrides:
hashCodein classMeterNeedle- Returns:
- A hash code.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionReturns a clone of this needle.- Overrides:
clonein classjava.lang.Object- Returns:
- A clone.
- Throws:
java.lang.CloneNotSupportedException- if theMiddlePinNeedlecannot be cloned (in theory, this should not happen).
-
-
DMelt 3.0 © DataMelt by jWork.ORG