public class ListComponentTester extends java.lang.Object implements IElementSource<java.lang.Integer>, ca.odell.glazedlists.gui.WritableTableFormat<java.lang.Integer>, ca.odell.glazedlists.event.ListEventListener<java.lang.Integer>
Constructor and Description |
---|
ListComponentTester() |
Modifier and Type | Method and Description |
---|---|
void |
checkCopying()
This operation checks the ListComponent class to ensure that its copy()
and clone() operations work as specified.
|
void |
checkElementSource()
This operation checks the IElementSource handle of the ListComponent.
|
void |
checkEquality()
This operation checks the ListComponent class to insure that its equals()
operation works.
|
void |
checkListNotifications()
This method checks that glazed list listeners (ListEventListeners) can be
added and removed from the ListComponent.
|
void |
checkNotifications()
This operation tests the ListComponent to insure that it can properly
dispatch notifications when it receives an update that changes its state.
|
void |
checkProperties()
This operation checks the ListComponent to insure that the id, name and
description getters and setters function properly.
|
void |
checkTableFormat()
This operation is responsible for making sure that the ListComponent can
properly behave as a WritableTableFormat.
|
void |
checkXMLPersistence()
This operation checks the ability of the ListComponent to persist itself
to XML and to load itself from an XML input stream.
|
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
java.lang.Object |
getColumnValue(java.lang.Integer baseObject,
int column) |
ca.odell.glazedlists.EventList<java.lang.Integer> |
getElements()
This operation returns the list of candidates that should be used to select
new elements to add to the ListComponent.
|
ca.odell.glazedlists.gui.TableFormat<java.lang.Integer> |
getTableFormat()
This operation returns the TableFormat that makes it possible to put the
list of elements from getElements() in a searchable table or to otherwise
query them as if they were a table.
|
boolean |
isEditable(java.lang.Integer baseObject,
int column) |
void |
listChanged(ca.odell.glazedlists.event.ListEvent<java.lang.Integer> listChanges) |
java.lang.Integer |
setColumnValue(java.lang.Integer baseObject,
java.lang.Object editedValue,
int column) |
public void checkProperties()
public void checkCopying()
public void checkXMLPersistence() throws java.lang.NullPointerException, javax.xml.bind.JAXBException, java.io.IOException
java.io.IOException
javax.xml.bind.JAXBException
java.lang.NullPointerException
public void checkEquality()
public void checkNotifications()
public void checkListNotifications()
public void checkElementSource()
public void checkTableFormat()
public ca.odell.glazedlists.EventList<java.lang.Integer> getElements()
IElementSource
getElements
in interface IElementSource<java.lang.Integer>
public ca.odell.glazedlists.gui.TableFormat<java.lang.Integer> getTableFormat()
IElementSource
getTableFormat
in interface IElementSource<java.lang.Integer>
public int getColumnCount()
getColumnCount
in interface ca.odell.glazedlists.gui.TableFormat<java.lang.Integer>
public java.lang.String getColumnName(int column)
getColumnName
in interface ca.odell.glazedlists.gui.TableFormat<java.lang.Integer>
public java.lang.Object getColumnValue(java.lang.Integer baseObject, int column)
getColumnValue
in interface ca.odell.glazedlists.gui.TableFormat<java.lang.Integer>
public boolean isEditable(java.lang.Integer baseObject, int column)
isEditable
in interface ca.odell.glazedlists.gui.WritableTableFormat<java.lang.Integer>
public java.lang.Integer setColumnValue(java.lang.Integer baseObject, java.lang.Object editedValue, int column)
setColumnValue
in interface ca.odell.glazedlists.gui.WritableTableFormat<java.lang.Integer>
public void listChanged(ca.odell.glazedlists.event.ListEvent<java.lang.Integer> listChanges)
listChanged
in interface ca.odell.glazedlists.event.ListEventListener<java.lang.Integer>