PageFormatpublic class TractorPaperFormat extends AbstractPageFormat
PageFormat.Type| Constructor | Description |
|---|---|
TractorPaperFormat(Length acrossPaperFeed,
Length alongPaperFeed) |
Creates a new tractor paper format.
|
TractorPaperFormat(TractorPaper paper) |
Creates a new tractor paper format.
|
| Modifier and Type | Method | Description |
|---|---|---|
TractorPaperFormat |
asTractorPaperFormat() |
Returns this PageFormat as a TractorPaperFormat
|
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.
|
PageFormat.Type |
getPageFormatType() |
Gets the paper in this paper format
|
java.lang.String |
toString() |
asRollPaperFormat, asSheetPaperFormatpublic TractorPaperFormat(TractorPaper paper)
paper - the paper to usepublic Length getLengthAcrossFeed()
public Length getLengthAlongFeed()
public PageFormat.Type getPageFormatType()
PageFormatpublic TractorPaperFormat asTractorPaperFormat()
PageFormatasTractorPaperFormat in interface PageFormatasTractorPaperFormat in class AbstractPageFormatpublic java.lang.String toString()
toString in class java.lang.Object