Adempiere 3.5.2a

org.compiere.grid
Class VTableExcelAdapter

java.lang.Object
  extended by org.compiere.grid.VTableExcelAdapter
All Implemented Interfaces:
ActionListener, EventListener

public class VTableExcelAdapter
extends Object
implements ActionListener

VTableExcelAdapter enables Copy Clipboard functionality on VTables.

Author:
Teo Sarca, SC ARHIPAC SERVICE SRL - FR [ 1753943 ]

Field Summary
static String CMD_Copy
           
static String CMD_CopyWithHeaders
           
 
Constructor Summary
VTableExcelAdapter(VTable table)
          The Excel Adapter is constructed with a VTable on which it enables Copy-Paste and acts as a Clipboard listener.
 
Method Summary
 void actionPerformed(ActionEvent e)
          This method is activated on the Keystrokes we are listening to in this implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD_Copy

public static final String CMD_Copy
See Also:
Constant Field Values

CMD_CopyWithHeaders

public static final String CMD_CopyWithHeaders
See Also:
Constant Field Values
Constructor Detail

VTableExcelAdapter

public VTableExcelAdapter(VTable table)
The Excel Adapter is constructed with a VTable on which it enables Copy-Paste and acts as a Clipboard listener.

Parameters:
table -
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
This method is activated on the Keystrokes we are listening to in this implementation. Here it listens for Copy and Paste ActionCommands.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - event

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.