Uses of Interface
org.springframework.shell.component.view.control.View
Packages that use View
Package
Description
-
Uses of View in org.springframework.shell.component
Methods in org.springframework.shell.component with parameters of type ViewModifier and TypeMethodDescriptionBuild a newViewComponentinstance and configure it using this builder.Constructors in org.springframework.shell.component with parameters of type ViewModifierConstructorDescriptionViewComponent(TerminalUI terminalUI, org.jline.terminal.Terminal terminal, ViewComponentExecutor viewComponentExecutor, View view) Construct view component with a givenTerminalandView. -
Uses of View in org.springframework.shell.component.message
Methods in org.springframework.shell.component.message that return ViewModifier and TypeMethodDescriptionShellMessageHeaderAccessor.getView()static ViewStaticShellMessageHeaderAccessor.getView(org.springframework.messaging.Message<?> message) Methods in org.springframework.shell.component.message with parameters of type ViewModifier and TypeMethodDescriptionstatic org.springframework.messaging.Message<?>static org.springframework.messaging.Message<String>ShellMessageBuilder.ofViewFocus(String action, View view) -
Uses of View in org.springframework.shell.component.view
Methods in org.springframework.shell.component.view that return ViewMethods in org.springframework.shell.component.view with parameters of type ViewModifier and TypeMethodDescriptionvoidvoidvoidvoidSets a root view.Method parameters in org.springframework.shell.component.view with type arguments of type ViewModifier and TypeMethodDescriptionvoidTerminalUI.setFullScreenViewRect(BiFunction<org.jline.terminal.Terminal, View, Rectangle> fullScreenViewRect) Sets a view rect function for full screen mode.voidTerminalUI.setNonfullScreenViewRect(BiFunction<org.jline.terminal.Terminal, View, Rectangle> nonfullScreenViewRect) Sets a view rect function for full screen mode. -
Uses of View in org.springframework.shell.component.view.control
Classes in org.springframework.shell.component.view.control that implement ViewModifier and TypeClassDescriptionclassclassAppViewprovides an opinionated terminal UI application view controlling main viewing area, menubar, statusbar and modal window system.classBoxViewis aViewwith an empty background and optional border and title.classButtonViewis aViewwith border and text acting as a button.classDialogViewis aViewwith border, number of buttons and area for a generic content.classGridViewis a layout container with no initialviews.classInputViewis used as a text input.classListView<T>ListViewis aViewshowing items in a vertical list.classMenuBarViewshowsitemshorizontally and is typically used in layouts which builds complete terminal UI's.classclassProgressViewis used to show a progress indicator.classStatusBarViewshowsitemshorizontally and is typically used in layouts which builds complete terminal UI's.classWindowViewis aViewdefining area within view itself.Methods in org.springframework.shell.component.view.control that return ViewModifier and TypeMethodDescriptionViewService.getModal()Gets a current modal view.AppView.AppViewEvent.view()Returns the value of theviewrecord component.ButtonView.ButtonViewSelectEvent.view()Returns the value of theviewrecord component.DialogView.DialogViewCloseEvent.view()Returns the value of theviewrecord component.InputView.InputViewTextChangeEvent.view()Returns the value of theviewrecord component.ListView.ListViewOpenSelectedItemEvent.view()Returns the value of theviewrecord component.ListView.ListViewSelectedItemChangedEvent.view()Returns the value of theviewrecord component.MenuView.MenuViewOpenSelectedItemEvent.view()Returns the value of theviewrecord component.MenuView.MenuViewSelectedItemChangedEvent.view()Returns the value of theviewrecord component.ProgressView.ProgressViewEndEvent.view()Returns the value of theviewrecord component.ProgressView.ProgressViewStartEvent.view()Returns the value of theviewrecord component.ProgressView.ProgressViewStateChangeEvent.view()Returns the value of theviewrecord component.StatusBarView.StatusBarViewOpenSelectedItemEvent.view()Returns the value of theviewrecord component.ViewDoneEvent.GenericViewDoneEvent.view()Returns the value of theviewrecord component.ViewEvent.view()Methods in org.springframework.shell.component.view.control with parameters of type ViewModifier and TypeMethodDescriptionGridView.addItem(View view, int row, int column, int rowSpan, int colSpan, int minGridHeight, int minGridWidth) Adds aViewand its position to the grid.voidvoidCalled whenViewgets or loses a focus.static AppView.AppViewEventAppView.AppViewEvent.of(View view, AppView.AppViewEventArgs.Direction direction) static <T> ListView.ListViewOpenSelectedItemEvent<T>static <T> ListView.ListViewSelectedItemChangedEvent<T>MenuView.MenuViewOpenSelectedItemEvent.of(View view, MenuView.MenuItem item) MenuView.MenuViewSelectedItemChangedEvent.of(View view, MenuView.MenuItem item) ProgressView.ProgressViewEndEvent.of(View view, ProgressView.ProgressState state) ProgressView.ProgressViewStartEvent.of(View view, ProgressView.ProgressState state) ProgressView.ProgressViewStateChangeEvent.of(View view, ProgressView.ProgressState state) StatusBarView.StatusBarViewOpenSelectedItemEvent.of(View view, StatusBarView.StatusItem item) static ViewDoneEventCreate a generic event with empty view args.voidSets a view to be focused.voidSets a new modal view.Constructors in org.springframework.shell.component.view.control with parameters of type ViewModifierConstructorDescriptionAppViewEvent(View view, AppView.AppViewEventArgs args) Creates an instance of aAppViewEventrecord class.Creates an instance of aButtonViewSelectEventrecord class.DialogView(View content, List<ButtonView> buttons) DialogView(View content, ButtonView... buttons) Creates an instance of aDialogViewCloseEventrecord class.GenericViewDoneEvent(View view, ViewEventArgs args) Creates an instance of aGenericViewDoneEventrecord class.Creates an instance of aInputViewTextChangeEventrecord class.ListViewOpenSelectedItemEvent(View view, ListView.ListViewItemEventArgs<T> args) Creates an instance of aListViewOpenSelectedItemEventrecord class.Creates an instance of aListViewSelectedItemChangedEventrecord class.Creates an instance of aMenuViewOpenSelectedItemEventrecord class.Creates an instance of aMenuViewSelectedItemChangedEventrecord class.Creates an instance of aProgressViewEndEventrecord class.Creates an instance of aProgressViewStartEventrecord class.Creates an instance of aProgressViewStateChangeEventrecord class.Creates an instance of aStatusBarViewOpenSelectedItemEventrecord class. -
Uses of View in org.springframework.shell.component.view.event
Methods in org.springframework.shell.component.view.event that return ViewModifier and TypeMethodDescriptionKeyHandler.KeyHandlerResult.capture()Returns the value of thecapturerecord component.MouseHandler.MouseHandlerResult.capture()Returns the value of thecapturerecord component.KeyHandler.KeyHandlerResult.focus()Returns the value of thefocusrecord component.MouseHandler.MouseHandlerResult.focus()Returns the value of thefocusrecord component.Methods in org.springframework.shell.component.view.event with parameters of type ViewModifier and TypeMethodDescriptionstatic KeyHandler.KeyHandlerResultMouseHandler.resultOf(MouseEvent event, boolean consumed, View focus, View capture) <T extends ViewEvent>
reactor.core.publisher.Flux<T>DefaultEventLoop.viewEvents(Class<T> clazz, View filterBy) <T extends ViewEvent>
reactor.core.publisher.Flux<T>DefaultEventLoop.viewEvents(org.springframework.core.ParameterizedTypeReference<T> typeRef, View filterBy) <T extends ViewEvent>
reactor.core.publisher.Flux<T>EventLoop.viewEvents(Class<T> clazz, View filterBy) Specialisation ofEventLoop.events()which returns type safeViewEvents.<T extends ViewEvent>
reactor.core.publisher.Flux<T>EventLoop.viewEvents(org.springframework.core.ParameterizedTypeReference<T> typeRef, View filterBy) Specialisation ofEventLoop.events()which returns type safeViewEvents.Constructors in org.springframework.shell.component.view.event with parameters of type ViewModifierConstructorDescriptionKeyHandlerResult(KeyEvent event, boolean consumed, View focus, View capture) Creates an instance of aKeyHandlerResultrecord class.MouseHandlerResult(MouseEvent event, boolean consumed, View focus, View capture) Creates an instance of aMouseHandlerResultrecord class.