Uses of Interface
com.googlecode.lanterna.gui2.ComponentRenderer
Packages that use ComponentRenderer
Package
Description
-
Uses of ComponentRenderer in com.googlecode.lanterna.graphics
Methods in com.googlecode.lanterna.graphics that return ComponentRendererModifier and TypeMethodDescription<T extends Component>
ComponentRenderer<T> AbstractTheme.DefinitionImpl.getRenderer(Class<T> type) <T extends Component>
ComponentRenderer<T> DelegatingThemeDefinition.getRenderer(Class<T> type) <T extends Component>
ComponentRenderer<T> SimpleTheme.Definition.getRenderer(Class<T> type) SimpleTheme.RendererProvider.getRenderer(Class<T> type) <T extends Component>
ComponentRenderer<T> ThemeDefinition.getRenderer(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.gui2Modifier and TypeInterfaceDescriptionstatic interfacestatic interfaceHelper 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 interfaceHelper 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 ComponentRendererModifier and TypeClassDescriptionstatic classAbstractListBox.DefaultListBoxRenderer<V, T extends AbstractListBox<V,T>> The default renderer forAbstractListBoxand all its subclasses.private static classprivate static classprivate static classstatic classstatic classThis is the default button renderer that is used if you don't override anything.static classAlternative button renderer that displays buttons with just the label and minimal decorationstatic classHelper interface that doesn't add any new methods but makes coding new check box renderers a little bit more clearstatic classThe default renderer that is used unless overridden.static classHelper interface that doesn't add any new methods but makes coding new combo box renderers a little bit more clearstatic classThis class is the default renderer implementation which will be used unless overridden.classstatic classDefault implementation of the progress bar GUI component renderer.static classThis 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 classDefault renderer forScrollBarwhich will be used unless overridden.static classHelper class for making newScrollBarrenderers a little bit cleanerstatic classThis is the default separator renderer that is used if you don't override anything.static classHelper interface that doesn't add any new methods but makes coding new button renderers a little bit more clearstatic classThis is the default text box renderer that is used if you don't override anything.Fields in com.googlecode.lanterna.gui2 declared as ComponentRendererModifier and TypeFieldDescriptionprivate 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 ComponentRendererModifier and TypeMethodDescriptionprotected 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()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 ComponentRendererModifier and TypeMethodDescriptionAbstractComponent.setRenderer(ComponentRenderer<T> renderer) Explicitly sets theComponentRendererto be used when drawing this component. -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2.table
Subinterfaces of ComponentRenderer in com.googlecode.lanterna.gui2.tableModifier and TypeInterfaceDescriptioninterfaceFormalized interactable renderer for tablesClasses in com.googlecode.lanterna.gui2.table that implement ComponentRendererModifier and TypeClassDescriptionclassDefault implementation ofTableRenderer