Uses of Interface
com.googlecode.lanterna.graphics.Theme
-
Packages that use Theme Package Description com.googlecode.lanterna.bundle com.googlecode.lanterna.graphics com.googlecode.lanterna.gui2 -
-
Uses of Theme in com.googlecode.lanterna.bundle
Classes in com.googlecode.lanterna.bundle that implement Theme Modifier and Type Class Description (package private) class
DefaultTheme
Fields in com.googlecode.lanterna.bundle with type parameters of type Theme Modifier and Type Field Description private static java.util.concurrent.ConcurrentHashMap<java.lang.String,Theme>
LanternaThemes. REGISTERED_THEMES
Methods in com.googlecode.lanterna.bundle that return Theme Modifier and Type Method Description static Theme
LanternaThemes. getDefaultTheme()
Returns lanterna's default theme which is used if no other theme is selected.static Theme
LanternaThemes. getRegisteredTheme(java.lang.String name)
Methods in com.googlecode.lanterna.bundle with parameters of type Theme Modifier and Type Method Description static void
LanternaThemes. registerTheme(java.lang.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 Theme Modifier and Type Class Description class
AbstractTheme
AbstractTheme
implementation that manages a hierarchical tree of theme nodes ties to Class objects.class
DelegatingTheme
Allows you to more easily wrap an existing theme and alter the behaviour in some special cases.class
PropertyTheme
Theme
implementation that stores the theme definition in a regular java Properties object.class
SimpleTheme
Very basic implementation ofTheme
that allows you to quickly define a theme in code.Fields in com.googlecode.lanterna.graphics declared as Theme Modifier and Type Field Description private Theme
DelegatingTheme. theme
Constructors in com.googlecode.lanterna.graphics with parameters of type Theme Constructor Description DelegatingTheme(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 Theme Modifier and Type Field Description private 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 Theme Modifier and Type Method Description Theme
AbstractBasePane. getTheme()
Theme
AbstractComponent. getTheme()
Theme
AbstractTextGUI. getTheme()
Theme
BasePane. getTheme()
Returns the text GUITheme
associated with this base pane/window.Theme
ComboBox.PopupWindow. getTheme()
Theme
Component. getTheme()
Returns theTheme
this component should be rendered using.Theme
TextGUI. getTheme()
Returns the theme currently assigned to thisTextGUI
Methods in com.googlecode.lanterna.gui2 with parameters of type Theme Modifier and Type Method Description protected 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
AbstractBasePane. setTheme(Theme theme)
Component
AbstractComponent. setTheme(Theme theme)
void
AbstractTextGUI. setTheme(Theme theme)
void
BasePane. setTheme(Theme theme)
Component
Component. setTheme(Theme theme)
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
TextGUI. setTheme(Theme theme)
Sets the global theme to be used by this TextGUI.
-