ilog.views.event
Class ManagerViewsChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.views.event.ManagerViewsChangedEvent
All Implemented Interfaces:
Serializable

public final class ManagerViewsChangedEvent
extends EventObject

An ManagerViewsChangedEvent event is delivered to the listeners of the addition/removal of a view of a manager. The event may correspond to the addition or the removal of a manager view from a manager.

Since:
JViews 3.0
See Also:
ManagerViewsChangedListener, IlvManager.addManagerViewsListener(ilog.views.event.ManagerViewsChangedListener), Serialized Form

Field Summary
static int VIEW_ADDED
          The type of the event when a manager view has been added to the manager.
static int VIEW_REMOVED
          The type of the event when a manager view has been removed from the manager.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ManagerViewsChangedEvent(IlvManager manager, IlvManagerView view, int type)
          Creates the event.
 
Method Summary
 IlvManager getManager()
          Returns the manager source of the event.
 IlvManagerView getManagerView()
          Returns the manager view that has been added or removed from the manager.
 int getType()
          Returns VIEW_ADDED if the view has been added to the manager, or VIEW_REMOVED if the view has been removed from the manager.
 
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
 

Field Detail

VIEW_ADDED

public static final int VIEW_ADDED
The type of the event when a manager view has been added to the manager.

See Also:
Constant Field Values

VIEW_REMOVED

public static final int VIEW_REMOVED
The type of the event when a manager view has been removed from the manager.

See Also:
Constant Field Values
Constructor Detail

ManagerViewsChangedEvent

public ManagerViewsChangedEvent(IlvManager manager,
                                IlvManagerView view,
                                int type)
Creates the event.

Parameters:
manager - the manager source of the event.
view - the manager view that has been added to the manager or removed from the manager.
Method Detail

getManager

public IlvManager getManager()
Returns the manager source of the event.


getManagerView

public IlvManagerView getManagerView()
Returns the manager view that has been added or removed from the manager.

See Also:
getManager(), getType()

getType

public final int getType()
Returns VIEW_ADDED if the view has been added to the manager, or VIEW_REMOVED if the view has been removed from the manager.



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