net.infonode.tabbedpanel

Class TabbedUIDefaults

public class TabbedUIDefaults extends Object

Methods for retrieving UI defaults for the current "Look and Feel" from the UIManager. The values are adapted to be used with classes in the TabbedPanel package.

Version: $Revision: 1.15 $

Author: $Author: johan $

Method Summary
static intgetButtonIconSize()
Gets the default icon size for buttons
static ColorgetContentAreaBackground()
Gets the content area background color
static InsetsgetContentAreaInsets()
Gets the insets for the content area
static ColorgetDarkShadow()
Gets the (border) dark shadow color
static ColorgetDisabledBackground()
Gets the tab disabled state background color
static ColorgetDisabledForeground()
Gets the tab disabled state foreground color
static FontgetFont()
Gets the font
static ColorgetHighlight()
Gets the (border) highlight color
static ColorgetHighlightedStateBackground()
Gets the tab highlighted state backgound color
static ColorgetHighlightedStateForeground()
Gets the tab highlighted state foreground color
static intgetIconTextGap()
Gets the icon text gap
static ColorgetNormalStateBackground()
Gets the tab normal state background color
static ColorgetNormalStateForeground()
Gets the tab normal state foreground color
static InsetsgetTabInsets()
Gets the tab insets

Method Detail

getButtonIconSize

public static int getButtonIconSize()
Gets the default icon size for buttons

Returns: icon size in pixels

getContentAreaBackground

public static Color getContentAreaBackground()
Gets the content area background color

Returns: a copy of the color

getContentAreaInsets

public static Insets getContentAreaInsets()
Gets the insets for the content area

Returns: a copy of the insets

getDarkShadow

public static Color getDarkShadow()
Gets the (border) dark shadow color

Returns: a copy of the color

getDisabledBackground

public static Color getDisabledBackground()
Gets the tab disabled state background color

Returns: a copy of the color

getDisabledForeground

public static Color getDisabledForeground()
Gets the tab disabled state foreground color

Returns: a copy of the color

getFont

public static Font getFont()
Gets the font

Returns: a copy of the font

getHighlight

public static Color getHighlight()
Gets the (border) highlight color

Returns: a copy of the color

getHighlightedStateBackground

public static Color getHighlightedStateBackground()
Gets the tab highlighted state backgound color

Returns: a copy of the color

getHighlightedStateForeground

public static Color getHighlightedStateForeground()
Gets the tab highlighted state foreground color

Returns: a copy of the color

getIconTextGap

public static int getIconTextGap()
Gets the icon text gap

Returns: the icon text gap

getNormalStateBackground

public static Color getNormalStateBackground()
Gets the tab normal state background color

Returns: a copy of the color

getNormalStateForeground

public static Color getNormalStateForeground()
Gets the tab normal state foreground color

Returns: a copy of the color

getTabInsets

public static Insets getTabInsets()
Gets the tab insets

Returns: a copy of the insets