Package io.guise.framework.platform
Class AbstractComponentDepictor.DepictedCompositeComponentListener
java.lang.Object
io.guise.framework.platform.AbstractComponentDepictor.DepictedCompositeComponentListener
- All Implemented Interfaces:
CompositeComponentListener
,GuiseEventListener
,EventListener
- Enclosing class:
- AbstractComponentDepictor<C extends Component>
protected class AbstractComponentDepictor.DepictedCompositeComponentListener
extends Object
implements CompositeComponentListener
A listener that marks this depiction as dirty if direct children are added or deleted.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
childComponentAdded
(ComponentEvent childComponentEvent) Called when a child component is added to a composite component.void
childComponentRemoved
(ComponentEvent childComponentEvent) Called when a child component is removed from a composite component.
-
Constructor Details
-
DepictedCompositeComponentListener
protected DepictedCompositeComponentListener()
-
-
Method Details
-
childComponentAdded
Description copied from interface:CompositeComponentListener
Called when a child component is added to a composite component.- Specified by:
childComponentAdded
in interfaceCompositeComponentListener
- Parameters:
childComponentEvent
- The event indicating the added child component and the target parent composite component.
-
childComponentRemoved
Description copied from interface:CompositeComponentListener
Called when a child component is removed from a composite component.- Specified by:
childComponentRemoved
in interfaceCompositeComponentListener
- Parameters:
childComponentEvent
- The event indicating the removed child component and the target parent composite component.
-