com.mucommander.job
Interface FileJobListener

All Known Implementing Classes:
ProgressDialog

public interface FileJobListener

Interface to be implemented by classes that wish to be notified of state changes on a particular FileJob. Those classes need to be registered to receive those events, this can be done by calling FileJob.addFileJobListener(FileJobListener).

Author:
Maxence Bernard

Method Summary
 void jobStateChanged(FileJob source, int oldState, int newState)
          Called when the state of the specified FileJob has changed.
 

Method Detail

jobStateChanged

void jobStateChanged(FileJob source,
                     int oldState,
                     int newState)
Called when the state of the specified FileJob has changed.

Parameters:
source - the FileJob which state has changed
oldState - the FileJob's state prior to the change, see FileJob's constant fields for possible values
newState - the new FileJob's state, see FileJob's constant fields for possible values


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