|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.beanexplorer.swing.table.AbstractRowModel
ru.biosoft.access.support.DataCollectionRowModelAdapter
| Field Summary | |
protected static org.apache.log4j.Category |
cat
|
| Constructor Summary | |
DataCollectionRowModelAdapter(DataCollection dc)
|
|
| Method Summary | |
void |
cleanup()
|
void |
elementAdded(DataCollectionEvent e)
Called after data element was added. |
void |
elementChanged(DataCollectionEvent e)
Called after data element was changed. |
void |
elementRemoved(DataCollectionEvent e)
Called after data element was removed. |
void |
elementWillAdd(DataCollectionEvent e)
Called before data element will be added. |
void |
elementWillChange(DataCollectionEvent e)
Called before data element will be changed. |
void |
elementWillRemove(DataCollectionEvent e)
Called before data element will be removed. |
java.lang.Object |
getBean(int index)
Returns a bean at the index. |
void |
registerListener()
|
int |
size()
Returns a number of beans in the model. |
void |
unregisterListener()
|
| Methods inherited from class com.beanexplorer.swing.table.AbstractRowModel |
addRowModelListener, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, getBeanClass, getListeners, removeRowModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.log4j.Category cat
| Constructor Detail |
public DataCollectionRowModelAdapter(DataCollection dc)
| Method Detail |
public void registerListener()
public void unregisterListener()
public java.lang.Object getBean(int index)
getBean in interface com.beanexplorer.swing.table.RowModelpublic int size()
TabularPropertyInspector uses this method to determine how many rows
it should display. This method should be quick, as it is called frequently during rendering.
size in interface com.beanexplorer.swing.table.RowModel
public void elementWillRemove(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
elementWillRemove in interface DataCollectionListenere - DataCollectionEvent information about will removed data element.
DataCollectionVetoException - If listener cancel removing of data element.
java.lang.Exception - If error occured.
public void elementAdded(DataCollectionEvent e)
throws java.lang.Exception
elementAdded in interface DataCollectionListenere - DataCollectionEvent information about added data element.
java.lang.Exception - If error occured.
public void elementWillAdd(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
elementWillAdd in interface DataCollectionListenere - DataCollectionEvent information about will added data element.
DataCollectionVetoException - If listener cancel adding of data element.
java.lang.Exception - If error occured.
public void elementChanged(DataCollectionEvent e)
throws java.lang.Exception
e contains old data element (which already changed).
elementChanged in interface DataCollectionListenere - DataCollectionEvent information about changed data element.
java.lang.Exception - If error occured.
public void elementWillChange(DataCollectionEvent e)
throws DataCollectionVetoException,
java.lang.Exception
e contains old data element (which will be changed).
elementWillChange in interface DataCollectionListenere - DataCollectionEvent information about will change data element.
DataCollectionVetoException - If listener cancel changing of data element.
java.lang.Exception - If error occured.
public void elementRemoved(DataCollectionEvent e)
throws java.lang.Exception
elementRemoved in interface DataCollectionListenere - DataCollectionEvent information about removed data element.
java.lang.Exception - If error occured.public void cleanup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||