Package io.guise.framework.platform
Class AbstractComponentDepictor.DepictedCompositeComponentListener
- java.lang.Object
-
- io.guise.framework.platform.AbstractComponentDepictor.DepictedCompositeComponentListener
-
- All Implemented Interfaces:
CompositeComponentListener
,GuiseEventListener
,java.util.EventListener
- Enclosing class:
- AbstractComponentDepictor<C extends Component>
protected class AbstractComponentDepictor.DepictedCompositeComponentListener extends java.lang.Object implements CompositeComponentListener
A listener that marks this depiction as dirty if direct children are added or deleted.- Author:
- Garret Wilson
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DepictedCompositeComponentListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
childComponentAdded
public void childComponentAdded(ComponentEvent childComponentEvent)
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
public void childComponentRemoved(ComponentEvent childComponentEvent)
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.
-
-