Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.pietschy.command.AbstractVisitor
org.pietschy.command.RemoveVisitor
public class RemoveVisitor
extends AbstractVisitor
Nested Class Summary |
Nested classes/interfaces inherited from class org.pietschy.command.AbstractVisitor | |
AbstractVisitor.VisitMode |
Field Summary |
Fields inherited from class org.pietschy.command.AbstractVisitor | |
DEEP , SHALLOW , mode |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
void |
|
Methods inherited from class org.pietschy.command.AbstractVisitor | |
conditionallyVisitChildren , isParentGroup |
public RemoveVisitor(Command removeCommand)
Constructs an new RemoveVisitor that will deeply traverse the group and all its child groups.
- Parameters:
removeCommand
- the command to removed.
public RemoveVisitor(Command removeCommand, AbstractVisitor.VisitMode mode)
Constructs an new RemoveVisitor that will traverse the group according the to visit mode.
- Parameters:
removeCommand
- the command to removed.mode
- the mode in which to visit the parent group, eitherAbstractVisitor.DEEP
orAbstractVisitor.SHALLOW
.