Package net.infonode.tabbedpanel
Class TabbedUIDefaults
java.lang.Object
net.infonode.tabbedpanel.TabbedUIDefaults
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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Gets the default icon size for buttonsstatic Color
Gets the content area background colorstatic Insets
Gets the insets for the content areastatic Color
Gets the (border) dark shadow colorstatic Color
Gets the tab disabled state background colorstatic Color
Gets the tab disabled state foreground colorstatic Font
getFont()
Gets the fontstatic Color
Gets the (border) highlight colorstatic Color
Gets the tab highlighted state backgound colorstatic Color
Gets the tab highlighted state foreground colorstatic int
Gets the icon text gapstatic Color
Gets the tab normal state background colorstatic Color
Gets the tab normal state foreground colorstatic Insets
Gets the tab insets
-
Method Details
-
getContentAreaBackground
Gets the content area background color- Returns:
- a copy of the color
-
getNormalStateForeground
Gets the tab normal state foreground color- Returns:
- a copy of the color
-
getNormalStateBackground
Gets the tab normal state background color- Returns:
- a copy of the color
-
getHighlightedStateForeground
Gets the tab highlighted state foreground color- Returns:
- a copy of the color
-
getHighlightedStateBackground
Gets the tab highlighted state backgound color- Returns:
- a copy of the color
-
getDisabledForeground
Gets the tab disabled state foreground color- Returns:
- a copy of the color
-
getDisabledBackground
Gets the tab disabled state background color- Returns:
- a copy of the color
-
getDarkShadow
Gets the (border) dark shadow color- Returns:
- a copy of the color
-
getHighlight
Gets the (border) highlight color- Returns:
- a copy of the color
-
getFont
Gets the font- Returns:
- a copy of the font
-
getIconTextGap
public static int getIconTextGap()Gets the icon text gap- Returns:
- the icon text gap
-
getTabInsets
Gets the tab insets- Returns:
- a copy of the insets
-
getContentAreaInsets
Gets the insets for the content area- Returns:
- a copy of the insets
-
getButtonIconSize
public static int getButtonIconSize()Gets the default icon size for buttons- Returns:
- icon size in pixels
-