|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.beans.KeyedPaint
public class KeyedPaint
A (key, paint) pair for use by the JPieChart class (and possibly
others later).
| Constructor Summary | |
|---|---|
KeyedPaint(java.lang.Comparable key,
java.awt.Paint paint)
Creates a new (key, paint) pair. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of this object. |
boolean |
equals(java.lang.Object obj)
Tests if this object is equal to another. |
java.lang.Comparable |
getKey()
Returns the key. |
java.awt.Paint |
getPaint()
Returns the paint. |
void |
setPaint(java.awt.Paint paint)
Sets the paint. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyedPaint(java.lang.Comparable key,
java.awt.Paint paint)
key - the key.paint - the paint (null permitted).| Method Detail |
|---|
public java.lang.Comparable getKey()
public java.awt.Paint getPaint()
null).public void setPaint(java.awt.Paint paint)
paint - the paint (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
PublicCloneable, otherwise a shallow clone is
made.
clone in interface org.jfree.util.PublicCloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if there is a problem cloning.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||