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 Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic ColorgetDefaultBackgroundColor(Color backColor) static ColorgetEmBaseColor(Color bottomColor) static ColorgetFocusedButtonColor(Color backColor) static Colorstatic Colorstatic Colorstatic Colorstatic Colorstatic ColorgetGripperForegroundColor(Color backColor) static intgetGripperValue(int x) static ColorgetHighlightColor(Color bottomColor) static Colorstatic intgetLightColor(int x, double ratio) static Colorstatic intgetLighterColor(int x) static ColorgetLighterColor(Color backColor) static ColorgetLighterColor(Color color, double ratio) static ColorgetMenuBackgroundColor(Color color) static ColorgetMenuSelectionColor(Color backColor) static intgetMenuSelectionValue(int x) static intgetMenuValue(int x) static Colorstatic ColorgetSelectedAndFocusedButtonColor(Color backColor) static ColorgetSelectedButtonColor(Color backColor) static Colorstatic Colorstatic Colorstatic ColorgetTextColor(Color backgroundColor) static ColorgetToolBarBackgroundColor(Color color) static intgetToolBarValue(int x) static voidUpdates 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
-