Package com.axelor.meta.service.menu
Class SimpleMenuNodeVisitor
- java.lang.Object
-
- com.axelor.meta.service.menu.SimpleMenuNodeVisitor
-
- All Implemented Interfaces:
MenuNodeVisitor
public class SimpleMenuNodeVisitor extends Object implements MenuNodeVisitor
Convenience class for aMenuNodeVisitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.axelor.meta.service.menu.MenuNodeVisitor
MenuNodeVisitor.MenuNodeResult
-
-
Constructor Summary
Constructors Constructor Description SimpleMenuNodeVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuNodeVisitor.MenuNodeResult
preChildVisit(MenuNode node)
Invoke before a child node is visitedMenuNodeVisitor.MenuNodeResult
visit(MenuNode node)
Invoke when visiting a node
-
-
-
Method Detail
-
preChildVisit
public MenuNodeVisitor.MenuNodeResult preChildVisit(MenuNode node)
Description copied from interface:MenuNodeVisitor
Invoke before a child node is visited- Specified by:
preChildVisit
in interfaceMenuNodeVisitor
- Parameters:
node
- node to visit- Returns:
- MenuNodeResult
-
visit
public MenuNodeVisitor.MenuNodeResult visit(MenuNode node)
Description copied from interface:MenuNodeVisitor
Invoke when visiting a node- Specified by:
visit
in interfaceMenuNodeVisitor
- Parameters:
node
- visiting node- Returns:
- MenuNodeResult
-
-