All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jidesoft.plaf.office2003.Office2003Theme Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
/*
 * @(#)Office2003Theme.java
 *
 * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved.
 */
package com.jidesoft.plaf.office2003;

import javax.swing.*;
import javax.swing.plaf.ColorUIResource;

/**
 */
public class Office2003Theme extends UIDefaults {
    private String _themeName;

    public final Object[] _uiDefaultsSelection = new Object[]{
            "selection.Rollover", new ColorUIResource(255, 238, 194), // focused
            "selection.RolloverLt", new ColorUIResource(255, 244, 204),
            "selection.RolloverDk", new ColorUIResource(255, 208, 145),

            "selection.Selected", new ColorUIResource(255, 192, 111), // selected;
            "selection.SelectedLt", new ColorUIResource(255, 213, 140),
            "selection.SelectedDk", new ColorUIResource(255, 173, 85),

            "selection.Pressed", new ColorUIResource(254, 128, 62), // focused and selected;
            "selection.PressedLt", new ColorUIResource(255, 211, 142),
            "selection.PressedDk", new ColorUIResource(254, 145, 78)
    };

    public Office2003Theme(String themeName) {
        _themeName = themeName;
        putDefaults(_uiDefaultsSelection);
    }

    public String getThemeName() {
        return _themeName;
    }

    public void setThemeName(String themeName) {
        _themeName = themeName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy