JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Specifies different font weights which can be used when searching for a font on the system.

Profile: common

Field Summary

accessnametypedescription
public static finalBOLDFontWeight

represents bold font weight.

public static finalDEMI_BOLDFontWeight

represents demi-bold font weight.

public static finalDEMI_LIGHTFontWeight

represents demi-light font weight.

public static finalEXTRA_BOLDFontWeight

represents extra-bold font weight.

public static finalEXTRA_LIGHTFontWeight

represents exgtra-light font weight.

public static finalHEAVYFontWeight

represents bold font weight.

public static finalLIGHTFontWeight

represents light font weight.

public static finalMEDIUMFontWeight

represents medium font weight.

public static finalREGULARFontWeight

represents regular font weight.

public static finalSEMI_BOLDFontWeight

represents semi-bold font weight.

public static finalULTRA_BOLDFontWeight

represents ultra-bold font weight.

Inherited Variables

Method Summary

public static FontWeight findByName(java.lang.String name)

Returns FontWeight by its name.

Returns FontWeight by its name.

Parameters
name

name of the FontWeight

Returns
FontWeight

Profile: common

 
public static FontWeight valueOf(java.lang.String name)
Parameters
name
Returns
FontWeight
 
public static final FontWeight[] values()
Returns
FontWeight[]
 

Inherited Functions