Uses of Class
java.lang.Float
Packages that use Float
Package
Description
Provides classes and interface relating to fonts.
Provides classes that are fundamental to the design of the Java
programming language.
Provides classfile parsing, generation, and transformation library.
Provides the open data types and Open MBean descriptor classes.
-
Uses of Float in java.awt.font
Fields in java.awt.font declared as FloatModifier and TypeFieldDescriptionstatic final FloatTextAttribute.JUSTIFICATION_FULLJustify the line to the full requested width.static final FloatTextAttribute.JUSTIFICATION_NONEDo not allow the line to be justified.static final FloatTextAttribute.POSTURE_OBLIQUEThe standard italic posture.static final FloatTextAttribute.POSTURE_REGULARThe standard posture, upright.static final FloatTextAttribute.TRACKING_LOOSEPerform loose tracking.static final FloatTextAttribute.TRACKING_TIGHTPerform tight tracking.static final FloatTextAttribute.WEIGHT_BOLDThe standard bold weight.static final FloatTextAttribute.WEIGHT_DEMIBOLDA moderately lighter weight thanWEIGHT_BOLD.static final FloatTextAttribute.WEIGHT_DEMILIGHTAn intermediate weight betweenWEIGHT_LIGHTandWEIGHT_STANDARD.static final FloatTextAttribute.WEIGHT_EXTRA_LIGHTThe lightest predefined weight.static final FloatTextAttribute.WEIGHT_EXTRABOLDAn extra heavy weight.static final FloatTextAttribute.WEIGHT_HEAVYA moderately heavier weight thanWEIGHT_BOLD.static final FloatTextAttribute.WEIGHT_LIGHTThe standard light weight.static final FloatTextAttribute.WEIGHT_MEDIUMAn intermediate weight betweenWEIGHT_REGULARandWEIGHT_BOLD.static final FloatTextAttribute.WEIGHT_REGULARThe standard weight.static final FloatTextAttribute.WEIGHT_SEMIBOLDA moderately heavier weight thanWEIGHT_REGULAR.static final FloatTextAttribute.WEIGHT_ULTRABOLDThe heaviest predefined weight.static final FloatTextAttribute.WIDTH_CONDENSEDThe most condensed predefined width.static final FloatTextAttribute.WIDTH_EXTENDEDThe most extended predefined width.static final FloatTextAttribute.WIDTH_REGULARThe standard width.static final FloatTextAttribute.WIDTH_SEMI_CONDENSEDA moderately condensed width.static final FloatTextAttribute.WIDTH_SEMI_EXTENDEDA moderately extended width. -
Uses of Float in java.lang
Modifier and TypeClassDescriptionfinal classModifier and TypeFieldDescriptionFloat.TYPETheClassinstance 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 FloatFloat.valueOf(float f) Returns aFloatinstance representing the specifiedfloatvalue.static FloatReturns aFloatobject holding thefloatvalue represented by the argument strings.Modifier and TypeMethodDescriptionFloat.describeConstable()Returns anOptionalcontaining the nominal descriptor for this instance, which is the instance itself. -
Uses of Float in java.lang.classfile
Methods in java.lang.classfile that return FloatModifier and TypeMethodDescriptiondefault FloatAnnotationValue.OfFloat.resolvedValue()Returns the resolved float value. -
Uses of Float in javax.management.openmbean
Fields in javax.management.openmbean with type parameters of type FloatModifier and TypeFieldDescriptionstatic final SimpleType<Float> SimpleType.FLOATTheSimpleTypeinstance describing values whose Java class name isjava.lang.Float.