Uses of Class
java.lang.Float
Package
Description
Provides classes and interface relating to fonts.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the open data types and Open MBean descriptor classes.
-
Uses of Float in java.awt.font
Modifier and TypeFieldDescriptionstatic final Float
TextAttribute.JUSTIFICATION_FULL
Justify the line to the full requested width.static final Float
TextAttribute.JUSTIFICATION_NONE
Do not allow the line to be justified.static final Float
TextAttribute.POSTURE_OBLIQUE
The standard italic posture.static final Float
TextAttribute.POSTURE_REGULAR
The standard posture, upright.static final Float
TextAttribute.TRACKING_LOOSE
Perform loose tracking.static final Float
TextAttribute.TRACKING_TIGHT
Perform tight tracking.static final Float
TextAttribute.WEIGHT_BOLD
The standard bold weight.static final Float
TextAttribute.WEIGHT_DEMIBOLD
A moderately lighter weight thanWEIGHT_BOLD
.static final Float
TextAttribute.WEIGHT_DEMILIGHT
An intermediate weight betweenWEIGHT_LIGHT
andWEIGHT_STANDARD
.static final Float
TextAttribute.WEIGHT_EXTRA_LIGHT
The lightest predefined weight.static final Float
TextAttribute.WEIGHT_EXTRABOLD
An extra heavy weight.static final Float
TextAttribute.WEIGHT_HEAVY
A moderately heavier weight thanWEIGHT_BOLD
.static final Float
TextAttribute.WEIGHT_LIGHT
The standard light weight.static final Float
TextAttribute.WEIGHT_MEDIUM
An intermediate weight betweenWEIGHT_REGULAR
andWEIGHT_BOLD
.static final Float
TextAttribute.WEIGHT_REGULAR
The standard weight.static final Float
TextAttribute.WEIGHT_SEMIBOLD
A moderately heavier weight thanWEIGHT_REGULAR
.static final Float
TextAttribute.WEIGHT_ULTRABOLD
The heaviest predefined weight.static final Float
TextAttribute.WIDTH_CONDENSED
The most condensed predefined width.static final Float
TextAttribute.WIDTH_EXTENDED
The most extended predefined width.static final Float
TextAttribute.WIDTH_REGULAR
The standard width.static final Float
TextAttribute.WIDTH_SEMI_CONDENSED
A moderately condensed width.static final Float
TextAttribute.WIDTH_SEMI_EXTENDED
A moderately extended width. -
Uses of Float in java.lang
Modifier and TypeFieldDescriptionFloat.TYPE
TheClass
instance representing the primitive typefloat
.Modifier and TypeMethodDescriptionFloat.resolveConstantDesc
(MethodHandles.Lookup lookup) Resolves this instance as aConstantDesc
, the result of which is the instance itself.static Float
Float.valueOf
(float f) Returns aFloat
instance representing the specifiedfloat
value.static Float
Returns aFloat
object holding thefloat
value represented by the argument strings
.Modifier and TypeMethodDescriptionFloat.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance, which is the instance itself. -
Uses of Float in javax.management.openmbean
Modifier and TypeFieldDescriptionstatic final SimpleType
<Float> SimpleType.FLOAT
TheSimpleType
instance describing values whose Java class name isjava.lang.Float
.