Package org.daisy.paper
Class AbstractPageFormat
java.lang.Object
org.daisy.paper.AbstractPageFormat
- All Implemented Interfaces:
PageFormat
- Direct Known Subclasses:
RollPaperFormat
,SheetPaperFormat
,TractorPaperFormat
Provides an abstract page format
- Author:
- Joel HÃ¥kansson
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.daisy.paper.PageFormat
PageFormat.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns this PageFormat as a RollPaperFormatReturns this PageFormat as a SheetPaperFormatReturns this PageFormat as a TractorPaperFormatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.daisy.paper.PageFormat
getPageFormatType
-
Constructor Details
-
AbstractPageFormat
public AbstractPageFormat()
-
-
Method Details
-
asSheetPaperFormat
Description copied from interface:PageFormat
Returns this PageFormat as a SheetPaperFormat- Specified by:
asSheetPaperFormat
in interfacePageFormat
- Returns:
- returns the SheetPaperFormat
-
asTractorPaperFormat
Description copied from interface:PageFormat
Returns this PageFormat as a TractorPaperFormat- Specified by:
asTractorPaperFormat
in interfacePageFormat
- Returns:
- returns the TractorPaperFormat
-
asRollPaperFormat
Description copied from interface:PageFormat
Returns this PageFormat as a RollPaperFormat- Specified by:
asRollPaperFormat
in interfacePageFormat
- Returns:
- returns the RollPaperFormat
-