com.mucommander.ui.event
Class LocationEvent

java.lang.Object
  extended by com.mucommander.ui.event.LocationEvent

public class LocationEvent
extends java.lang.Object

Event used to indicate that a folder change is or has occurred. This event is passed to to every LocationListener that registered to receive those events on a particular FolderPanel.

Author:
Maxence Bernard

Constructor Summary
LocationEvent(FolderPanel folderPanel, FileURL folderURL)
          Creates a new LocationEvent.
 
Method Summary
 FolderPanel getFolderPanel()
          Returns the FolderPanel instance where location has or is being changed.
 FileURL getFolderURL()
          Returns the URL to the folder that has or is being changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationEvent

public LocationEvent(FolderPanel folderPanel,
                     FileURL folderURL)
Creates a new LocationEvent.

Parameters:
folderPanel - FolderPanel where location has or is being changed.
folderURL - url of the folder that has or is being changed
Method Detail

getFolderPanel

public FolderPanel getFolderPanel()
Returns the FolderPanel instance where location has or is being changed.


getFolderURL

public FileURL getFolderURL()
Returns the URL to the folder that has or is being changed.



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