|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
com.zfqjava.swing.JDataGrid
com.zfqjava.swing.JDataTable
public class JDataTable
JDataTable provides a data table with the ResultSetTableModel.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.zfqjava.swing.JDataGrid |
|---|
JDataGrid.AccessibleJDataGrid |
| Nested classes/interfaces inherited from class javax.swing.JTable |
|---|
JTable.AccessibleJTable, JTable.PrintMode |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.zfqjava.swing.JDataGrid |
|---|
COMMIT, COMMIT_OR_EDITING, COMMIT_OR_REVERT |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JDataTable()
Creates a new instance of JDataTable with a default ResultSetTableModel |
|
JDataTable(ResultSetTableModel model)
Creates a new instance of JDataTable with the specified ResultSetTableModel |
|
| Method Summary | |
|---|---|
void |
acceptChanges()
Merge the changes to database. |
void |
deleteRow()
Delete the row data in the cursor. |
void |
firstRow()
Move the cursor to first row. |
ResultSetTableModel |
getResultSetTableModel()
|
void |
insertRow()
Move the cursor to insert row. |
void |
lastRow()
Move the cursor to last row. |
void |
nextRow()
Move the cursor to next row. |
void |
previousRow()
Move the cursor to previous row. |
void |
refreshRow()
Refresh the row data in the cursor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDataTable()
public JDataTable(ResultSetTableModel model)
| Method Detail |
|---|
public ResultSetTableModel getResultSetTableModel()
public void lastRow()
public void firstRow()
public void nextRow()
public void previousRow()
public void insertRow()
public void deleteRow()
public void refreshRow()
public void acceptChanges()
|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||