test.contrib.combotheme
Class ColorTheme

java.lang.Object
  extended by org.jvnet.substance.theme.SubstanceTheme
      extended by test.contrib.combotheme.ColorTheme
All Implemented Interfaces:
SubstanceTrait

public class ColorTheme
extends SubstanceTheme


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.substance.theme.SubstanceTheme
SubstanceTheme.ThemeKind
 
Field Summary
protected  java.awt.Color[] colors
           
 
Fields inherited from class org.jvnet.substance.theme.SubstanceTheme
AQUA, GREEN, ORANGE, YELLOW
 
Constructor Summary
ColorTheme(java.lang.String name, java.awt.Color[] colors)
           
 
Method Summary
 void resetColorToDefault(javax.swing.JComponent button)
           
 void setTheme(javax.swing.JComponent boxButton, SubstanceTheme theme)
           
 
Methods inherited from class org.jvnet.substance.theme.SubstanceTheme
addCustomEntriesToTable, addUserDefined, createInstance, deuteranopia, getActiveTheme, getActiveTitlePaneTheme, getBackgroundColor, getBorderTheme, getColorScheme, getDecorationTheme, getDefaultColorScheme, getDefaultColorScheme, getDefaultTheme, getDefaultTitlePaneTheme, getDisabledBackgroundColor, getDisabledColorScheme, getDisabledColorScheme, getDisabledForegroundColor, getDisabledTheme, getDisplayName, getFirstTheme, getForegroundColor, getHighlightTheme, getHighlightThemeAlpha, getKind, getLightBackgroundColor, getLineColor, getLineColorDefault, getNonActivePainter, getSecondTheme, getSelectedTabFadeEnd, getSelectedTabFadeStart, getSelectionBackgroundColor, getSelectionCellForegroundColor, getSelectionForegroundColor, getTheme, getTheme, getTheme, getThemeAlpha, getThemeName, getWatermarkStampColor, getWatermarkTheme, hueShift, invert, isDark, isPaintingToolbarDropShadows, negate, protanopia, saturate, saturate, shade, shift, tint, tone, toString, toUseDecorationPainter, toUseDecorationThemeOnActiveControls, tritanopia
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

colors

protected java.awt.Color[] colors
Constructor Detail

ColorTheme

public ColorTheme(java.lang.String name,
                  java.awt.Color[] colors)
Method Detail

resetColorToDefault

public void resetColorToDefault(javax.swing.JComponent button)

setTheme

public void setTheme(javax.swing.JComponent boxButton,
                     SubstanceTheme theme)