Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: awt ::
constants group FontFamily
Description These values are used to specify the general kind of font. They may be expanded in future versions.

Constants
DONTKNOW | specifies an unknown font family.
DECORATIVE | specifies the family of decorative fonts.
MODERN | specifies the family of modern fonts.
ROMAN | specifies the family roman fonts (with serifes).
SCRIPT | specifies the family of script fonts.
SWISS | specifies the family roman fonts (without serifes).
SYSTEM | specifies the family system fonts.

Constants' Details
DONTKNOW
const short DONTKNOW = 0; Description specifies an unknown font family.
DECORATIVE
const short DECORATIVE = 1; Description specifies the family of decorative fonts.
MODERN
const short MODERN = 2; Description specifies the family of modern fonts.
ROMAN
const short ROMAN = 3; Description specifies the family roman fonts (with serifes).
SCRIPT
const short SCRIPT = 4; Description specifies the family of script fonts.
SWISS
const short SWISS = 5; Description specifies the family roman fonts (without serifes).
SYSTEM
const short SYSTEM = 6; Description specifies the family system fonts.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.