gov.nih.nlm.swing
Interface CutandPasteModeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
PrecedenceFilter

public interface CutandPasteModeListener
extends EventListener

Generically represents a listener for cut and paste events fired from a CutandPasteDNDTable. There are four possibilities as the methods communicate both the current mode of the table and the current action.

Author:
Brian Carsen

Method Summary
 void cutDoneinCutMode(CutandPasteModeEvent e)
          Informs the listener that a cut was made while in the mode where a cut was expected.
 void cutDoneinPasteMode(CutandPasteModeEvent e)
          Informs the listener that a cut was made while in the mode where a paste was expected.
 void pasteDoneinCutMode(CutandPasteModeEvent e)
          Informs the listener that a paste was made while in the mode where a cut was expected.
 void pasteDoneinPasteMode(CutandPasteModeEvent e)
          Informs the listener that a paste was made while in the mode where a paste was expected.
 

Method Detail

cutDoneinCutMode

public void cutDoneinCutMode(CutandPasteModeEvent e)
Informs the listener that a cut was made while in the mode where a cut was expected.

Parameters:
e - the CutandPasteModeEvent

cutDoneinPasteMode

public void cutDoneinPasteMode(CutandPasteModeEvent e)
Informs the listener that a cut was made while in the mode where a paste was expected. Typically, this should result in an exception.

Parameters:
e - the CutandPasteModeEvent

pasteDoneinPasteMode

public void pasteDoneinPasteMode(CutandPasteModeEvent e)
Informs the listener that a paste was made while in the mode where a paste was expected.

Parameters:
e - the CutandPasteModeEvent

pasteDoneinCutMode

public void pasteDoneinCutMode(CutandPasteModeEvent e)
Informs the listener that a paste was made while in the mode where a cut was expected. Typically, this should result in an exception.

Parameters:
e - the CutandPasteModeEvent


Copyright ©2005