Uses of Enum Class
com.thecoderscorner.menu.remote.commands.MenuButtonType
Packages that use MenuButtonType
Package
Description
-
Uses of MenuButtonType in com.thecoderscorner.menu.mgr
Fields in com.thecoderscorner.menu.mgr declared as MenuButtonTypeModifier and TypeFieldDescriptionprotected MenuButtonTypeDialogManager.button1protected MenuButtonTypeDialogManager.button2Fields in com.thecoderscorner.menu.mgr with type parameters of type MenuButtonTypeModifier and TypeFieldDescriptionprotected Function<MenuButtonType,Boolean> DialogManager.delegateMethods in com.thecoderscorner.menu.mgr that return MenuButtonTypeModifier and TypeMethodDescriptionDialogManager.getButtonType(int btnNum) the button type for a given button number - 0 or 1Methods in com.thecoderscorner.menu.mgr with parameters of type MenuButtonTypeModifier and TypeMethodDescriptionprotected voidDialogManager.buttonWasPressed(MenuButtonType btn) This can be overridden if needed, it will be called whenever a button is pressed.voidDialogManager.showDialogWithButtons(MenuButtonType b1, MenuButtonType b2) Actually shows the dialog with the buttons providedprotected StringDialogManager.toPrintableText(MenuButtonType type) Method parameters in com.thecoderscorner.menu.mgr with type arguments of type MenuButtonTypeModifier and TypeMethodDescriptionDialogManager.withDelegate(DialogShowMode mode, Function<MenuButtonType, Boolean> delegate) Using builder syntax you can show dialog using the with commands this sets the delegate and mode -
Uses of MenuButtonType in com.thecoderscorner.menu.remote
Methods in com.thecoderscorner.menu.remote with parameters of type MenuButtonTypeModifier and TypeMethodDescriptionRemoteMenuController.sendDialogAction(MenuButtonType buttonType) Send a dialog update -
Uses of MenuButtonType in com.thecoderscorner.menu.remote.commands
Methods in com.thecoderscorner.menu.remote.commands that return MenuButtonTypeModifier and TypeMethodDescriptionMenuDialogCommand.getButton1()MenuDialogCommand.getButton2()static MenuButtonTypeReturns the enum constant of this class with the specified name.static MenuButtonType[]MenuButtonType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.thecoderscorner.menu.remote.commands with parameters of type MenuButtonTypeModifier and TypeMethodDescriptionstatic MenuDialogCommandCommandFactory.newDialogCommand(DialogMode mode, String header, String msg, MenuButtonType b1, MenuButtonType b2, CorrelationId correlationId) Constructors in com.thecoderscorner.menu.remote.commands with parameters of type MenuButtonTypeModifierConstructorDescriptionMenuDialogCommand(DialogMode dialogMode, String header, String buffer, MenuButtonType b1, MenuButtonType b2, CorrelationId correlationId)