public class RollPaper extends AbstractPaper
Paper.Type| Constructor and 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 and 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() |
asSheetPaper, asTractorPaper, getFeature, getProperty, setFeaturecompareTo, getDescription, getDisplayName, getIdentifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getDisplayName, getIdentifierpublic 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()
Paperpublic RollPaper asRollPaper()
PaperasRollPaper in interface PaperasRollPaper in class AbstractPaperpublic java.lang.String toString()
toString in class AbstractFactory