AbstractPageFormat
, RollPaperFormat
, SheetPaperFormat
, TractorPaperFormat
public interface PageFormat
Modifier and Type | Interface | Description |
---|---|---|
static class |
PageFormat.Type |
Defines page format types
|
Modifier and Type | Method | Description |
---|---|---|
RollPaperFormat |
asRollPaperFormat() |
Returns this PageFormat as a RollPaperFormat
|
SheetPaperFormat |
asSheetPaperFormat() |
Returns this PageFormat as a SheetPaperFormat
|
TractorPaperFormat |
asTractorPaperFormat() |
Returns this PageFormat as a TractorPaperFormat
|
PageFormat.Type |
getPageFormatType() |
Gets the paper in this paper format
|
PageFormat.Type getPageFormatType()
SheetPaperFormat asSheetPaperFormat()
java.lang.ClassCastException
- if the instance is not SheetPaperFormatTractorPaperFormat asTractorPaperFormat()
java.lang.ClassCastException
- if the instance is not TractorPaperFormatRollPaperFormat asRollPaperFormat()
java.lang.ClassCastException
- if the instance is not RollPaperFormat