Package | Description |
---|---|
java.awt.font |
Provides classes and interface relating to fonts.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
Modifier and Type | Field and Description |
---|---|
static 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 than
WEIGHT_BOLD . |
static Float |
TextAttribute.WEIGHT_DEMILIGHT
An intermediate weight between
WEIGHT_LIGHT and
WEIGHT_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 than
WEIGHT_BOLD . |
static Float |
TextAttribute.WEIGHT_LIGHT
The standard light weight.
|
static Float |
TextAttribute.WEIGHT_MEDIUM
An intermediate weight between
WEIGHT_REGULAR and
WEIGHT_BOLD . |
static Float |
TextAttribute.WEIGHT_REGULAR
The standard weight.
|
static Float |
TextAttribute.WEIGHT_SEMIBOLD
A moderately heavier weight than
WEIGHT_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.
|
Modifier and Type | Field and Description |
---|---|
static Class<Float> |
Float.TYPE
The
Class instance representing the primitive type
float . |
Modifier and Type | Method and Description |
---|---|
static Float |
Float.valueOf(float f)
Returns a
Float instance representing the specified
float value. |
static Float |
Float.valueOf(String s)
Returns a
Float object holding the
float value represented by the argument string
s . |
Modifier and Type | Method and Description |
---|---|
int |
Float.compareTo(Float anotherFloat)
Compares two
Float objects numerically. |
Modifier and Type | Field and Description |
---|---|
static SimpleType<Float> |
SimpleType.FLOAT
The
SimpleType instance describing values whose
Java class name is java.lang.Float . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.