org.smallmind.wicket.component.google.visualization
Class NumberValue

java.lang.Object
  extended by org.smallmind.wicket.component.google.visualization.Value
      extended by org.smallmind.wicket.component.google.visualization.NumberValue
All Implemented Interfaces:
Comparable<Value>

public class NumberValue
extends Value


Method Summary
 void add(double number)
           
static NumberValue asNull()
           
 int compareTo(Value value)
           
static NumberValue create(double number)
           
static NumberValue create(Double number)
           
 String forScript()
           
 Double getNumber()
           
 ValueType getType()
           
 boolean isNull()
           
 String toString()
           
 
Methods inherited from class org.smallmind.wicket.component.google.visualization.Value
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

asNull

public static NumberValue asNull()

create

public static NumberValue create(double number)

create

public static NumberValue create(Double number)

getNumber

public Double getNumber()

add

public void add(double number)

getType

public ValueType getType()
Specified by:
getType in class Value

isNull

public boolean isNull()
Specified by:
isNull in class Value

compareTo

public int compareTo(Value value)

forScript

public String forScript()
Specified by:
forScript in class Value

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.