Uses of Interface
com.googlecode.lanterna.gui2.ComponentRenderer
-
Packages that use ComponentRenderer Package Description com.googlecode.lanterna.graphics com.googlecode.lanterna.gui2 com.googlecode.lanterna.gui2.menu com.googlecode.lanterna.gui2.table -
-
Uses of ComponentRenderer in com.googlecode.lanterna.graphics
Methods in com.googlecode.lanterna.graphics that return ComponentRenderer Modifier and Type Method Description <T extends Component>
ComponentRenderer<T>AbstractTheme.DefinitionImpl. getRenderer(java.lang.Class<T> type)<T extends Component>
ComponentRenderer<T>DelegatingThemeDefinition. getRenderer(java.lang.Class<T> type)<T extends Component>
ComponentRenderer<T>SimpleTheme.Definition. getRenderer(java.lang.Class<T> type)ComponentRenderer<T>SimpleTheme.RendererProvider. getRenderer(java.lang.Class<T> type)<T extends Component>
ComponentRenderer<T>ThemeDefinition. getRenderer(java.lang.Class<T> type)Returns aComponentRendererattached to this definition for the specified type. -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2
Subinterfaces of ComponentRenderer in com.googlecode.lanterna.gui2 Modifier and Type Interface Description static interfaceBorder.BorderRendererstatic interfaceButton.ButtonRendererHelper interface that doesn't add any new methods but makes coding new button renderers a little bit more clearinterfaceInteractableRenderer<T extends Component & Interactable>Extended interface for component renderers used with interactable components.static interfaceTextBox.TextBoxRendererHelper interface that doesn't add any new methods but makes coding new text box renderers a little bit more clearClasses in com.googlecode.lanterna.gui2 that implement ComponentRenderer Modifier and Type Class Description static classAbstractListBox.DefaultListBoxRenderer<V,T extends AbstractListBox<V,T>>The default renderer forAbstractListBoxand all its subclasses.private static classBorders.AbstractBorderRendererprivate static classBorders.DoubleLineRendererprivate static classBorders.SingleLineRendererstatic classButton.BorderedButtonRendererstatic classButton.DefaultButtonRendererThis is the default button renderer that is used if you don't override anything.static classButton.FlatButtonRendererAlternative button renderer that displays buttons with just the label and minimal decorationstatic classCheckBox.CheckBoxRendererHelper interface that doesn't add any new methods but makes coding new check box renderers a little bit more clearstatic classCheckBox.DefaultCheckBoxRendererThe default renderer that is used unless overridden.static classComboBox.ComboBoxRenderer<V>Helper interface that doesn't add any new methods but makes coding new combo box renderers a little bit more clearstatic classComboBox.DefaultComboBoxRenderer<V>This class is the default renderer implementation which will be used unless overridden.classPanel.DefaultPanelRendererstatic classProgressBar.DefaultProgressBarRendererDefault implementation of the progress bar GUI component renderer.static classProgressBar.LargeProgressBarRendererThis progress bar renderer implementation takes slightly more space (three rows) and draws a slightly more complicates progress bar with fixed measurers to mark 25%, 50% and 75%.static classScrollBar.DefaultScrollBarRendererDefault renderer forScrollBarwhich will be used unless overridden.static classScrollBar.ScrollBarRendererHelper class for making newScrollBarrenderers a little bit cleanerstatic classSeparator.DefaultSeparatorRendererThis is the default separator renderer that is used if you don't override anything.static classSeparator.SeparatorRendererHelper interface that doesn't add any new methods but makes coding new button renderers a little bit more clearstatic classTextBox.DefaultTextBoxRendererThis is the default text box renderer that is used if you don't override anything.Fields in com.googlecode.lanterna.gui2 declared as ComponentRenderer Modifier and Type Field Description private ComponentRenderer<T>AbstractComponent. defaultRendererIf the theme had nothing for this component and no override is set, this is the third fallbackprivate ComponentRenderer<T>AbstractComponent. overrideRendererManually set rendererprivate ComponentRenderer<T>AbstractComponent. themeRendererIf overrideRenderer is not set, this is used instead if not null, set by the themeMethods in com.googlecode.lanterna.gui2 that return ComponentRenderer Modifier and Type Method Description protected ComponentRenderer<Container>AbstractBasePane.ContentHolder. createDefaultRenderer()protected abstract ComponentRenderer<T>AbstractComponent. createDefaultRenderer()When you create a custom component, you need to implement this method and return a Renderer which is responsible for taking care of sizing the component, rendering it and choosing where to place the cursor (if Interactable).protected ComponentRenderer<EmptySpace>EmptySpace. createDefaultRenderer()protected ComponentRenderer<EmptySpace>GUIBackdrop. createDefaultRenderer()protected ComponentRenderer<Label>Label. createDefaultRenderer()protected ComponentRenderer<Panel>Panel. createDefaultRenderer()protected ComponentRenderer<ProgressBar>ProgressBar. createDefaultRenderer()protected ComponentRenderer<ScrollBar>ScrollBar. createDefaultRenderer()ComponentRenderer<T>AbstractComponent. getRenderer()ComponentRenderer<? extends Component>Component. getRenderer()Returns the renderer used to draw this component and measure its preferred size.Methods in com.googlecode.lanterna.gui2 with parameters of type ComponentRenderer Modifier and Type Method Description TAbstractComponent. setRenderer(ComponentRenderer<T> renderer)Explicitly sets theComponentRendererto be used when drawing this component. -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2.menu
Classes in com.googlecode.lanterna.gui2.menu that implement ComponentRenderer Modifier and Type Class Description classMenuBar.DefaultMenuBarRendererThe default implementation for rendering aMenuBarstatic classMenuItem.DefaultMenuItemRendererDefault renderer for menu items (both sub-menus and regular items)static classMenuItem.MenuItemRendererHelper interface that doesn't add any new methods but makes coding new menu renderers a little bit more clearMethods in com.googlecode.lanterna.gui2.menu that return ComponentRenderer Modifier and Type Method Description protected ComponentRenderer<MenuBar>MenuBar. createDefaultRenderer() -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2.table
Subinterfaces of ComponentRenderer in com.googlecode.lanterna.gui2.table Modifier and Type Interface Description interfaceTableRenderer<V>Formalized interactable renderer for tablesClasses in com.googlecode.lanterna.gui2.table that implement ComponentRenderer Modifier and Type Class Description classDefaultTableRenderer<V>Default implementation ofTableRenderer
-