public interface ManagerViewsHierarchyEventReceiver
IlvManager
, IlvGraphicSet
and IlvGraphicHandleBag
can send and receive hierarchy events, hence they implement this interface.ManagerViewsChangedEvent
,
ManagerViewsChangedListener
Modifier and Type | Method and Description |
---|---|
void |
addManagerViewsHierarchyListener(ManagerViewsChangedListener listener)
Adds the specified listener to receive events from ancestors
and from this object when a manager view was added or removed.
|
void |
enableManagerViewsHierarchyEventForwarding()
Enables forwarding of
ManagerViewsChangedEvent events through the nesting hierarchy,
since the subobjects contained in this object need to receive the events. |
void |
fireManagerViewsHierarchyEvent(ManagerViewsChangedEvent event)
Fires a
ManagerViewsChangedEvent event to all listeners
installed via addManagerViewsHierarchyListener(ilog.views.event.ManagerViewsChangedListener) on this object or
contained objects. |
boolean |
needsManagerViewsHierarchyEvent()
Returns whether the object needs to receive
ManagerViewsChangedEvent events, either from itself or from its
ancestors. |
void |
removeManagerViewsHierarchyListener(ManagerViewsChangedListener listener)
Removes the specified listener so that it no longer
receives events from ancestors and from this object
when a manager view was added or removed.
|
void addManagerViewsHierarchyListener(ManagerViewsChangedListener listener)
listener
- The listener.removeManagerViewsHierarchyListener(ilog.views.event.ManagerViewsChangedListener)
void removeManagerViewsHierarchyListener(ManagerViewsChangedListener listener)
listener
- The listener.addManagerViewsHierarchyListener(ilog.views.event.ManagerViewsChangedListener)
void enableManagerViewsHierarchyEventForwarding()
ManagerViewsChangedEvent
events through the nesting hierarchy,
since the subobjects contained in this object need to receive the events.boolean needsManagerViewsHierarchyEvent()
ManagerViewsChangedEvent
events, either from itself or from its
ancestors. It returns true
, if a listener was installed through
addManagerViewsHierarchyListener(ilog.views.event.ManagerViewsChangedListener)
on this object or on any
object contained in this object.void fireManagerViewsHierarchyEvent(ManagerViewsChangedEvent event)
ManagerViewsChangedEvent
event to all listeners
installed via addManagerViewsHierarchyListener(ilog.views.event.ManagerViewsChangedListener)
on this object or
contained objects.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.