|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.tables.data.ColumnSet
final class ColumnSet
Used for one set of a ColumnModel. Stores a column's header value and the column's width. getHashID() and isCompatible() is meant to be a alternative to hashCode() and isEquals(), respectively. An isEquals() object would imply that the columns and their widths are identical. Compatibility just ensures that the two objects have the same set of columnnames.
Constructor Summary | |
---|---|
ColumnSet(javax.swing.table.TableColumnModel tableColumnModel)
Initializes this object with the columnnames and widths in tableColumnModel |
Method Summary | |
---|---|
void |
applyTo(javax.swing.table.TableColumnModel tableColumnModel)
Changes the widths in tableColumnModel to match this object |
int |
getHashID()
Returns a Hash value for the data contained within this object |
boolean |
isCompatible(java.lang.Object obj)
Returns true if the Data contain the same set of columns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColumnSet(javax.swing.table.TableColumnModel tableColumnModel)
Method Detail |
---|
public void applyTo(javax.swing.table.TableColumnModel tableColumnModel)
public int getHashID()
public boolean isCompatible(java.lang.Object obj)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |