Class RollPaperFormat
java.lang.Object
org.daisy.paper.AbstractPageFormat
org.daisy.paper.RollPaperFormat
- All Implemented Interfaces:
PageFormat
Provides a paper format for paper in rolls.
- Author:
- Joel HÃ¥kansson
-
Nested Class Summary
Nested classes/interfaces inherited from interface PageFormat
PageFormat.Type -
Constructor Summary
ConstructorsConstructorDescriptionRollPaperFormat(Length acrossPaperFeed, Length alongPaperFeed) Creates a new roll paper formatRollPaperFormat(RollPaper paper, Length length) Creates a new roll paper format -
Method Summary
Modifier and TypeMethodDescriptionReturns this PageFormat as a RollPaperFormatGets the length of the paper perpendicular to the direction of the paper feedGets the length of the paper along the direction of the paper feedGets the paper in this paper formattoString()Methods inherited from class AbstractPageFormat
asSheetPaperFormat, asTractorPaperFormat
-
Constructor Details
-
RollPaperFormat
-
RollPaperFormat
-
-
Method Details
-
getLengthAcrossFeed
Gets the length of the paper perpendicular to the direction of the paper feed- Returns:
- returns the length.
-
getLengthAlongFeed
Gets the length of the paper along the direction of the paper feed- Returns:
- returns the length.
-
getPageFormatType
Description copied from interface:PageFormatGets the paper in this paper format- Returns:
- returns the type
-
asRollPaperFormat
Description copied from interface:PageFormatReturns this PageFormat as a RollPaperFormat- Specified by:
asRollPaperFormatin interfacePageFormat- Overrides:
asRollPaperFormatin classAbstractPageFormat- Returns:
- returns the RollPaperFormat
-
toString
-