Package com.jidesoft.plaf.xerto
Class XertoUtils
java.lang.Object
com.jidesoft.plaf.xerto.XertoUtils
XertoUtils
- Author:
- Created by Jasper Potts (17-Mar-2005)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Color
static Color
static Color
static Color
static Color
static Color
static Color
static Color
getDefaultBackgroundColor
(Color backColor) static Color
getEmBaseColor
(Color bottomColor) static Color
getFocusedButtonColor
(Color backColor) static Color
static Color
static Color
static Color
static Color
static Color
getGripperForegroundColor
(Color backColor) static int
getGripperValue
(int x) static Color
getHighlightColor
(Color bottomColor) static Color
static int
getLightColor
(int x, double ratio) static Color
static int
getLighterColor
(int x) static Color
getLighterColor
(Color backColor) static Color
getLighterColor
(Color color, double ratio) static Color
getMenuBackgroundColor
(Color color) static Color
getMenuSelectionColor
(Color backColor) static int
getMenuSelectionValue
(int x) static int
getMenuValue
(int x) static Color
static Color
getSelectedAndFocusedButtonColor
(Color backColor) static Color
getSelectedButtonColor
(Color backColor) static Color
static Color
static Color
static Color
getTextColor
(Color backgroundColor) static Color
getToolBarBackgroundColor
(Color color) static int
getToolBarValue
(int x) static void
Updates the colors based on the current UIDefaults
-
Field Details
-
RATIO1
public static final double RATIO1- See Also:
-
RATIO2
public static final double RATIO2- See Also:
-
RATIO3
public static final double RATIO3- See Also:
-
-
Constructor Details
-
XertoUtils
public XertoUtils()
-
-
Method Details
-
updateColors
public static void updateColors()Updates the colors based on the current UIDefaults -
getBaseColor
-
getInActiveCaptionColor
-
getControlColor
-
getMidControlColor
-
getLightControlColor
-
getSelectedTabBackgroundColor
-
getTabForgroundColor
-
getControlVeryLightShadowColor
-
getControlLightShadowColor
-
getControlMidShadowColor
-
getControlDarkShadowColor
-
getSelectionColor
-
getApplicationFrameBackgroundColor
-
getFrameBorderColor
-
getFrameActiveTitleTopColor
-
getFrameActiveTitleBottomColor
-
getFrameInactiveTitleTopColor
-
getFrameInactiveTitleBottomColor
-
getLighterColor
-
getLighterColor
public static int getLighterColor(int x) -
getMenuSelectionColor
-
getMenuSelectionValue
public static int getMenuSelectionValue(int x) -
getMenuBackgroundColor
-
getMenuValue
public static int getMenuValue(int x) -
getToolBarBackgroundColor
-
getToolBarValue
public static int getToolBarValue(int x) -
getGripperForegroundColor
-
getGripperValue
public static int getGripperValue(int x) -
getDefaultBackgroundColor
-
getLightColor
public static int getLightColor(int x, double ratio) -
getLighterColor
-
getHighlightColor
-
getEmBaseColor
-
getTextColor
-
getSelectedAndFocusedButtonColor
-
getFocusedButtonColor
-
getSelectedButtonColor
-