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

com.jidesoft.swing.TabColorProvider Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
/*
 * @(#)TabColorProvider.java 4/1/2011
 *
 * Copyright 2002 - 2011 JIDE Software Inc. All rights reserved.
 */

package com.jidesoft.swing;

import java.awt.*;

/**
 * A Color Provider to provide background and foreground for both {@link JideTabbedPane} and {@link SidePaneItem}.
 * 

* It has higher priority than {@link com.jidesoft.swing.JideTabbedPane#getTabColorProvider()}. However, if {@link SidePaneItem#setBackground(java.awt.Color)} * or {@link SidePaneItem#setForeground(java.awt.Color)} is invoked, the settings in {@link SidePaneItem} will be respected * instead of the color returned by this class. */ public interface TabColorProvider { /** * Gets the background color the tab. * * @return the background color. */ public Color getTabBackground(); /** * Gets the foreground color the tab. * * @return the foreground color. */ public Color getTabForeground(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy