public class SimpleEmbosserProperties extends java.lang.Object implements EmbosserWriterProperties
EmbosserProperties.PrintMode| Constructor and 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 and 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()
EmbosserWriterPropertiesgetMaxHeight in interface EmbosserWriterPropertiespublic int getMaxWidth()
EmbosserWriterPropertiesgetMaxWidth in interface EmbosserWriterPropertiespublic boolean supports8dot()
EmbosserPropertiessupports8dot in interface EmbosserPropertiespublic boolean supportsAligning()
EmbosserPropertiesgetMaxWidth.
Should return true for all physical embossers, since they all have
a finite row length.supportsAligning in interface EmbosserPropertiespublic boolean supportsDuplex()
EmbosserPropertiessupportsDuplex in interface EmbosserPropertiespublic boolean supportsVolumes()
EmbosserPropertiessupportsVolumes in interface EmbosserPropertiespublic boolean supportsZFolding()
EmbosserPropertiessupportsZFolding in interface EmbosserPropertiespublic boolean supportsPrintMode(EmbosserProperties.PrintMode mode)
EmbosserPropertiessupportsPrintMode in interface EmbosserPropertiespublic double getCellWidth()
public double getCellHeight()