public class ExcelAdapter
ExcelAdapter enables Copy-Paste Clipboard functionality on JTables. The clipboard data format used by the adapter is compatible with the clipboard format used by Excel. This provides for clipboard interoperability between enabled JTables and Excel.
Constructor and description |
---|
ExcelAdapter
(javax.swing.JTable myJTable) The Excel Adapter is constructed with a JTable on which it enables Copy-Paste and acts as a Clipboard listener. |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
actionPerformed(java.awt.event.ActionEvent e) This method is activated on the Keystrokes we are listening to in this implementation. |
|
public javax.swing.JTable |
getJTable() Public Accessor methods for the Table on which this adapter acts. |
|
public void |
setJTable(javax.swing.JTable jTable1) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The Excel Adapter is constructed with a JTable on which it enables Copy-Paste and acts as a Clipboard listener.
This method is activated on the Keystrokes we are listening to in this implementation. Here it listens for Copy and Paste ActionCommands. Selections comprising non-adjacent cells result in invalid selection and then copy action cannot be performed. Paste is done by aligning the upper left corner of the selection with the 1st element in the current selection of the JTable.
Public Accessor methods for the Table on which this adapter acts.
ReadyAPI functional (soapui-pro) SDK 3.57.0