com.mucommander.ui.event
Interface LocationListener

All Known Implementing Classes:
DrivePopupButton, FolderChangeMonitor, FoldersTreePanel, GoBackAction, GoForwardAction, GoToAction, GoToParentAction, GoToParentInBothPanelsAction, GoToParentInOtherPanelAction, GoToRootAction, LocationTextField, MainFrame, ParentFoldersQL, RecentLocationsQL, StatusBar, StopAction

public interface LocationListener

Interface to be implemented by classes that wish to be notified of location changes on a particular FolderPanel. Those classes need to be registered to receive those events, this can be done by calling LocationManager.addLocationListener(LocationListener).

Author:
Maxence Bernard
See Also:
FolderPanel

Method Summary
 void locationCancelled(LocationEvent locationEvent)
          This method is invoked when the current folder has been cancelled by the user.
 void locationChanged(LocationEvent locationEvent)
          This method is invoked when the current folder has changed.
 void locationChanging(LocationEvent locationEvent)
          This method is invoked when the current folder is being changed.
 void locationFailed(LocationEvent locationEvent)
          This method is invoked when the current folder could not be changed, as a result of the folder not existing or failing to list its contents.
 

Method Detail

locationChanging

void locationChanging(LocationEvent locationEvent)
This method is invoked when the current folder is being changed.

A call to either locationChanged(LocationEvent), locationCancelled(LocationEvent) or locationFailed(LocationEvent) will always follow to indicate the outcome of the folder change.

Parameters:
locationEvent - describes the location change event

locationChanged

void locationChanged(LocationEvent locationEvent)
This method is invoked when the current folder has changed.

Parameters:
locationEvent - describes the location change event

locationCancelled

void locationCancelled(LocationEvent locationEvent)
This method is invoked when the current folder has been cancelled by the user.

Parameters:
locationEvent - describes the location change event

locationFailed

void locationFailed(LocationEvent locationEvent)
This method is invoked when the current folder could not be changed, as a result of the folder not existing or failing to list its contents.

Parameters:
locationEvent - describes the location change event


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard