Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.biosoft.access.support
Class DataCollectionRowModelAdapter

    |
    +--ru.biosoft.access.support.DataCollectionRowModelAdapter

public class DataCollectionRowModelAdapter
extends AbstractRowModel
implements DataCollectionListener

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.
`Object` | `getBean(int index)` Returns a bean at the index.
`void` | `registerListener()`
`int` | `size()` Returns a number of beans in the model.
`void` | `unregisterListener()`

Constructor Detail

### DataCollectionRowModelAdapter

    public DataCollectionRowModelAdapter(DataCollection dc)

Method Detail

### cleanup

    public void cleanup()

### elementAdded

    public void elementAdded(DataCollectionEvent e)
                       throws java.lang.Exception

  Called after data element was added.
  Parameters:
    e - DataCollectionEvent information about added data element.
  Throws:
    Exception - If error occured.

### elementChanged

    public void elementChanged(DataCollectionEvent e)
                         throws java.lang.Exception

  Called after data element was changed. `e` contains old data element (which already changed).
  Parameters:
    e - DataCollectionEvent information about changed data element.
  Throws:
    Exception - If error occured.

### elementRemoved

    public void elementRemoved(DataCollectionEvent e)
                         throws java.lang.Exception

  Called after data element was removed.
  Parameters:
    e - DataCollectionEvent information about removed data element.
  Throws:
    Exception - If error occured.

### elementWillAdd

    public void elementWillAdd(DataCollectionEvent e)
                         throws ru.biosoft.access.DataCollectionVetoException,
                                java.lang.Exception

  Called before data element will be added.
  Parameters:
    e - DataCollectionEvent information about will added data element.
  Throws:
    DataCollectionVetoException - If listener cancel adding of data element.
    Exception - If error occured.

### elementWillChange

    public void elementWillChange(DataCollectionEvent e)
                            throws ru.biosoft.access.DataCollectionVetoException,
                                   java.lang.Exception

  Called before data element will be changed. `e` contains old data element (which will be changed).
  Parameters:
    e - DataCollectionEvent information about will change data element.
  Throws:
    DataCollectionVetoException - If listener cancel changing of data element.
    Exception - If error occured.

### elementWillRemove

    public void elementWillRemove(DataCollectionEvent e)
                            throws ru.biosoft.access.DataCollectionVetoException,
                                   java.lang.Exception

  Called before data element will be removed.
  Parameters:
    e - DataCollectionEvent information about will removed data element.
  Throws:
    DataCollectionVetoException - If listener cancel removing of data element.
    Exception - If error occured.

### getBean

    public Object getBean(int index)

  Returns a bean at the index.

### registerListener

    public void registerListener()

### size

    public int size()

  Returns a number of beans in the model. A `TabularPropertyInspector` uses this method to determine how many rows it should display. This method should be quick, as it is called frequently during rendering.

### unregisterListener

    public void unregisterListener()

Association Links

to Class org.apache.log4j.Category

to Class ru.biosoft.access.DataCollection

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM