public class EnhancedExcelAdapter
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
EnhancedExcelAdapter(javax.swing.JTable myJTable)
The Excel Adapter is constructed with a
JTable on which it enables Copy-Paste and acts
as a Clipboard listener.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
This method is activated on the Keystrokes we are listening to
in this implementation.
|
protected java.lang.StringBuffer |
copyFromModel() |
protected java.lang.StringBuffer |
copyFromTable() |
protected java.awt.Point |
getDialogLocation(javax.swing.JDialog dialog,
java.awt.Component c) |
protected javax.swing.JPanel |
getDialogPanel(javax.swing.JDialog dialog) |
javax.swing.JTable |
getJTable()
Public Accessor methods for the Table on which this adapter acts.
|
protected void |
hideWaitDialog() |
protected void |
notifyDataChanged() |
protected void |
notifyStructureChanged() |
protected void |
pasteToModel(java.lang.String pasteString,
int startRow,
int startCol) |
protected void |
pasteToTable(java.lang.String pasteString,
int startRow,
int startCol) |
void |
setJTable(javax.swing.JTable jTable1) |
protected void |
setNotifications(boolean notify) |
protected void |
showWaitDialog() |
public EnhancedExcelAdapter(javax.swing.JTable myJTable)
protected java.awt.Point getDialogLocation(javax.swing.JDialog dialog, java.awt.Component c)
protected javax.swing.JPanel getDialogPanel(javax.swing.JDialog dialog)
protected void showWaitDialog()
protected void hideWaitDialog()
public javax.swing.JTable getJTable()
public void setJTable(javax.swing.JTable jTable1)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
protected java.lang.StringBuffer copyFromModel()
protected java.lang.StringBuffer copyFromTable()
protected void pasteToModel(java.lang.String pasteString, int startRow, int startCol)
protected void pasteToTable(java.lang.String pasteString, int startRow, int startCol)
protected void setNotifications(boolean notify)
protected void notifyStructureChanged()
protected void notifyDataChanged()