EmbosserProperties
, EmbosserWriterProperties
public class SimpleEmbosserProperties extends java.lang.Object implements EmbosserWriterProperties
EmbosserProperties.PrintMode
Constructor | Description |
---|---|
SimpleEmbosserProperties(int maxWidth,
int maxHeight) |
Creates a new SimpleEmbosserProperties with all "supports" properties set to false and cell width = 6
and cell height = 10
|
Modifier and Type | Method | Description |
---|---|---|
SimpleEmbosserProperties |
cellHeight(double val) |
Sets the value of cell height
|
SimpleEmbosserProperties |
cellWidth(double val) |
Sets the value of cell width
|
double |
getCellHeight() |
Gets the cell height, in millimeters
|
double |
getCellWidth() |
Gets the cell width, in millimeters
|
int |
getMaxHeight() |
Gets the maximum page height in the current configuration
|
int |
getMaxWidth() |
Gets the maximum row width in the current configuration
|
boolean |
supports8dot() |
Returns true if this embosser supports 8 dot braille
|
SimpleEmbosserProperties |
supports8dot(boolean val) |
Sets the value of eight dot support
|
boolean |
supportsAligning() |
Returns true if this embosser supports aligning.
|
SimpleEmbosserProperties |
supportsAligning(boolean val) |
Sets the value of aligning support
|
boolean |
supportsDuplex() |
Returns true if this embosser supports duplex printing
|
SimpleEmbosserProperties |
supportsDuplex(boolean val) |
Sets the value of duplex support
|
SimpleEmbosserProperties |
supportsMagazineLayout(boolean val) |
Sets the value of magazine layout support
|
boolean |
supportsPrintMode(EmbosserProperties.PrintMode mode) |
Returns true if this embosser supports magazine layout.
|
boolean |
supportsVolumes() |
Returns true if this embosser has some method for volume handling
|
SimpleEmbosserProperties |
supportsVolumes(boolean val) |
Sets the value of volumes support
|
boolean |
supportsZFolding() |
Returns true if this embosser supports z-folding.
|
SimpleEmbosserProperties |
supportsZFolding(boolean val) |
Sets the value of z-folding support
|
public SimpleEmbosserProperties(int maxWidth, int maxHeight)
maxWidth
- the maximum width, in charactersmaxHeight
- the maximum height, in rowspublic SimpleEmbosserProperties supports8dot(boolean val)
val
- the new valuepublic SimpleEmbosserProperties supportsDuplex(boolean val)
val
- the new valuepublic SimpleEmbosserProperties supportsAligning(boolean val)
val
- the new valuepublic SimpleEmbosserProperties supportsVolumes(boolean val)
val
- the new valuepublic SimpleEmbosserProperties supportsZFolding(boolean val)
val
- the new valuepublic SimpleEmbosserProperties supportsMagazineLayout(boolean val)
val
- the new valuepublic SimpleEmbosserProperties cellWidth(double val)
val
- the new valuepublic SimpleEmbosserProperties cellHeight(double val)
val
- the new valuepublic int getMaxHeight()
EmbosserWriterProperties
getMaxHeight
in interface EmbosserWriterProperties
public int getMaxWidth()
EmbosserWriterProperties
getMaxWidth
in interface EmbosserWriterProperties
public boolean supports8dot()
EmbosserProperties
supports8dot
in interface EmbosserProperties
public boolean supportsAligning()
EmbosserProperties
getMaxWidth
.
Should return true for all physical embossers, since they all have
a finite row length.supportsAligning
in interface EmbosserProperties
public boolean supportsDuplex()
EmbosserProperties
supportsDuplex
in interface EmbosserProperties
public boolean supportsVolumes()
EmbosserProperties
supportsVolumes
in interface EmbosserProperties
public boolean supportsZFolding()
EmbosserProperties
supportsZFolding
in interface EmbosserProperties
public boolean supportsPrintMode(EmbosserProperties.PrintMode mode)
EmbosserProperties
supportsPrintMode
in interface EmbosserProperties
public double getCellWidth()
public double getCellHeight()