public abstract class AbstractPageFormat extends Object implements PageFormat
PageFormat.Type
Constructor and Description |
---|
AbstractPageFormat() |
Modifier and Type | Method and 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPageFormatType
public SheetPaperFormat asSheetPaperFormat()
PageFormat
asSheetPaperFormat
in interface PageFormat
public TractorPaperFormat asTractorPaperFormat()
PageFormat
asTractorPaperFormat
in interface PageFormat
public RollPaperFormat asRollPaperFormat()
PageFormat
asRollPaperFormat
in interface PageFormat