* @param colorScheme
* The active color scheme.
*/
public RobotDefaultDarkSkin(SubstanceColorScheme colorScheme) {
SubstanceColorScheme inactiveScheme = new BlendBiColorScheme(
colorScheme, new DarkMetallicColorScheme(), 0.6);
SubstanceColorSchemeBundle defaultSchemeBundle = new SubstanceColorSchemeBundle(
colorScheme, inactiveScheme, inactiveScheme);
defaultSchemeBundle.registerColorScheme(inactiveScheme, 0.5f,
ComponentState.DISABLED_UNSELECTED,
ComponentState.DISABLED_SELECTED);
this.registerDecorationAreaSchemeBundle(defaultSchemeBundle,
DecorationAreaType.NONE);
this.registerAsDecorationArea(colorScheme,
DecorationAreaType.PRIMARY_TITLE_PANE,
DecorationAreaType.SECONDARY_TITLE_PANE,
DecorationAreaType.HEADER);
this.selectedTabFadeStart = 1.0;
this.selectedTabFadeEnd = 1.0;
BottomLineOverlayPainter bottomLineOverlayPainter = new BottomLineOverlayPainter(
ColorSchemeSingleColorQuery.MID);
this.addOverlayPainter(bottomLineOverlayPainter,
DecorationAreaType.PRIMARY_TITLE_PANE,
DecorationAreaType.SECONDARY_TITLE_PANE,
DecorationAreaType.HEADER);
this.watermark = new SubstanceCrosshatchWatermark();
this.watermarkScheme = new BlendBiColorScheme(colorScheme,
new DarkMetallicColorScheme(), 0.5);
this.buttonShaper = new ClassicButtonShaper();
this.fillPainter = new ClassicFillPainter();
this.borderPainter = new ClassicBorderPainter();