|
|||||||||
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
public class 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 | |
---|---|
boolean |
equals(java.lang.Object obj)
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, clone, 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 boolean equals(java.lang.Object obj)
equals
in class AbstractObjectList
obj
- the other object (null
permitted).
public int hashCode()
hashCode
in class AbstractObjectList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |