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_THEMES
Methods in com.googlecode.lanterna.bundle that return ThemeModifier and TypeMethodDescriptionstatic Theme
LanternaThemes.getDefaultTheme()
Returns lanterna's default theme which is used if no other theme is selected.static Theme
LanternaThemes.getRegisteredTheme
(String name) Methods in com.googlecode.lanterna.bundle with parameters of type ThemeModifier and TypeMethodDescriptionstatic void
LanternaThemes.registerTheme
(String name, Theme theme) Registers aTheme
with 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 TypeClassDescriptionclass
AbstractTheme
implementation that manages a hierarchical tree of theme nodes ties to Class objects.class
Allows you to more easily wrap an existing theme and alter the behaviour in some special cases.class
Theme
implementation that stores the theme definition in a regular java Properties object.class
Very basic implementation ofTheme
that 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 newDelegatingTheme
with a default implementation that will forward all calls to theTheme
that is passed in. -
Uses of Theme in com.googlecode.lanterna.gui2
Fields in com.googlecode.lanterna.gui2 declared as ThemeModifier and TypeFieldDescriptionprivate Theme
AbstractTextGUI.guiTheme
private Theme
AbstractBasePane.theme
private Theme
AbstractComponent.themeOverride
private Theme
AbstractComponent.themeRenderersTheme
To 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 GUITheme
associated with this base pane/window.ComboBox.PopupWindow.getTheme()
Component.getTheme()
Returns theTheme
this component should be rendered using.TextGUI.getTheme()
Returns the theme currently assigned to thisTextGUI
Methods in com.googlecode.lanterna.gui2 with parameters of type ThemeModifier and TypeMethodDescriptionprotected abstract char
Borders.AbstractBorderRenderer.getBottomLeftCorner
(Theme theme) protected char
Borders.DoubleLineRenderer.getBottomLeftCorner
(Theme theme) protected char
Borders.SingleLineRenderer.getBottomLeftCorner
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getBottomRightCorner
(Theme theme) protected char
Borders.DoubleLineRenderer.getBottomRightCorner
(Theme theme) protected char
Borders.SingleLineRenderer.getBottomRightCorner
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getHorizontalLine
(Theme theme) protected char
Borders.DoubleLineRenderer.getHorizontalLine
(Theme theme) protected char
Borders.SingleLineRenderer.getHorizontalLine
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getTitleLeft
(Theme theme) protected char
Borders.DoubleLineRenderer.getTitleLeft
(Theme theme) protected char
Borders.SingleLineRenderer.getTitleLeft
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getTitleRight
(Theme theme) protected char
Borders.DoubleLineRenderer.getTitleRight
(Theme theme) protected char
Borders.SingleLineRenderer.getTitleRight
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getTopLeftCorner
(Theme theme) protected char
Borders.DoubleLineRenderer.getTopLeftCorner
(Theme theme) protected char
Borders.SingleLineRenderer.getTopLeftCorner
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getTopRightCorner
(Theme theme) protected char
Borders.DoubleLineRenderer.getTopRightCorner
(Theme theme) protected char
Borders.SingleLineRenderer.getTopRightCorner
(Theme theme) protected abstract char
Borders.AbstractBorderRenderer.getVerticalLine
(Theme theme) protected char
Borders.DoubleLineRenderer.getVerticalLine
(Theme theme) protected char
Borders.SingleLineRenderer.getVerticalLine
(Theme theme) void
void
void
Overrides theTheme
this component will use so rather than deriving the theme from either the window or the GUI system, it will always return this theme.void
Sets the global theme to be used by this TextGUI.