org.apache.batik.bridge
Class BridgeUpdateEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.apache.batik.bridge.BridgeUpdateEvent
All Implemented Interfaces:
java.io.Serializable

public class BridgeUpdateEvent
extends java.util.EventObject

Describes an update from a DynamicBridge

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BridgeUpdateEvent(java.lang.Object source)
          Constructs a new BridgeUpdateEvent.
 
Method Summary
 int getHandlerKey()
          Returns the BridgeUpdateHandler's key.
 java.lang.Object getNewValue()
          Returns the new GVT product resulting from the update or null if the update has not been completed yet.
 java.lang.Object getOldValue()
          Returns the old GVT product before the update.
 void setHandlerKey(int handlerKey)
          Sets the BridgeUpdateHandler's key to the specified value.
 void setNewValue(java.lang.Object newValue)
          Sets the new GVT product to the specified value.
 void setOldValue(java.lang.Object oldValue)
          Sets the old GVT product to the specified value.
 
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

BridgeUpdateEvent

public BridgeUpdateEvent(java.lang.Object source)
Constructs a new BridgeUpdateEvent.
Parameters:
source - the source of the event
Method Detail

getHandlerKey

public int getHandlerKey()
Returns the BridgeUpdateHandler's key.

setHandlerKey

public void setHandlerKey(int handlerKey)
Sets the BridgeUpdateHandler's key to the specified value.
Parameters:
handlerKey - the key of the BridgeUpdateHandler

getNewValue

public java.lang.Object getNewValue()
Returns the new GVT product resulting from the update or null if the update has not been completed yet.

setNewValue

public void setNewValue(java.lang.Object newValue)
Sets the new GVT product to the specified value.
Parameters:
newValue - the new GVT product resulting from the update

getOldValue

public java.lang.Object getOldValue()
Returns the old GVT product before the update.

setOldValue

public void setOldValue(java.lang.Object oldValue)
Sets the old GVT product to the specified value.
Parameters:
oldValue - the old GVT product before the update


Copyright © 2002 Apache Software Foundation. All Rights Reserved.