Package org.daisy.paper
Class RollPaper
java.lang.Object
org.daisy.factory.AbstractFactory
org.daisy.paper.AbstractPaper
org.daisy.paper.RollPaper
- All Implemented Interfaces:
Serializable,Comparable<Factory>,Factory,Paper
Provides a paper object for paper in rolls.
- Author:
- Joel HÃ¥kansson
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.daisy.paper.Paper
Paper.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.daisy.paper.AbstractPaper
asSheetPaper, asTractorPaper, getFeature, getProperty, setFeatureMethods inherited from class org.daisy.factory.AbstractFactory
compareTo, getDescription, getDisplayName, getIdentifierMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.daisy.factory.Factory
getDescription, getDisplayName, getIdentifier
-
Constructor Details
-
RollPaper
Creates a new roll paper- Parameters:
name- a name for the paperdesc- a descriptionidentifier- an identifieracross- the height of the roll
-
-
Method Details
-
getLengthAcrossFeed
Gets the length of the paper perpendicular to the direction of the paper feed- Returns:
- returns the length, in mm.
-
getType
Description copied from interface:PaperGets the type of paper- Returns:
- returns the type of paper
-
asRollPaper
Description copied from interface:PaperReturns this Paper as a RollPaper- Specified by:
asRollPaperin interfacePaper- Overrides:
asRollPaperin classAbstractPaper- Returns:
- returns the RollPaper
-
toString
- Overrides:
toStringin classAbstractFactory
-