Class BrailloEmbosser
- java.lang.Object
-
- org.daisy.dotify.api.factory.AbstractFactory
-
- org.daisy.braille.utils.impl.tools.embosser.AbstractEmbosser
-
- org.daisy.braille.utils.impl.provider.braillo.BrailloEmbosser
-
- All Implemented Interfaces:
Serializable
,Embosser
,EmbosserFactoryProperties
,EmbosserProperties
,Factory
,FactoryProperties
- Direct Known Subclasses:
AbstractBraillo200Embosser
,AbstractBraillo440Embosser
,Braillo200x270x400v12x16Embosser
,Braillo200x270x400v1x11Embosser
,Braillo300Embosser
public abstract class BrailloEmbosser extends AbstractEmbosser
Provides an abstract Braillo embosser.- See Also:
- Serialized Form
-
-
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
-
-
Field Summary
-
Fields inherited from class org.daisy.braille.utils.impl.tools.embosser.AbstractEmbosser
defaultTable, setTable, tableCatalogService
-
-
Constructor Summary
Constructors Constructor Description BrailloEmbosser(TableCatalogService service, EmbosserFactoryProperties props)
Creates a new Braillo embosser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getCellHeight()
Gets cell height (4 x the vertical dot-to-dot distance), in millimeters.protected double
getCellWidth()
Gets cell width (2 x the horizontal dot-to-dot distance), in millimeters.TableFilter
getTableFilter()
Gets a table filter that returns true if supportsTable returns true.-
Methods inherited from class org.daisy.braille.utils.impl.tools.embosser.AbstractEmbosser
getFeature, getMake, getMaxHeight, getMaxWidth, getModel, getPageFormat, getPrintableArea, getProperty, setFeature, supportsTable, toString
-
Methods inherited from class org.daisy.dotify.api.factory.AbstractFactory
getDescription, getDisplayName, getIdentifier
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.daisy.dotify.api.embosser.Embosser
getPrintPage, newEmbosserWriter, newEmbosserWriter, supportsPageFormat, supportsPaper, supportsPrintPage
-
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.FactoryProperties
getDescription, getDisplayName, getIdentifier
-
-
-
-
Constructor Detail
-
BrailloEmbosser
public BrailloEmbosser(TableCatalogService service, EmbosserFactoryProperties props)
Creates a new Braillo embosser.- Parameters:
service
- the table catalogprops
- the embosser properties
-
-
Method Detail
-
getCellWidth
protected double getCellWidth()
Description copied from class:AbstractEmbosser
Gets cell width (2 x the horizontal dot-to-dot distance), in millimeters.- Specified by:
getCellWidth
in classAbstractEmbosser
- Returns:
- returns cell width, in millimeters
-
getCellHeight
protected double getCellHeight()
Description copied from class:AbstractEmbosser
Gets cell height (4 x the vertical dot-to-dot distance), in millimeters. This value should not include any line spacing.- Specified by:
getCellHeight
in classAbstractEmbosser
- Returns:
- returns cell height, in millimeters
-
getTableFilter
public TableFilter getTableFilter()
Description copied from interface:Embosser
Gets a table filter that returns true if supportsTable returns true.- Returns:
- returns a table filter
-
-