ilog.views.event
Class ManagerLayerNameEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.views.event.ManagerEvent
          extended by ilog.views.event.ManagerLayerEvent
              extended by ilog.views.event.ManagerLayerPropertyEvent
                  extended by ilog.views.event.ManagerLayerNameEvent
All Implemented Interfaces:
Serializable

public class ManagerLayerNameEvent
extends ManagerLayerPropertyEvent

An event that indicates that the name of a layer has changed.

See Also:
ManagerLayerListener, IlvManager.setLayerName(int, java.lang.String), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ManagerLayerNameEvent(IlvManager manager, IlvManagerLayer layer, String oldName, String newName)
          Creates the event.
 
Method Summary
 String getNewName()
          Returns the new name of the layer.
 String getOldName()
          Returns the old name of the layer.
 
Methods inherited from class ilog.views.event.ManagerLayerPropertyEvent
getNewValue, getOldValue
 
Methods inherited from class ilog.views.event.ManagerLayerEvent
getLayer
 
Methods inherited from class ilog.views.event.ManagerEvent
getManager
 
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

ManagerLayerNameEvent

public ManagerLayerNameEvent(IlvManager manager,
                             IlvManagerLayer layer,
                             String oldName,
                             String newName)
Creates the event.

Parameters:
manager - The manager source of the event.
layer - The layer whose name has changed.
oldName - Old value for layer name.
newName - New value for layer name.
Method Detail

getOldName

public String getOldName()
Returns the old name of the layer.


getNewName

public String getNewName()
Returns the new name of the layer.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.