com.tensegrity.gui
Class GUIConfiguration

java.lang.Object
  extended bycom.tensegrity.gui.GUIConfiguration

public class GUIConfiguration
extends java.lang.Object

GUIConfiguration

Author:
BurkhardWick

Method Summary
static java.awt.Color getDefaultBorderColor()
          Returns the color that should be used for default borders
static java.awt.Color getDefaultForegroundColor()
          Returns the color that should be used for default Foregrounds
static java.awt.Color getDefaultItemBackground()
          Returns the color that should be used for default Foregrounds
static javax.swing.border.Border getDefaultItemBorder()
          Returns the color that should be used for default Foregrounds
static java.awt.Insets getDefaultItemInsets()
          Returns the insets to use for items when the mouse is not hovering them
static java.awt.Color getFocusBorderColor()
          Returns the color that should be used for focus Foregrounds
static java.awt.Color getFocusForegroundColor()
          Returns the color that should be used for focus Foregrounds
static java.awt.Color getGradientEndColor()
          Returns the color that should be used for pressed Foregrounds
static float getGradientEndPosition()
          Returns the gradient position
static java.awt.Color getGradientStartColor()
          Returns the color that should be used for default Foregrounds
static float getGradientStartPosition()
          Returns the gradient position
static javax.swing.border.Border getHoveredItemBorder()
          Returns the color that should be used for hovered Foregrounds
static java.awt.Insets getHoveredItemInsets()
          Returns the insets to use for items when the mouse is hovering them
static java.awt.Color getPressedItemBackground()
          Returns the color that should be used for pressed Foregrounds
static void setDefaultBorderColor(java.awt.Color color)
          Sets the color that should be used for default borders
static void setDefaultBorderColor(java.lang.String uiKey)
          Sets the color that should be used for default borders
static void setDefaultForegroundColor(java.awt.Color color)
          Sets the color that should be used for default Foregrounds
static void setDefaultForegroundColor(java.lang.String uiKey)
          Sets the color that should be used for default Foregrounds
static void setDefaultItemBackground(java.awt.Color color)
          Sets the color that should be used for default Foregrounds
static void setDefaultItemBackground(java.lang.String uiKey)
          Sets the color that should be used for default Foregrounds
static void setDefaultItemBorder(javax.swing.border.Border color)
          Sets the color that should be used for default Foregrounds
static void setDefaultItemBorder(java.lang.String uiKey)
          Sets the color that should be used for default Foregrounds
static void setDefaultItemInsets(java.awt.Insets ins)
          Sets the insets to use for items when the mouse is not hovering them
static void setFocusBorderColor(java.awt.Color color)
          Sets the color that should be used for focus borders
static void setFocusBorderColor(java.lang.String uiKey)
          Sets the color that should be used for focus borders
static void setFocusForegroundColor(java.awt.Color color)
          Sets the color that should be used for focus Foregrounds
static void setFocusForegroundColor(java.lang.String uiKey)
          Sets the color that should be used for focus Foregrounds
static void setGradientEndColor(java.awt.Color color)
          Sets the color that should be used for pressed Foregrounds
static void setGradientEndColor(java.lang.String uiKey)
          Sets the color that should be used for pressed Foregrounds
static void setGradientEndPosition(float gradientPosition)
          Sets the gradient position
static void setGradientStartColor(java.awt.Color color)
          Sets the color that should be used for default Foregrounds
static void setGradientStartColor(java.lang.String uiKey)
          Sets the color that should be used for default Foregrounds
static void setGradientStartPosition(float gradientPosition)
          Sets the gradient position
static void setHoveredItemBorder(javax.swing.border.Border color)
          Sets the color that should be used for hovered Foregrounds
static void setHoveredItemBorder(java.lang.String uiKey)
          Sets the color that should be used for hovered Foregrounds
static void setHoveredItemInsets(java.awt.Insets ins)
          Sets the insets to use for items when the mouse is hovering them
static void setPressedItemBackground(java.awt.Color color)
          Sets the color that should be used for pressed Foregrounds
static void setPressedItemBackground(java.lang.String uiKey)
          Sets the color that should be used for pressed Foregrounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setFocusBorderColor

public static void setFocusBorderColor(java.awt.Color color)
Sets the color that should be used for focus borders

Parameters:
color - the color that should be used for focus borders

setDefaultBorderColor

public static void setDefaultBorderColor(java.awt.Color color)
Sets the color that should be used for default borders

Parameters:
color - the color that should be used for default borders

setFocusBorderColor

public static void setFocusBorderColor(java.lang.String uiKey)
Sets the color that should be used for focus borders

Parameters:
uiKey - The ui key of the color that should be used for focus borders

setDefaultBorderColor

public static void setDefaultBorderColor(java.lang.String uiKey)
Sets the color that should be used for default borders

Parameters:
uiKey - The ui key of the color that should be used for default borders

getDefaultBorderColor

public static java.awt.Color getDefaultBorderColor()
Returns the color that should be used for default borders

Returns:
the color that should be used for default borders

getFocusBorderColor

public static java.awt.Color getFocusBorderColor()
Returns the color that should be used for focus Foregrounds

Returns:
the color that should be used for focus Foregrounds

setFocusForegroundColor

public static void setFocusForegroundColor(java.awt.Color color)
Sets the color that should be used for focus Foregrounds

Parameters:
color - the color that should be used for focus Foregrounds

setDefaultForegroundColor

public static void setDefaultForegroundColor(java.awt.Color color)
Sets the color that should be used for default Foregrounds

Parameters:
color - the color that should be used for default Foregrounds

setFocusForegroundColor

public static void setFocusForegroundColor(java.lang.String uiKey)
Sets the color that should be used for focus Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for focus Foregrounds

setDefaultForegroundColor

public static void setDefaultForegroundColor(java.lang.String uiKey)
Sets the color that should be used for default Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for default Foregrounds

getDefaultForegroundColor

public static java.awt.Color getDefaultForegroundColor()
Returns the color that should be used for default Foregrounds

Returns:
the color that should be used for default Foregrounds

getFocusForegroundColor

public static java.awt.Color getFocusForegroundColor()
Returns the color that should be used for focus Foregrounds

Returns:
the color that should be used for focus Foregrounds

setHoveredItemBorder

public static void setHoveredItemBorder(javax.swing.border.Border color)
Sets the color that should be used for hovered Foregrounds

Parameters:
color - the color that should be used for hovered Foregrounds

setDefaultItemBorder

public static void setDefaultItemBorder(javax.swing.border.Border color)
Sets the color that should be used for default Foregrounds

Parameters:
color - the color that should be used for default Foregrounds

setHoveredItemBorder

public static void setHoveredItemBorder(java.lang.String uiKey)
Sets the color that should be used for hovered Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for hovered Foregrounds

setDefaultItemBorder

public static void setDefaultItemBorder(java.lang.String uiKey)
Sets the color that should be used for default Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for default Foregrounds

getDefaultItemBorder

public static javax.swing.border.Border getDefaultItemBorder()
Returns the color that should be used for default Foregrounds

Returns:
the color that should be used for default Foregrounds

getHoveredItemBorder

public static javax.swing.border.Border getHoveredItemBorder()
Returns the color that should be used for hovered Foregrounds

Returns:
the color that should be used for hovered Foregrounds

setPressedItemBackground

public static void setPressedItemBackground(java.awt.Color color)
Sets the color that should be used for pressed Foregrounds

Parameters:
color - the color that should be used for pressed Foregrounds

setDefaultItemBackground

public static void setDefaultItemBackground(java.awt.Color color)
Sets the color that should be used for default Foregrounds

Parameters:
color - the color that should be used for default Foregrounds

setPressedItemBackground

public static void setPressedItemBackground(java.lang.String uiKey)
Sets the color that should be used for pressed Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for pressed Foregrounds

setDefaultItemBackground

public static void setDefaultItemBackground(java.lang.String uiKey)
Sets the color that should be used for default Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for default Foregrounds

getDefaultItemBackground

public static java.awt.Color getDefaultItemBackground()
Returns the color that should be used for default Foregrounds

Returns:
the color that should be used for default Foregrounds

getPressedItemBackground

public static java.awt.Color getPressedItemBackground()
Returns the color that should be used for pressed Foregrounds

Returns:
the color that should be used for pressed Foregrounds

setGradientEndColor

public static void setGradientEndColor(java.awt.Color color)
Sets the color that should be used for pressed Foregrounds

Parameters:
color - the color that should be used for pressed Foregrounds

setGradientStartColor

public static void setGradientStartColor(java.awt.Color color)
Sets the color that should be used for default Foregrounds

Parameters:
color - the color that should be used for default Foregrounds

setGradientEndColor

public static void setGradientEndColor(java.lang.String uiKey)
Sets the color that should be used for pressed Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for pressed Foregrounds

setGradientStartColor

public static void setGradientStartColor(java.lang.String uiKey)
Sets the color that should be used for default Foregrounds

Parameters:
uiKey - The ui key of the color that should be used for default Foregrounds

getGradientStartColor

public static java.awt.Color getGradientStartColor()
Returns the color that should be used for default Foregrounds

Returns:
the color that should be used for default Foregrounds

getGradientEndColor

public static java.awt.Color getGradientEndColor()
Returns the color that should be used for pressed Foregrounds

Returns:
the color that should be used for pressed Foregrounds

getGradientStartPosition

public static float getGradientStartPosition()
Returns the gradient position

Returns:
the gradient position

setGradientStartPosition

public static void setGradientStartPosition(float gradientPosition)
Sets the gradient position

Parameters:
gradientPosition - the gradient position

getGradientEndPosition

public static float getGradientEndPosition()
Returns the gradient position

Returns:
the gradient position

setGradientEndPosition

public static void setGradientEndPosition(float gradientPosition)
Sets the gradient position

Parameters:
gradientPosition - the gradient position

setDefaultItemInsets

public static void setDefaultItemInsets(java.awt.Insets ins)
Sets the insets to use for items when the mouse is not hovering them

Parameters:
ins - The insets to use

setHoveredItemInsets

public static void setHoveredItemInsets(java.awt.Insets ins)
Sets the insets to use for items when the mouse is hovering them

Parameters:
ins - The insets to use

getDefaultItemInsets

public static java.awt.Insets getDefaultItemInsets()
Returns the insets to use for items when the mouse is not hovering them

Returns:
the insets to use for items when the mouse is not hovering them

getHoveredItemInsets

public static java.awt.Insets getHoveredItemInsets()
Returns the insets to use for items when the mouse is hovering them

Returns:
the insets to use for items when the mouse is hovering them


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.