public class TractorPaper extends AbstractPaper
Paper.Type| Constructor | Description |
|---|---|
TractorPaper(java.lang.String name,
java.lang.String desc,
java.lang.Enum<? extends java.lang.Enum<?>> identifier,
Length across,
Length along) |
Creates a new tractor paper
|
| 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
|
java.lang.String |
toString() |
compareTo, getDescription, getDisplayName, getIdentifierasRollPaper, asSheetPaper, getFeature, getProperty, setFeaturegetDescription, getDisplayName, getIdentifierpublic TractorPaper(java.lang.String name,
java.lang.String desc,
java.lang.Enum<? extends java.lang.Enum<?>> identifier,
Length across,
Length along)
name - a namedesc - a descriptionidentifier - an identifieracross - the width of the paperalong - the height of the paperpublic Length getLengthAcrossFeed()
public Length getLengthAlongFeed()
public Paper.Type getType()
Paperpublic TractorPaper asTractorPaper()
PaperasTractorPaper in interface PaperasTractorPaper in class AbstractPaperpublic java.lang.String toString()
toString in class AbstractFactory