public static class

CssProperty.NumberValue

extends CssProperty.Value
java.lang.Object
   ↳ com.google.gwt.resources.css.ast.CssProperty.Value
     ↳ com.google.gwt.resources.css.ast.CssProperty.NumberValue

Class Overview

Represents a numeric value, possibly with attached units.

Summary

Public Constructors
CssProperty.NumberValue(float value)
CssProperty.NumberValue(float value, String units)
Public Methods
String getExpression()
Generate a Java expression whose execution results in the value.
String getUnits()
float getValue()
CssProperty.NumberValue isNumberValue()
String toCss()
Generate a CSS expression that represents the Value.
[Expand]
Inherited Methods
From class com.google.gwt.resources.css.ast.CssProperty.Value
From class java.lang.Object

Public Constructors

public CssProperty.NumberValue (float value)

public CssProperty.NumberValue (float value, String units)

Public Methods

public String getExpression ()

Generate a Java expression whose execution results in the value.

public String getUnits ()

public float getValue ()

public CssProperty.NumberValue isNumberValue ()

public String toCss ()

Generate a CSS expression that represents the Value.