public class RollPaper extends AbstractPaper
Paper.Type
Constructor | Description |
---|---|
RollPaper(java.lang.String name,
java.lang.String desc,
java.lang.Enum<? extends java.lang.Enum<?>> identifier,
Length across) |
Creates a new roll paper
|
Modifier and Type | Method | Description |
---|---|---|
RollPaper |
asRollPaper() |
Returns this Paper as a RollPaper
|
Length |
getLengthAcrossFeed() |
Gets the length of the paper perpendicular to the direction of the paper feed
|
Paper.Type |
getType() |
Gets the type of paper
|
java.lang.String |
toString() |
compareTo, getDescription, getDisplayName, getIdentifier
asSheetPaper, asTractorPaper, getFeature, getProperty, setFeature
getDescription, getDisplayName, getIdentifier
public RollPaper(java.lang.String name, java.lang.String desc, java.lang.Enum<? extends java.lang.Enum<?>> identifier, Length across)
name
- a name for the paperdesc
- a descriptionidentifier
- an identifieracross
- the height of the rollpublic Length getLengthAcrossFeed()
public Paper.Type getType()
Paper
public RollPaper asRollPaper()
Paper
asRollPaper
in interface Paper
asRollPaper
in class AbstractPaper
public java.lang.String toString()
toString
in class AbstractFactory