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
-
Method Summary
Methods inherited from class org.daisy.paper.AbstractPaper
asSheetPaper, asTractorPaper, 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
-
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:Paper
Gets the type of paper- Returns:
- returns the type of paper
-
asRollPaper
Description copied from interface:Paper
Returns this Paper as a RollPaper- Specified by:
asRollPaper
in interfacePaper
- Overrides:
asRollPaper
in classAbstractPaper
- Returns:
- returns the RollPaper
-
toString
- Overrides:
toString
in classAbstractFactory
-