|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.util.ObjectTable
A lookup table for objects.
| Constructor Summary | |
ObjectTable()
Creates a new table. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Tests this paint table for equality with another object (typically also an ObjectTable). |
int |
getColumnCount()
Returns the number of columns in the table. |
protected java.lang.Object |
getObject(int row,
int column)
Returns the object from a particular cell in the table. |
int |
getRowCount()
Returns the number of rows in the table. |
protected java.lang.Object |
readSerializedData(java.io.ObjectInputStream stream)
Handles the deserialization of a single element of the table. |
protected void |
setObject(int row,
int column,
java.lang.Object object)
Sets the object for a cell in the table. |
protected void |
writeSerializedData(java.io.ObjectOutputStream stream,
java.lang.Object o)
Handles the serialization of an single element of this table. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ObjectTable()
| Method Detail |
public int getRowCount()
public int getColumnCount()
protected java.lang.Object getObject(int row,
int column)
Note: throws IndexOutOfBoundsException if row or column is negative.
row - the row index (zero-based).column - the column index (zero-based).
protected void setObject(int row,
int column,
java.lang.Object object)
row - the row index (zero-based).column - the column index (zero-based).object - the object.public boolean equals(java.lang.Object o)
ObjectTable).
o - the other object.
protected void writeSerializedData(java.io.ObjectOutputStream stream,
java.lang.Object o)
throws java.io.IOException
stream - the stream which should write the objecto - the object that should be serialized
java.io.IOException - if an IO error occured
protected java.lang.Object readSerializedData(java.io.ObjectInputStream stream)
throws java.io.OptionalDataException,
java.lang.ClassNotFoundException,
java.io.IOException
stream - the object input stream from which to read the object.
java.io.OptionalDataException - Primitive data was found in the
stream instead of objects.
java.lang.ClassNotFoundException - if a class cannot be found.
java.io.IOException - Any of the usual Input/Output related exceptions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||