|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ilog.views.event.GraphicBagHierarchyEvent
public class GraphicBagHierarchyEvent
An GraphicBagHierarchyEvent event is fired
when the hierarchy of graphic bags changed.
This event is generated by a graphic bag (manager or graphic set) when the
graphic bag is added to or removed from another graphic bag, and passed
down the hierarchy. The event is dispatched to every IlvManager
IlvGraphicBag and
IlvGraphicHandleBag that is
contained in the graphic bag whose own bag has changed.
Note: not all graphic bags support GraphicBagHierarchyEvent.
Graphic bags that cannot be contained in other graphic bags don't need to
support this event. Only IlvManager, IlvGraphicBag and
IlvGraphicHandleBag support
this event, i.e. they are able to fire the event and also able to receive
the event.
GraphicBagHierarchyListener,
IlvGraphicBag.addObject(ilog.views.IlvGraphic, boolean),
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
GraphicBagHierarchyEvent(IlvGraphicBag bag,
IlvGraphicBag oldRootBag,
IlvGraphicBag newRootBag)
Creates the event. |
|
| Method Summary | |
|---|---|
IlvGraphicBag |
getGraphicBag()
Returns the source of the event. |
IlvGraphicBag |
getNewRootBag()
Returns the new root of the hierarchy after the change happened. |
IlvGraphicBag |
getOldRootBag()
Returns the old root of the hierarchy before the change happened. |
| 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 |
|---|
public GraphicBagHierarchyEvent(IlvGraphicBag bag,
IlvGraphicBag oldRootBag,
IlvGraphicBag newRootBag)
bag - The source of the event. This is the graphic bag whose
graphic bag has changed.oldRootBag - The old root bag before the change happened.newRootBag - The new root bag after the change happened.| Method Detail |
|---|
public IlvGraphicBag getGraphicBag()
public IlvGraphicBag getOldRootBag()
public IlvGraphicBag getNewRootBag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||