Class PageFormat
- java.lang.Object
-
- com.levigo.jadice.server.documentplatform.PageFormat
-
- All Implemented Interfaces:
Serializable
public class PageFormat extends Object implements Serializable
This class is aserializable
version ofPageFormat
.Use
fromAwtValue(java.awt.print.PageFormat)
andtoAwtValue()
to transform from AWT class object to jadice class objects and vice versa.- Since:
- jadice server 4.3.1.4
- See Also:
PageFormat
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PageFormat()
PageFormat(Orientation orientation, Paper paper)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PageFormat
fromAwtValue(PageFormat pageFormat)
Transforms an AWTPageFormat
instance to a jadice PageFormat instance.PageFormat
toAwtValue()
-
-
-
Constructor Detail
-
PageFormat
public PageFormat()
-
PageFormat
public PageFormat(Orientation orientation, Paper paper)
Constructor.- Parameters:
orientation
- Orientation of the paperpaper
- The paper defining this page format
-
-
Method Detail
-
toAwtValue
public PageFormat toAwtValue()
- Returns:
- the AWT version of this instance
-
fromAwtValue
public static PageFormat fromAwtValue(PageFormat pageFormat)
Transforms an AWTPageFormat
instance to a jadice PageFormat instance.- Parameters:
pageFormat
- the AWTPageFormat
instance- Returns:
- the jadice PageFormat instance
-
-