org.apache.log4j.chainsaw
Class NewKeyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.log4j.chainsaw.NewKeyEvent
All Implemented Interfaces:
java.io.Serializable

public class NewKeyEvent
extends java.util.EventObject

An event representing when a Key has arrived inside a Chainsaw model that has not been seen previously.

Author:
Paul Smith
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NewKeyEvent(java.lang.Object source, int newModelIndex, java.lang.Object key, java.lang.Object value)
           
 
Method Summary
 java.lang.Object getKey()
           
 int getNewModelIndex()
           
 java.lang.Object getValue()
           
 
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

NewKeyEvent

public NewKeyEvent(java.lang.Object source,
                   int newModelIndex,
                   java.lang.Object key,
                   java.lang.Object value)
Parameters:
source -
Method Detail

getKey

public java.lang.Object getKey()
Returns:
key

getNewModelIndex

public int getNewModelIndex()
Returns:
model index

getValue

public java.lang.Object getValue()
Returns:
value


Copyright © 2007 Apache Software Foundation. All Rights Reserved.