Class powersoft.jcm.db.DataSourceBase
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class powersoft.jcm.db.DataSourceBase

java.lang.Object
   |
   +----powersoft.jcm.db.DataSourceBase

public class DataSourceBase
extends Object
implements DataSource
An implementation of the DataSource interface. It stores the actual references to DataTarget pointers. It dispatches each event to all its targets.
See Also:
Query, DataSource

Variable Index

 o _adjustCursorVector

Method Index

 o add(boolean, boolean)
 o addAdjustCursorListener(AdjustCursorListener)
 o addTarget(DataTarget)
 o cancelUpdate(boolean)
 o close()
 o delete(boolean)
 o edit()
 o findTarget(DataTarget)
 o getBOF()
 o getColumn(int)
 o getColumnCount()
 o getColumnIndex(String)
 o getCurrentOffset()
 o getEditMode()
returns one of READ_MODE, EDIT_MODE, ADD_MODE
 o getEOF()
 o getForwardOnly()
 o getOpened()
 o getReadOnly()
 o getRowChanged()
 o getValue(int)
 o getValue(int, byte)
 o handleAdjustCursor(AdjustCursorEvent)
 o isFirstRow()
 o isLastRow()
 o log(String, Object)
 o log(Throwable, Object)
 o move(int, boolean)
 o moveFirst(boolean)
 o moveLast(boolean)
 o moveNext(boolean)
 o movePrevious(boolean)
 o moveRelative(int, boolean)
 o open()
 o refresh()
 o removeAdjustCursorListener(AdjustCursorListener)
 o removeTarget(DataTarget)
 o setRowChanged(boolean)
 o setValue(int, DataValue)
 o update(boolean)

Variables

 o _adjustCursorVector
  protected EventListenerVector _adjustCursorVector

Methods

 o addTarget
  public void addTarget(DataTarget target)
 o findTarget
  public boolean findTarget(DataTarget target)
 o removeTarget
  public void removeTarget(DataTarget target)
 o moveFirst
  public boolean moveFirst(boolean notify)
 o moveLast
  public boolean moveLast(boolean notify)
 o moveNext
  public boolean moveNext(boolean notify)
 o movePrevious
  public boolean movePrevious(boolean notify)
 o moveRelative
  public boolean moveRelative(int offset,
                              boolean notify)
 o move
  public boolean move(int offset,
                      boolean notify)
 o addAdjustCursorListener
  public synchronized void addAdjustCursorListener(AdjustCursorListener l)
 o handleAdjustCursor
  public synchronized void handleAdjustCursor(AdjustCursorEvent data)
 o removeAdjustCursorListener
  public synchronized void removeAdjustCursorListener(AdjustCursorListener l)
 o log
  protected abstract void log(String str,
                              Object obj)
 o log
  protected abstract void log(Throwable err,
                              Object obj)

All Packages  Class Hierarchy  This Package  Previous  Next  Index