Package org.daisy.dotify.api.paper
Class TractorPaper
- java.lang.Object
-
- org.daisy.dotify.api.paper.AbstractPaper
-
- org.daisy.dotify.api.paper.TractorPaper
-
- All Implemented Interfaces:
Serializable,FactoryProperties,Paper
public class TractorPaper extends AbstractPaper
Provides a paper object for perforated paper with paper guides.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.factory.FactoryProperties
FactoryProperties.ComparatorBuilder
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.paper.Paper
Paper.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TractorPaperasTractorPaper()Returns this Paper as a TractorPaper.LengthgetLengthAcrossFeed()Gets the length of the paper perpendicular to the direction of the paper feed.LengthgetLengthAlongFeed()Gets the length of the paper along the direction of the paper feed.Paper.TypegetType()Gets the type of paper.StringtoString()-
Methods inherited from class org.daisy.dotify.api.paper.AbstractPaper
asRollPaper, asSheetPaper, getDescription, getDisplayName, getIdentifier
-
-
-
-
Method Detail
-
getLengthAcrossFeed
public Length getLengthAcrossFeed()
Gets the length of the paper perpendicular to the direction of the paper feed.- Returns:
- returns the length.
-
getLengthAlongFeed
public Length getLengthAlongFeed()
Gets the length of the paper along the direction of the paper feed.- Returns:
- returns the length.
-
getType
public Paper.Type getType()
Description copied from interface:PaperGets the type of paper.- Returns:
- returns the type of paper
-
asTractorPaper
public TractorPaper asTractorPaper()
Description copied from interface:PaperReturns this Paper as a TractorPaper.- Specified by:
asTractorPaperin interfacePaper- Overrides:
asTractorPaperin classAbstractPaper- Returns:
- returns the TractorPaper
-
-