it.stefanochizzolini.clown.objects
Class PdfReal
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObject
it.stefanochizzolini.clown.objects.PdfDataObject
it.stefanochizzolini.clown.objects.PdfDirectObject
it.stefanochizzolini.clown.objects.PdfAtomicObject<Double>
it.stefanochizzolini.clown.objects.PdfReal
- All Implemented Interfaces:
- IPdfNumber, Cloneable, Comparable<PdfDirectObject>
public class PdfReal
- extends PdfAtomicObject<Double>
- implements IPdfNumber
PDF real number object [PDF:1.6:3.2.2].
- Version:
- 0.0.8
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Constructor Summary |
PdfReal(double value)
|
formatter
protected static final DecimalFormat formatter
PdfReal
public PdfReal(double value)
get
public static PdfReal get(Double value)
- Gets the object equivalent to the given value.
clone
public Object clone(File context)
- Description copied from class:
PdfObject
- Gets the clone of the object, registered inside the given file context.
- Specified by:
clone
in class PdfObject
compareTo
public int compareTo(PdfDirectObject obj)
- Specified by:
compareTo
in interface Comparable<PdfDirectObject>
- Specified by:
compareTo
in class PdfDirectObject
writeTo
public void writeTo(IOutputStream stream)
- Description copied from class:
PdfObject
- Serializes the object to the given stream.
- Specified by:
writeTo
in class PdfObject
getNumberValue
public double getNumberValue()
- Specified by:
getNumberValue
in interface IPdfNumber
setNumberValue
public void setNumberValue(double value)
- Specified by:
setNumberValue
in interface IPdfNumber
translateNumberValue
public void translateNumberValue(double value)
- Specified by:
translateNumberValue
in interface IPdfNumber
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.