Spec-Zone .ru
спецификации, руководства, описания, API

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

access name type description
public static final BOLD FontWeight

represents bold font weight.

public static final DEMI_BOLD FontWeight

represents demi-bold font weight.

public static final DEMI_LIGHT FontWeight

represents demi-light font weight.

public static final EXTRA_BOLD FontWeight

represents extra-bold font weight.

public static final EXTRA_LIGHT FontWeight

represents exgtra-light font weight.

public static final HEAVY FontWeight

represents bold font weight.

public static final LIGHT FontWeight

represents light font weight.

public static final MEDIUM FontWeight

represents medium font weight.

public static final REGULAR FontWeight

represents regular font weight.

public static final SEMI_BOLD FontWeight

represents semi-bold font weight.

public static final ULTRA_BOLD FontWeight

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 FontWeight[] values()
Returns
FontWeight[]
 

Inherited Functions