com.jidesoft.swing.TabColorProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jide-oss Show documentation
Show all versions of jide-oss Show documentation
JIDE Common Layer (Professional Swing Components)
/*
* @(#)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