com.jtechlabs.ui.widget.directorychooser
Interface DirectoryChooserConfirmationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DirectoryChooserDefaultHandler

public interface DirectoryChooserConfirmationListener
extends java.util.EventListener

The listener that is notified that given operation requested confirmation.

Version:
1.0
Author:
Aleksey Prochukhan

Method Summary
 void deleteConfirmation(DirectoryChooserConfirmationEvent event)
          Called whenever users tries to delete a directory.
 void moveConfirmation(DirectoryChooserConfirmationEvent event)
          Called whenever users tries to move a directory.
 

Method Detail

deleteConfirmation

public void deleteConfirmation(DirectoryChooserConfirmationEvent event)
Called whenever users tries to delete a directory.

Parameters:
event - the event object that contains information about directory being deleted. This method should call event.setConfirmed(true) in order to confirm delete operation or call event.setConfirmed(false) in order to cancel delete operation.

moveConfirmation

public void moveConfirmation(DirectoryChooserConfirmationEvent event)
Called whenever users tries to move a directory.

Parameters:
event - the event object that contains information about directory being moved. This method should call event.setConfirmed(true) in order to confirm move operation or call event.setConfirmed(false) in order to cancel move operation.


Copyright © 2005 JTechLabs.com All Rights Reserved.