Uses of Class
com.thecoderscorner.menu.domain.state.MenuTree
Packages that use MenuTree
Package
Description
-
Uses of MenuTree in com.thecoderscorner.menu.domain
Methods in com.thecoderscorner.menu.domain with parameters of type MenuTreeModifier and TypeMethodDescriptionRuntimeListMenuItem.getItemsFromTree(MenuTree menuTree) Retrieves the list of items from a menu tree for a specific RuntimeListMenuItem. -
Uses of MenuTree in com.thecoderscorner.menu.domain.util
Methods in com.thecoderscorner.menu.domain.util with parameters of type MenuTreeModifier and TypeMethodDescriptionstatic Optional<AnyMenuState>MenuItemHelper.applyIncrementalValueChange(MenuItem item, int delta, MenuTree tree) Try and apply an incremental delta value update to a menu tree.static Optional<BootItemMenuCommand<?,?>> MenuItemHelper.getBootMsgForItem(MenuItem item, SubMenuItem parent, MenuTree tree) Can be used during boot sequences to get a suitable boot item for a menu itemstatic ObjectMenuItemHelper.getValueFor(MenuItem item, MenuTree tree) This gets the value from the tree state, if it is not available calls getDefaultValue Same as getValueFor(item, tree, defVal) but this just calls getDefaultFor(..) to get the default.static <T> TMenuItemHelper.getValueFor(MenuItem item, MenuTree tree, T def) Gets the value from the tree or the default providedstatic voidMenuItemHelper.setMenuState(MenuItem item, Object value, MenuTree tree) Set the state in the tree for an item with a new value, setting it changed if it genuinely has. -
Uses of MenuTree in com.thecoderscorner.menu.mgr
Methods in com.thecoderscorner.menu.mgr that return MenuTreeConstructors in com.thecoderscorner.menu.mgr with parameters of type MenuTreeModifierConstructorDescriptionMenuManagerServer(ScheduledExecutorService executorService, MenuTree tree, String serverName, UUID uuid, MenuAuthenticator authenticator, Clock clock) -
Uses of MenuTree in com.thecoderscorner.menu.persist
Methods in com.thecoderscorner.menu.persist that return MenuTreeMethods in com.thecoderscorner.menu.persist with parameters of type MenuTreeModifier and TypeMethodDescriptionJsonMenuItemSerializer.itemsToCopyText(MenuItem startingPoint, MenuTree tree) JsonMenuItemSerializer.populateListInOrder(SubMenuItem node, MenuTree menuTree, boolean processingRoot) Constructors in com.thecoderscorner.menu.persist with parameters of type MenuTree -
Uses of MenuTree in com.thecoderscorner.menu.remote
Methods in com.thecoderscorner.menu.remote that return MenuTreeConstructors in com.thecoderscorner.menu.remote with parameters of type MenuTreeModifierConstructorDescriptionRemoteMenuController(RemoteConnector connector, MenuTree managedMenu) -
Uses of MenuTree in com.thecoderscorner.menu.remote.socket
Methods in com.thecoderscorner.menu.remote.socket with parameters of type MenuTreeModifier and TypeMethodDescriptionSocketControllerBuilder.withMenuTree(MenuTree tree) Mandatory, the menuTree instance to store the menu items retrieved from the remote side.