Uses of Record Class
org.springframework.shell.geom.Rectangle
Packages that use Rectangle
Package
Description
-
Uses of Rectangle in org.springframework.shell.component.view
Method parameters in org.springframework.shell.component.view with type arguments of type RectangleModifier and TypeMethodDescriptionvoid
TerminalUI.setFullScreenViewRect
(BiFunction<org.jline.terminal.Terminal, View, Rectangle> fullScreenViewRect) Sets a view rect function for full screen mode.void
TerminalUI.setNonfullScreenViewRect
(BiFunction<org.jline.terminal.Terminal, View, Rectangle> nonfullScreenViewRect) Sets a view rect function for full screen mode. -
Uses of Rectangle in org.springframework.shell.component.view.control
Methods in org.springframework.shell.component.view.control that return RectangleModifier and TypeMethodDescriptionprotected Rectangle
BoxView.getInnerRect()
Gets an inner rectangle of this view.protected Rectangle
WindowView.getInnerRect()
Gets an inner rectangle of this view.AbstractControl.getRect()
Control.getRect()
Gets rectanle of a bounded box for thisView
.Methods in org.springframework.shell.component.view.control that return types with arguments of type RectangleModifier and TypeMethodDescriptionAbstractView.getDrawFunction()
Gets a draw function.AbstractView.getDrawFunction()
Gets a draw function.Method parameters in org.springframework.shell.component.view.control with type arguments of type RectangleModifier and TypeMethodDescriptionvoid
AbstractView.setDrawFunction
(BiFunction<Screen, Rectangle, Rectangle> drawFunction) Sets a callback function which is invoked after aView
has been drawn.void
AbstractView.setDrawFunction
(BiFunction<Screen, Rectangle, Rectangle> drawFunction) Sets a callback function which is invoked after aView
has been drawn. -
Uses of Rectangle in org.springframework.shell.component.view.screen
Methods in org.springframework.shell.component.view.screen with parameters of type RectangleModifier and TypeMethodDescriptionvoid
Screen.Writer.background
(Rectangle rect, int color) Fill background with a given color.void
Screen.Writer.text
(String text, Rectangle rect, HorizontalAlign hAlign, VerticalAlign vAlign) Write aligned text within a bounds.