JIDE 3.5.15

com.jidesoft.plaf.xerto
Class XertoUtils

java.lang.Object
  extended by com.jidesoft.plaf.xerto.XertoUtils

public class XertoUtils
extends Object

XertoUtils

Author:
Created by Jasper Potts (17-Mar-2005)

Field Summary
static double RATIO1
           
static double RATIO2
           
static double RATIO3
           
 
Constructor Summary
XertoUtils()
           
 
Method Summary
static Color getApplicationFrameBackgroundColor()
           
static Color getBaseColor()
           
static Color getControlColor()
           
static Color getControlDarkShadowColor()
           
static Color getControlLightShadowColor()
           
static Color getControlMidShadowColor()
           
static Color getControlVeryLightShadowColor()
           
static Color getDefaultBackgroundColor(Color backColor)
           
static Color getEmBaseColor(Color bottomColor)
           
static Color getFocusedButtonColor(Color backColor)
           
static Color getFrameActiveTitleBottomColor()
           
static Color getFrameActiveTitleTopColor()
           
static Color getFrameBorderColor()
           
static Color getFrameInactiveTitleBottomColor()
           
static Color getFrameInactiveTitleTopColor()
           
static Color getGripperForegroundColor(Color backColor)
           
static int getGripperValue(int x)
           
static Color getHighlightColor(Color bottomColor)
           
static Color getInActiveCaptionColor()
           
static int getLightColor(int x, double ratio)
           
static Color getLightControlColor()
           
static Color getLighterColor(Color backColor)
           
static Color getLighterColor(Color color, double ratio)
           
static int getLighterColor(int x)
           
static Color getMenuBackgroundColor(Color color)
           
static Color getMenuSelectionColor(Color backColor)
           
static int getMenuSelectionValue(int x)
           
static int getMenuValue(int x)
           
static Color getMidControlColor()
           
static Color getSelectedAndFocusedButtonColor(Color backColor)
           
static Color getSelectedButtonColor(Color backColor)
           
static Color getSelectedTabBackgroundColor()
           
static Color getSelectionColor()
           
static Color getTabForgroundColor()
           
static Color getTextColor(Color backgroundColor)
           
static Color getToolBarBackgroundColor(Color color)
           
static int getToolBarValue(int x)
           
static void updateColors()
          Updates the colors based on the current UIDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RATIO1

public static final double RATIO1
See Also:
Constant Field Values

RATIO2

public static final double RATIO2
See Also:
Constant Field Values

RATIO3

public static final double RATIO3
See Also:
Constant Field Values
Constructor Detail

XertoUtils

public XertoUtils()
Method Detail

updateColors

public static void updateColors()
Updates the colors based on the current UIDefaults


getBaseColor

public static Color getBaseColor()

getInActiveCaptionColor

public static Color getInActiveCaptionColor()

getControlColor

public static Color getControlColor()

getMidControlColor

public static Color getMidControlColor()

getLightControlColor

public static Color getLightControlColor()

getSelectedTabBackgroundColor

public static Color getSelectedTabBackgroundColor()

getTabForgroundColor

public static Color getTabForgroundColor()

getControlVeryLightShadowColor

public static Color getControlVeryLightShadowColor()

getControlLightShadowColor

public static Color getControlLightShadowColor()

getControlMidShadowColor

public static Color getControlMidShadowColor()

getControlDarkShadowColor

public static Color getControlDarkShadowColor()

getSelectionColor

public static Color getSelectionColor()

getApplicationFrameBackgroundColor

public static Color getApplicationFrameBackgroundColor()

getFrameBorderColor

public static Color getFrameBorderColor()

getFrameActiveTitleTopColor

public static Color getFrameActiveTitleTopColor()

getFrameActiveTitleBottomColor

public static Color getFrameActiveTitleBottomColor()

getFrameInactiveTitleTopColor

public static Color getFrameInactiveTitleTopColor()

getFrameInactiveTitleBottomColor

public static Color getFrameInactiveTitleBottomColor()

getLighterColor

public static Color getLighterColor(Color backColor)

getLighterColor

public static int getLighterColor(int x)

getMenuSelectionColor

public static Color getMenuSelectionColor(Color backColor)

getMenuSelectionValue

public static int getMenuSelectionValue(int x)

getMenuBackgroundColor

public static Color getMenuBackgroundColor(Color color)

getMenuValue

public static int getMenuValue(int x)

getToolBarBackgroundColor

public static Color getToolBarBackgroundColor(Color color)

getToolBarValue

public static int getToolBarValue(int x)

getGripperForegroundColor

public static Color getGripperForegroundColor(Color backColor)

getGripperValue

public static int getGripperValue(int x)

getDefaultBackgroundColor

public static Color getDefaultBackgroundColor(Color backColor)

getLightColor

public static int getLightColor(int x,
                                double ratio)

getLighterColor

public static Color getLighterColor(Color color,
                                    double ratio)

getHighlightColor

public static Color getHighlightColor(Color bottomColor)

getEmBaseColor

public static Color getEmBaseColor(Color bottomColor)

getTextColor

public static Color getTextColor(Color backgroundColor)

getSelectedAndFocusedButtonColor

public static Color getSelectedAndFocusedButtonColor(Color backColor)

getFocusedButtonColor

public static Color getFocusedButtonColor(Color backColor)

getSelectedButtonColor

public static Color getSelectedButtonColor(Color backColor)

JIDE 3.5.15