Save This Page
Home » openjdk-7 » javax » swing » text » html » [javadoc | source]
javax.swing.text.html
static class: CSS.LengthUnit [javadoc | source]
java.lang.Object
   javax.swing.text.html.CSS$LengthUnit

All Implemented Interfaces:
    Serializable

Parses a length value, this is used internally, and never added to an AttributeSet or returned to the developer.
Field Summary
static  Hashtable lengthMapping     
static  Hashtable w3cLengthMapping     
 short type     
 float value     
 String units     
static final  short UNINITALIZED_LENGTH     
Constructor:
 LengthUnit(String value,
    short defaultType,
    float defaultValue) 
Method from javax.swing.text.html.CSS$LengthUnit Summary:
getValue,   getValue,   parse,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.html.CSS$LengthUnit Detail:
 float getValue(boolean w3cLengthUnits) 
 static float getValue(float value,
    String units,
    Boolean w3cLengthUnits) 
  void parse(String value,
    short defaultType,
    float defaultValue) 
 public String toString()