com.ca.directory.jxplorer.event
Class JXplorerEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ca.directory.jxplorer.event.JXplorerEvent
All Implemented Interfaces:
java.io.Serializable

public class JXplorerEvent
extends java.util.EventObject

The object that implements the JXplorerListener interface gets this JXplorerEvent when the event occurs.

See Also:
JXplorerListener, Serialized Form

Nested Class Summary
static class JXplorerEvent.EventType
          Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JXplorerEvent(java.lang.Object source, JXplorerEvent.EventType type, java.lang.String DN)
          Constructs a JXplorerEvent object.
 
Method Summary
 java.lang.String getDN()
          Returns the current DN.
 JXplorerEvent.EventType getEventType()
          Gets the type of event.
 
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

JXplorerEvent

public JXplorerEvent(java.lang.Object source,
                     JXplorerEvent.EventType type,
                     java.lang.String DN)
Constructs a JXplorerEvent object.

Parameters:
source - the object that originated the event
Method Detail

getDN

public java.lang.String getDN()
Returns the current DN.

Returns:
the selected DN (or null if none selected)

getEventType

public JXplorerEvent.EventType getEventType()
Gets the type of event.

Returns:
the type