Uses of Interface
com.googlecode.lanterna.graphics.Theme
Packages that use Theme
Package
Description
-
Uses of Theme in com.googlecode.lanterna.bundle
Classes in com.googlecode.lanterna.bundle that implement ThemeFields in com.googlecode.lanterna.bundle with type parameters of type ThemeModifier and TypeFieldDescriptionprivate static final ConcurrentHashMap<String, Theme> LanternaThemes.REGISTERED_THEMESMethods in com.googlecode.lanterna.bundle that return ThemeModifier and TypeMethodDescriptionstatic ThemeLanternaThemes.getDefaultTheme()Returns lanterna's default theme which is used if no other theme is selected.static ThemeLanternaThemes.getRegisteredTheme(String name) Methods in com.googlecode.lanterna.bundle with parameters of type ThemeModifier and TypeMethodDescriptionstatic voidLanternaThemes.registerTheme(String name, Theme theme) Registers aThemewith this class under a certain name so that callingLanternaThemes.getRegisteredTheme(String)on that name will return this theme and callingLanternaThemes.getRegisteredThemes()will return a collection including this name. -
Uses of Theme in com.googlecode.lanterna.graphics
Classes in com.googlecode.lanterna.graphics that implement ThemeModifier and TypeClassDescriptionclassAbstractThemeimplementation that manages a hierarchical tree of theme nodes ties to Class objects.classAllows you to more easily wrap an existing theme and alter the behaviour in some special cases.classThemeimplementation that stores the theme definition in a regular java Properties object.classVery basic implementation ofThemethat allows you to quickly define a theme in code.Fields in com.googlecode.lanterna.graphics declared as ThemeConstructors in com.googlecode.lanterna.graphics with parameters of type ThemeModifierConstructorDescriptionDelegatingTheme(Theme theme) Creates a newDelegatingThemewith a default implementation that will forward all calls to theThemethat is passed in. -
Uses of Theme in com.googlecode.lanterna.gui2
Fields in com.googlecode.lanterna.gui2 declared as ThemeModifier and TypeFieldDescriptionprivate ThemeAbstractTextGUI.guiThemeprivate ThemeAbstractBasePane.themeprivate ThemeAbstractComponent.themeOverrideprivate ThemeAbstractComponent.themeRenderersThemeTo keep track of the theme that created the themeRenderer, so we can reset it if the theme changesMethods in com.googlecode.lanterna.gui2 that return ThemeModifier and TypeMethodDescriptionAbstractBasePane.getTheme()AbstractComponent.getTheme()AbstractTextGUI.getTheme()BasePane.getTheme()Returns the text GUIThemeassociated with this base pane/window.ComboBox.PopupWindow.getTheme()Component.getTheme()Returns theThemethis component should be rendered using.TextGUI.getTheme()Returns the theme currently assigned to thisTextGUIMethods in com.googlecode.lanterna.gui2 with parameters of type ThemeModifier and TypeMethodDescriptionprotected abstract charBorders.AbstractBorderRenderer.getBottomLeftCorner(Theme theme) protected charBorders.DoubleLineRenderer.getBottomLeftCorner(Theme theme) protected charBorders.SingleLineRenderer.getBottomLeftCorner(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getBottomRightCorner(Theme theme) protected charBorders.DoubleLineRenderer.getBottomRightCorner(Theme theme) protected charBorders.SingleLineRenderer.getBottomRightCorner(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getHorizontalLine(Theme theme) protected charBorders.DoubleLineRenderer.getHorizontalLine(Theme theme) protected charBorders.SingleLineRenderer.getHorizontalLine(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getTitleLeft(Theme theme) protected charBorders.DoubleLineRenderer.getTitleLeft(Theme theme) protected charBorders.SingleLineRenderer.getTitleLeft(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getTitleRight(Theme theme) protected charBorders.DoubleLineRenderer.getTitleRight(Theme theme) protected charBorders.SingleLineRenderer.getTitleRight(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getTopLeftCorner(Theme theme) protected charBorders.DoubleLineRenderer.getTopLeftCorner(Theme theme) protected charBorders.SingleLineRenderer.getTopLeftCorner(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getTopRightCorner(Theme theme) protected charBorders.DoubleLineRenderer.getTopRightCorner(Theme theme) protected charBorders.SingleLineRenderer.getTopRightCorner(Theme theme) protected abstract charBorders.AbstractBorderRenderer.getVerticalLine(Theme theme) protected charBorders.DoubleLineRenderer.getVerticalLine(Theme theme) protected charBorders.SingleLineRenderer.getVerticalLine(Theme theme) voidvoidvoidOverrides theThemethis component will use so rather than deriving the theme from either the window or the GUI system, it will always return this theme.voidSets the global theme to be used by this TextGUI.