edu.ucsb.nceas.morpho.datapackage
Class TableCopyCommand

java.lang.Object
  extended byedu.ucsb.nceas.morpho.datapackage.TableCopyCommand
All Implemented Interfaces:
Command

public class TableCopyCommand
extends java.lang.Object
implements Command

Class to handle table paste command


Field Summary
protected  javax.swing.JTable source
           
 
Constructor Summary
TableCopyCommand()
          Constructor of paste command
 
Method Summary
 void execute(java.awt.event.ActionEvent event)
          execute paste command
 javax.swing.JTable getSource()
           
protected  java.lang.String getValueAt(javax.swing.JTable tbl, int row, int col)
           
 void setSource(javax.swing.JTable tbl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected javax.swing.JTable source
Constructor Detail

TableCopyCommand

public TableCopyCommand()
Constructor of paste command

Method Detail

setSource

public void setSource(javax.swing.JTable tbl)

getSource

public javax.swing.JTable getSource()

execute

public void execute(java.awt.event.ActionEvent event)
execute paste command

Specified by:
execute in interface Command
Parameters:
event - ActionEvent

getValueAt

protected java.lang.String getValueAt(javax.swing.JTable tbl,
                                      int row,
                                      int col)


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.