|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.data.AbstractDataSource
The AbstractDataSource
abstract class implements the
TableDataModel
interface and defines methods for dealing with
JCTableDataListener processing.
TableDataModel
,
JCListenerList
,
Serialized FormField Summary | |
protected com.klg.jclass.util.JCListenerList |
listeners
|
Constructor Summary | |
AbstractDataSource()
|
Method Summary | |
void |
addTableDataListener(com.klg.jclass.table.JCTableDataListener l)
Adds a JCTableDataListener to this object. |
void |
dispose()
|
void |
fireColumnChanged(int column)
Sends a JCTableDataEvent object to registered TableDataListener objects when a single column changes. |
void |
fireColumnLabelChanged(int column)
Sends a JCTableDataEvent object to registered TableDataListener objects when a single column label changes. |
void |
fireColumnsAdded(int start_column,
int num_columns)
Sends a JCTableDataEvent object to registered TableDataListener objects when one or more columns are added. |
void |
fireColumnsDeleted(int start_column,
int num_columns)
Sends a JCTableDataEvent object to registered TableDataListener objects when one or more columns are deleted. |
void |
fireColumnsMoved(int start_column,
int num_columns,
int destination)
Sends a JCTableDataEvent object to registered TableDataListener objects when one or more columns are moved. |
void |
fireDataReset()
Sends a JCTableDataEvent object to registered TableDataListener objects when a reset is required because numerous changes have been made. |
void |
fireNumColumnsChanged()
Sends a JCTableDataEvent object to registered TableDataListener objects when the number of columns changes. |
void |
fireNumRowsChanged()
Sends a JCTableDataEvent object to registered TableDataListener objects when the number of rows changes. |
void |
fireRowChanged(int row)
Sends a JCTableDataEvent object to registered TableDataListener objects when a single row changes. |
void |
fireRowDeleted(int start_row,
int num_rows)
Sends a JCTableDataEvent object to registered TableDataListener objects when one or more rows are deleted. |
void |
fireRowLabelChanged(int row)
Sends a JCTableDataEvent object to registered TableDataListener objects when a single row label changes. |
void |
fireRowsAdded(int start_row,
int num_rows)
Sends a JCTableDataEvent object to registered TableDataListener objects when one or more rows are added. |
void |
fireRowsMoved(int start_row,
int num_rows,
int destination)
Sends a JCTableDataEvent object to registered TableDataListener objects when one or more rows are moved. |
void |
fireTableDataEvent(com.klg.jclass.table.JCTableDataEvent evt)
Sends a JCTableDataEvent object to registered JCTableDataListener objects. |
void |
fireValueChanged(int row,
int column)
Sends a JCTableDataEvent object to registered TableDataListener objects when a single cell value changes. |
boolean |
hasListeners()
|
void |
removeTableDataListener(com.klg.jclass.table.JCTableDataListener l)
Removes a JCTableDataListener from this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.klg.jclass.util.JCTableDataModel |
getNumColumns, getNumRows, getTableColumnLabel, getTableDataItem, getTableRowLabel |
Field Detail |
protected com.klg.jclass.util.JCListenerList listeners
Constructor Detail |
public AbstractDataSource()
Method Detail |
public void addTableDataListener(com.klg.jclass.table.JCTableDataListener l)
JCTableDataListener
to this object.
addTableDataListener
in interface TableDataModel
JCTableDataListener
,
JCTableDataEvent
public void removeTableDataListener(com.klg.jclass.table.JCTableDataListener l)
JCTableDataListener
from this object
removeTableDataListener
in interface TableDataModel
JCTableDataListener
,
JCTableDataEvent
public void fireTableDataEvent(com.klg.jclass.table.JCTableDataEvent evt)
public void fireValueChanged(int row, int column)
public void fireRowChanged(int row)
public void fireRowsAdded(int start_row, int num_rows)
public void fireRowDeleted(int start_row, int num_rows)
public void fireColumnChanged(int column)
public void fireColumnsAdded(int start_column, int num_columns)
public void fireColumnsDeleted(int start_column, int num_columns)
public void fireRowLabelChanged(int row)
public void fireColumnLabelChanged(int column)
public void fireRowsMoved(int start_row, int num_rows, int destination)
destination
- the row that will follow the moved rows.public void fireColumnsMoved(int start_column, int num_columns, int destination)
destination
- the column that will follow the moved columns.public void fireNumRowsChanged()
public void fireNumColumnsChanged()
public void fireDataReset()
public boolean hasListeners()
public void dispose()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |