org.openide.filesystems
Class RepositoryReorderedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.openide.filesystems.RepositoryReorderedEvent
All Implemented Interfaces:
Serializable

public class RepositoryReorderedEvent
extends EventObject

Fired when a file system pool is reordered.

See Also:
Repository.reorder(int[]), Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RepositoryReorderedEvent(Repository fsp, int[] perm)
          Create a new reorder event.
 
Method Summary
 int[] getPermutation()
          Get the permutation of file systems.
 Repository getRepository()
          Get the affected file system pool.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryReorderedEvent

public RepositoryReorderedEvent(Repository fsp,
                                int[] perm)
Create a new reorder event.
Parameters:
fsp - the file system pool being reordered
perm - the permutation of file systems in the pool
Method Detail

getRepository

public Repository getRepository()
Get the affected file system pool.
Returns:
the pool

getPermutation

public int[] getPermutation()
Get the permutation of file systems.
Returns:
the permutation


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.