Java™ Platform
Standard Ed. 6

Uses of Class
java.lang.Float

Packages that use Float
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. 
 

Uses of Float in java.awt.font
 

Fields in java.awt.font declared as Float
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.
 

Uses of Float in java.lang
 

Fields in java.lang with type parameters of type Float
static Class<Float> Float.TYPE
          The Class instance representing the primitive type float.
 

Methods in java.lang that return Float
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.
 

Methods in java.lang with parameters of type Float
 int Float.compareTo(Float anotherFloat)
          Compares two Float objects numerically.
 

Uses of Float in javax.management.openmbean
 

Fields in javax.management.openmbean with type parameters of type Float
static SimpleType<Float> SimpleType.FLOAT
          The SimpleType instance describing values whose Java class name is java.lang.Float.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.