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 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 Rectangle in org.springframework.shell.component.view.control
Methods in org.springframework.shell.component.view.control that return RectangleModifier and TypeMethodDescriptionprotected RectangleBoxView.getInnerRect()Gets an inner rectangle of this view.protected RectangleWindowView.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 TypeMethodDescriptionvoidAbstractView.setDrawFunction(BiFunction<Screen, Rectangle, Rectangle> drawFunction) Sets a callback function which is invoked after aViewhas been drawn.voidAbstractView.setDrawFunction(BiFunction<Screen, Rectangle, Rectangle> drawFunction) Sets a callback function which is invoked after aViewhas 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 TypeMethodDescriptionvoidScreen.Writer.background(Rectangle rect, int color) Fill background with a given color.voidScreen.Writer.text(String text, Rectangle rect, HorizontalAlign hAlign, VerticalAlign vAlign) Write aligned text within a bounds.