edu.ucsb.nceas.morpho.datapackage
Class TableCutCommand

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

public class TableCutCommand
extends java.lang.Object
implements Command

Class to handle table paste command


Field Summary
protected  javax.swing.JTable source
           
 
Constructor Summary
TableCutCommand()
          Constructor of paste command
 
Method Summary
protected  void clearValueAt(javax.swing.JTable tbl, int row, int col)
           
 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

TableCutCommand

public TableCutCommand()
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)

clearValueAt

protected void clearValueAt(javax.swing.JTable tbl,
                            int row,
                            int col)


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