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 TractorPaper
asTractorPaper()
Returns this Paper as a TractorPaper.Length
getLengthAcrossFeed()
Gets the length of the paper perpendicular to the direction of the paper feed.Length
getLengthAlongFeed()
Gets the length of the paper along the direction of the paper feed.Paper.Type
getType()
Gets the type of paper.String
toString()
-
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:Paper
Gets the type of paper.- Returns:
- returns the type of paper
-
asTractorPaper
public TractorPaper asTractorPaper()
Description copied from interface:Paper
Returns this Paper as a TractorPaper.- Specified by:
asTractorPaper
in interfacePaper
- Overrides:
asTractorPaper
in classAbstractPaper
- Returns:
- returns the TractorPaper
-
-