Package org.daisy.paper
Class TractorPaper
java.lang.Object
org.daisy.factory.AbstractFactory
org.daisy.paper.AbstractPaper
org.daisy.paper.TractorPaper
- All Implemented Interfaces:
Serializable
,Comparable<Factory>
,Factory
,Paper
Provides a paper object for perforated paper with paper guides.
- Author:
- Joel HÃ¥kansson
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.daisy.paper.Paper
Paper.Type
-
Constructor Summary
-
Method Summary
Methods inherited from class org.daisy.paper.AbstractPaper
asRollPaper, asSheetPaper, getFeature, getProperty, setFeature
Methods inherited from class org.daisy.factory.AbstractFactory
compareTo, getDescription, getDisplayName, getIdentifier
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.daisy.factory.Factory
getDescription, getDisplayName, getIdentifier
-
Constructor Details
-
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.
-
getType
Description copied from interface:Paper
Gets the type of paper- Returns:
- returns the type of paper
-
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
-
toString
- Overrides:
toString
in classAbstractFactory
-