chemaxon.alchemist.utils
Class AlchemistGraphicsUtilities

java.lang.Object
  extended by chemaxon.alchemist.utils.AlchemistGraphicsUtilities

public class AlchemistGraphicsUtilities
extends java.lang.Object


Field Summary
static java.awt.Color ALCHEMIST_GRAY
           
static java.awt.Color ALCHEMIST_ORANGE
           
static java.awt.Color ALCHEMIST_SIDEBAR_BGR_GRADIENT1
          alchemist sidebar background gradient top
static java.awt.Color ALCHEMIST_SIDEBAR_BGR_GRADIENT2
          alchemist sidebar background gradient bottom
static java.awt.Color ALCHEMIST_TOOLTIP_BGR
          the alchemist tooltip background color
static java.awt.Color ALCHEMIST_TOOLTIP_YELLOW
          Deprecated. use ALCHEMIST_TOOLTIP_BGR instead
static java.awt.BasicStroke dashedStroke
           
static java.awt.BasicStroke dottedStroke
           
static java.awt.BasicStroke normalStroke
           
 
Constructor Summary
AlchemistGraphicsUtilities()
           
 
Method Summary
static java.awt.image.BufferedImage createDisabledImage(java.awt.Component component)
          Returns an image created by rendering the component and applying a semi-transparent white layer on it
static java.awt.Color greyscale(java.awt.Color color)
          Returns the greyscale color
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALCHEMIST_TOOLTIP_YELLOW

public static final java.awt.Color ALCHEMIST_TOOLTIP_YELLOW
Deprecated. use ALCHEMIST_TOOLTIP_BGR instead

ALCHEMIST_TOOLTIP_BGR

public static java.awt.Color ALCHEMIST_TOOLTIP_BGR
the alchemist tooltip background color


ALCHEMIST_ORANGE

public static final java.awt.Color ALCHEMIST_ORANGE

ALCHEMIST_GRAY

public static final java.awt.Color ALCHEMIST_GRAY

ALCHEMIST_SIDEBAR_BGR_GRADIENT1

public static final java.awt.Color ALCHEMIST_SIDEBAR_BGR_GRADIENT1
alchemist sidebar background gradient top


ALCHEMIST_SIDEBAR_BGR_GRADIENT2

public static final java.awt.Color ALCHEMIST_SIDEBAR_BGR_GRADIENT2
alchemist sidebar background gradient bottom


dashedStroke

public static final java.awt.BasicStroke dashedStroke

dottedStroke

public static final java.awt.BasicStroke dottedStroke

normalStroke

public static final java.awt.BasicStroke normalStroke
Constructor Detail

AlchemistGraphicsUtilities

public AlchemistGraphicsUtilities()
Method Detail

createDisabledImage

public static java.awt.image.BufferedImage createDisabledImage(java.awt.Component component)
Returns an image created by rendering the component and applying a semi-transparent white layer on it

Parameters:
component - is the component being used as base
Returns:
the created image

greyscale

public static java.awt.Color greyscale(java.awt.Color color)
Returns the greyscale color

Parameters:
color - is the source color
Returns:
the greyscale color