Class EnablingTechnologiesEmbosser

    • 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 class AbstractEmbosser
        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 class AbstractEmbosser
        Returns:
        returns cell height, in millimeters
      • supportsPaper

        public boolean supportsPaper​(Paper paper)
        Description copied from interface: Embosser
        Returns thue if the paper is supported.
        Parameters:
        paper - the paper
        Returns:
        returns true if the paper is supported, false otherwise
      • supportsPageFormat

        public boolean supportsPageFormat​(PageFormat format)
        Description copied from interface: Embosser
        Returns true if the page format is supported.
        Parameters:
        format - the page format
        Returns:
        returns true if the page format is supported, false otherwise
      • supportsPrintPage

        public boolean supportsPrintPage​(PrintPage dim)
        Description copied from interface: Embosser
        Returns true if dimension is supported.
        Parameters:
        dim - the dimension to test
        Returns:
        returns true if dimension is supported
      • 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
      • supportsVolumes

        public boolean supportsVolumes()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser has some method for volume handling.
        Returns:
        returns true if this embosser supports volumes
      • supports8dot

        public boolean supports8dot()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports 8 dot braille.
        Returns:
        returns true if this embosser supports 8 dot braille
      • supportsAligning

        public boolean supportsAligning()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports aligning. This indicates that rows can be padded with whitespace to move the text block horizontally using the value returned by getMaxWidth. Should return true for all physical embossers, since they all have a finite row length.
        Returns:
        returns true if this embosser supports aligning, false otherwise.
      • newEmbosserWriter

        public EmbosserWriter newEmbosserWriter​(Device device)
        Description copied from interface: Embosser
        Gets a new EmbosserWriter that writes to the supplied Device.
        Parameters:
        device - the device that the EmbosserWriter should use
        Returns:
        returns a new EmbosserWriter
      • newEmbosserWriter

        public EmbosserWriter newEmbosserWriter​(OutputStream os)
        Description copied from interface: Embosser
        Gets a new EmbosserWriter that writes to the supplied OutputStream.
        Parameters:
        os - the OutputStream that the EmbosserWriter should use
        Returns:
        returns a new EmbosserWriter
      • getPrintableArea

        public Area getPrintableArea​(PageFormat pageFormat)
        Description copied from interface: Embosser
        Gets the printable area for the specified page format.
        Specified by:
        getPrintableArea in interface Embosser
        Overrides:
        getPrintableArea in class AbstractEmbosser
        Parameters:
        pageFormat - the page format
        Returns:
        returns the printable area for the specified page format