Top Fields Constructors Methods
com.vladsch.flexmark.util.html.ui

public Class Color

extends Color
Class Inheritance
Annotations
@SuppressWarnings:WeakerAccess

Field Summary

Modifier and TypeField and Description
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
public static final Color
Inherited from java.awt.Color:
blackbluecyandarkGraygraygreenlightGraymagentaorangepinkredwhiteyellow

Constructor Summary

AccessConstructor and Description
protected
Color(Color other)

protected
Color(int rgb)

Method Summary

Modifier and TypeMethod and Description
public static Color
of(Color color)

public static Color
of(int rgb)

public static Color
of(String colorName)

public String
toString()

Overrides java.awt.Color.toString.

Returns a string representation of this Color.

Inherited from java.awt.Color:
brightercreateContextdarkerdecodeequalsgetAlphagetBluegetColorgetColorgetColorgetColorComponentsgetColorComponentsgetColorSpacegetComponentsgetComponentsgetGreengetHSBColorgetRedgetRGBgetRGBColorComponentsgetRGBComponentsgetTransparencyhashCodeHSBtoRGBRGBtoHSB

Field Detail

BLACKback to summary
public static final Color BLACK

Hides java.awt.Color.BLACK.

BLUEback to summary
public static final Color BLUE

Hides java.awt.Color.BLUE.

CYANback to summary
public static final Color CYAN

Hides java.awt.Color.CYAN.

DARK_GRAYback to summary
public static final Color DARK_GRAY

Hides java.awt.Color.DARK_GRAY.

GRAYback to summary
public static final Color GRAY

Hides java.awt.Color.GRAY.

GREENback to summary
public static final Color GREEN

Hides java.awt.Color.GREEN.

LIGHT_GRAYback to summary
public static final Color LIGHT_GRAY

Hides java.awt.Color.LIGHT_GRAY.

MAGENTAback to summary
public static final Color MAGENTA

Hides java.awt.Color.MAGENTA.

NULLback to summary
public static final Color NULL
ORANGEback to summary
public static final Color ORANGE

Hides java.awt.Color.ORANGE.

PINKback to summary
public static final Color PINK

Hides java.awt.Color.PINK.

REDback to summary
public static final Color RED

Hides java.awt.Color.RED.

WHITEback to summary
public static final Color WHITE

Hides java.awt.Color.WHITE.

YELLOWback to summary
public static final Color YELLOW

Hides java.awt.Color.YELLOW.

Constructor Detail

Colorback to summary
protected Color(Color other)
Colorback to summary
protected Color(int rgb)

Method Detail

ofback to summary
public static Color of(Color color)
ofback to summary
public static Color of(int rgb)
ofback to summary
public static Color of(String colorName)
toStringback to summary
public String toString()

Overrides java.awt.Color.toString.

Doc from java.awt.Color.toString.

Returns a string representation of this Color. This method is intended to be used only for debugging purposes. The content and format of the returned string might vary between implementations. The returned string might be empty but cannot be null.

Returns:String

a string representation of this Color.

Annotations
@Override