|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.util.AbstractObjectList
org.jfree.util.PaintList
A table of Paint objects.
| Field Summary |
| Fields inherited from class org.jfree.util.AbstractObjectList |
DEFAULT_INITIAL_CAPACITY |
| Constructor Summary | |
PaintList()
Creates a new list. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns an independent copy of the list. |
boolean |
equals(java.lang.Object o)
Tests the list for equality with another object (typically also a list). |
java.awt.Paint |
getPaint(int index)
Returns a Paint object from the list. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setPaint(int index,
java.awt.Paint paint)
Sets the Paint for an item in the list. |
| Methods inherited from class org.jfree.util.AbstractObjectList |
clear, get, indexOf, set, size |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PaintList()
| Method Detail |
public java.awt.Paint getPaint(int index)
Paint object from the list.
index - the index (zero-based).
public void setPaint(int index,
java.awt.Paint paint)
Paint for an item in the list. The list is expanded if necessary.
index - the index (zero-based).paint - the Paint.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AbstractObjectListjava.lang.CloneNotSupportedException - if an item in the list cannot be cloned.public boolean equals(java.lang.Object o)
equals in class AbstractObjectListo - the other object.
public int hashCode()
hashCode in class AbstractObjectList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||