public class P2DContainerEvent extends java.lang.Object implements P2DContainerEventInterface
| Modifier and Type | Field and Description |
|---|---|
protected P2DContainerInterface |
child
The child container.
|
protected P2DContainerInterface |
container
The parent container.
|
| Constructor and Description |
|---|
P2DContainerEvent(P2DContainerInterface container,
P2DContainerInterface child)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
P2DContainerInterface |
getChild()
Returns the component that was affected by the event.
|
P2DContainerInterface |
getContainer()
Returns the originator of the event.
|
protected P2DContainerInterface container
protected P2DContainerInterface child
public P2DContainerEvent(P2DContainerInterface container, P2DContainerInterface child)
container - The parent container.child - The child container.public P2DContainerInterface getChild()
getChild in interface P2DContainerEventInterfacepublic P2DContainerInterface getContainer()
getContainer in interface P2DContainerEventInterface