Package org.daisy.dotify.api.embosser
Interface Embosser
-
- All Superinterfaces:
EmbosserFactoryProperties
,EmbosserProperties
,Factory
,FactoryProperties
- All Known Implementing Classes:
AbstractBraillo200Embosser
,AbstractBraillo440Embosser
,AbstractEmbosser
,BlueBarEmbosser
,Braillo200Embosser
,Braillo200x270x400v12x16Embosser
,Braillo200x270x400v1x11Embosser
,Braillo300Embosser
,Braillo400SEmbosser
,Braillo400SREmbosser
,Braillo440SFEmbosser
,Braillo440SWEmbosser
,Braillo600Embosser
,Braillo600SREmbosser
,Braillo650SFEmbosser
,Braillo650SWEmbosser
,BrailloEmbosser
,CidatEmbosser
,EnablingTechnologiesDoubleSidedEmbosser
,EnablingTechnologiesEmbosser
,EnablingTechnologiesSingleSidedEmbosser
,GenericEmbosser
,ImpactoEmbosser
,IndexEmbosser
,IndexV2Embosser
,IndexV3Embosser
,IndexV4Embosser
,Interpoint55Embosser
,MountbattenEmbosser
,PortathielBlueEmbosser
,TigerEmbosser
public interface Embosser extends Factory, EmbosserFactoryProperties, EmbosserProperties
Provides an interface for common properties of an Embosser.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.embosser.EmbosserProperties
EmbosserProperties.PrintMode
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.factory.FactoryProperties
FactoryProperties.ComparatorBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxHeight(PageFormat pageFormat)
Gets the max height for the specified page format.int
getMaxWidth(PageFormat pageFormat)
Gets the max width for the specified page format.Area
getPrintableArea(PageFormat pageFormat)
Gets the printable area for the specified page format.PrintPage
getPrintPage(PageFormat pageFormat)
Gets the dimensions of one print page for the specified page format.TableFilter
getTableFilter()
Gets a table filter that returns true if supportsTable returns true.EmbosserWriter
newEmbosserWriter(OutputStream os)
Gets a new EmbosserWriter that writes to the supplied OutputStream.EmbosserWriter
newEmbosserWriter(Device device)
Gets a new EmbosserWriter that writes to the supplied Device.boolean
supportsPageFormat(PageFormat pageFormat)
Returns true if the page format is supported.boolean
supportsPaper(Paper paper)
Returns thue if the paper is supported.boolean
supportsPrintPage(PrintPage printPage)
Returns true if dimension is supported.boolean
supportsTable(Table table)
Returns true if table is supported.-
Methods inherited from interface org.daisy.dotify.api.embosser.EmbosserFactoryProperties
getMake, getModel
-
Methods inherited from interface org.daisy.dotify.api.embosser.EmbosserProperties
supports8dot, supportsAligning, supportsDuplex, supportsPrintMode, supportsVolumes, supportsZFolding
-
Methods inherited from interface org.daisy.dotify.api.factory.Factory
getFeature, getProperty, setFeature
-
Methods inherited from interface org.daisy.dotify.api.factory.FactoryProperties
getDescription, getDisplayName, getIdentifier
-
-
-
-
Method Detail
-
supportsPrintPage
boolean supportsPrintPage(PrintPage printPage)
Returns true if dimension is supported.- Parameters:
printPage
- the dimension to test- Returns:
- returns true if dimension is supported
-
supportsPageFormat
boolean supportsPageFormat(PageFormat pageFormat)
Returns true if the page format is supported.- Parameters:
pageFormat
- the page format- Returns:
- returns true if the page format is supported, false otherwise
-
supportsPaper
boolean supportsPaper(Paper paper)
Returns thue if the paper is supported.- Parameters:
paper
- the paper- Returns:
- returns true if the paper is supported, false otherwise
-
supportsTable
boolean supportsTable(Table table)
Returns true if table is supported.- Parameters:
table
- the table to test- Returns:
- returns true if table is supported
-
getTableFilter
TableFilter getTableFilter()
Gets a table filter that returns true if supportsTable returns true.- Returns:
- returns a table filter
-
newEmbosserWriter
EmbosserWriter newEmbosserWriter(OutputStream os)
Gets a new EmbosserWriter that writes to the supplied OutputStream.- Parameters:
os
- the OutputStream that the EmbosserWriter should use- Returns:
- returns a new EmbosserWriter
-
newEmbosserWriter
EmbosserWriter newEmbosserWriter(Device device)
Gets a new EmbosserWriter that writes to the supplied Device.- Parameters:
device
- the device that the EmbosserWriter should use- Returns:
- returns a new EmbosserWriter
-
getMaxWidth
int getMaxWidth(PageFormat pageFormat)
Gets the max width for the specified page format.- Parameters:
pageFormat
- the page format- Returns:
- returns the max width for the specified page format
-
getMaxHeight
int getMaxHeight(PageFormat pageFormat)
Gets the max height for the specified page format.- Parameters:
pageFormat
- the page format- Returns:
- returns the max height for the specified page format
-
getPrintPage
PrintPage getPrintPage(PageFormat pageFormat)
Gets the dimensions of one print page for the specified page format.- Parameters:
pageFormat
- the page format- Returns:
- returns the dimensions of one print page for the specified page format
-
getPrintableArea
Area getPrintableArea(PageFormat pageFormat)
Gets the printable area for the specified page format.- Parameters:
pageFormat
- the page format- Returns:
- returns the printable area for the specified page format
-
-