APIdia Launch Partner
Top Description Constructors Methods
com.sun.java.swing.plaf.gtk

pack-priv Class XColors

extends Object
Class Inheritance
Imports
javax.swing.plaf.ColorUIResource

Utility class to convert color names to a color object.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static ColorUIResource

Returns:

null, or a Color object
lookupColor
(String
name of the color
name
)

Converts a color name to a ColorUIResource.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

XColorsback to summary
private XColors()

Method Detail

lookupColorback to summary
pack-priv static ColorUIResource lookupColor(String name)

Converts a color name to a ColorUIResource.

Parameters
name:String

name of the color

Returns:ColorUIResource

null, or a Color object