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 Float
TextAttribute.JUSTIFICATION_FULL
Justify the line to the full requested width.static Float
TextAttribute.JUSTIFICATION_NONE
Do not allow the line to be justified.static Float
TextAttribute.POSTURE_OBLIQUE
The standard italic posture.static Float
TextAttribute.POSTURE_REGULAR
The standard posture, upright.static Float
TextAttribute.TRACKING_LOOSE
Perform loose tracking.static Float
TextAttribute.TRACKING_TIGHT
Perform tight tracking.static Float
TextAttribute.WEIGHT_BOLD
The standard bold weight.static Float
TextAttribute.WEIGHT_DEMIBOLD
A moderately lighter weight thanWEIGHT_BOLD
.static Float
TextAttribute.WEIGHT_DEMILIGHT
An intermediate weight betweenWEIGHT_LIGHT
andWEIGHT_STANDARD
.static Float
TextAttribute.WEIGHT_EXTRA_LIGHT
The lightest predefined weight.static Float
TextAttribute.WEIGHT_EXTRABOLD
An extra heavy weight.static Float
TextAttribute.WEIGHT_HEAVY
A moderately heavier weight thanWEIGHT_BOLD
.static Float
TextAttribute.WEIGHT_LIGHT
The standard light weight.static Float
TextAttribute.WEIGHT_MEDIUM
An intermediate weight betweenWEIGHT_REGULAR
andWEIGHT_BOLD
.static Float
TextAttribute.WEIGHT_REGULAR
The standard weight.static Float
TextAttribute.WEIGHT_SEMIBOLD
A moderately heavier weight thanWEIGHT_REGULAR
.static Float
TextAttribute.WEIGHT_ULTRABOLD
The heaviest predefined weight.static Float
TextAttribute.WIDTH_CONDENSED
The most condensed predefined width.static Float
TextAttribute.WIDTH_EXTENDED
The most extended predefined width.static Float
TextAttribute.WIDTH_REGULAR
The standard width.static Float
TextAttribute.WIDTH_SEMI_CONDENSED
A moderately condensed width.static 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 SimpleType<Float>
SimpleType.FLOAT
TheSimpleType
instance describing values whose Java class name isjava.lang.Float
.