org.apache.fop.fo
Class NumberProperty

org.apache.fop.fo.Property
  |
  +--org.apache.fop.fo.NumberProperty

public class NumberProperty
extends Property


Inner Class Summary
 public static classNumberProperty.Maker
           

Inner classes inherited from class org.apache.fop.fo.Property
Property.Maker

Constructor Summary
NumberProperty(Number number)
           
NumberProperty(double number)
           
NumberProperty(int number)
           

Method Summary
 ColorTypegetColorType()
           
 NumbergetNumber()
           
 NumericgetNumeric()
           
 ObjectgetObject()
          public Double getDouble() { return new Double(this.number.doubleValue()); } public Integer getInteger() { return new Integer(this.number.intValue()); }

Methods inherited from class org.apache.fop.fo.Property
getCharacter, getCondLength, getEnum, getLength, getLengthRange, getNCname, getSpace, getSpecifiedValue, getString, setSpecifiedValue

Constructor Detail

NumberProperty

public NumberProperty(Number number)

NumberProperty

public NumberProperty(double number)

NumberProperty

public NumberProperty(int number)
Method Detail

getColorType

public ColorType getColorType()

getNumber

public Number getNumber()

getNumeric

public Numeric getNumeric()

getObject

public Object getObject()
public Double getDouble() { return new Double(this.number.doubleValue()); } public Integer getInteger() { return new Integer(this.number.intValue()); }

Association Links

to Class java.lang.Number