Class EmbosserTable<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Factory>, Table, Factory

    public class EmbosserTable<T>
    extends AbstractTable
    Provides an embosser table implementation. This implementation assumes that each character matches a single braille pattern, and vice versa.
    Author:
    Joel HÃ¥kansson
    See Also:
    Serialized Form
    • Constructor Detail

      • EmbosserTable

        public EmbosserTable​(java.lang.String name,
                             java.lang.String desc,
                             T type,
                             ConfigurableTableProvider<T> provider)
        Creates a new EmbosserTable with the supplied settings
        Parameters:
        name - the name for the table
        desc - the description for the table
        type - the type of table
        provider - the provider
    • Method Detail

      • newBrailleConverter

        public BrailleConverter newBrailleConverter()
        Description copied from interface: Table
        Creates a new BrailleConverter based on the current configuration of this Table.
        Returns:
        returns a new BrailleConverter instance
      • setFeature

        public void setFeature​(java.lang.String key,
                               java.lang.Object value)
        Description copied from interface: Factory
        Sets a feature for new Objects returned by this Factory
        Parameters:
        key - the key for the feature
        value - the value of the feature
      • getProperty

        public java.lang.Object getProperty​(java.lang.String key)
        Description copied from interface: Factory
        Gets the value of a read-only property that applies to all objects returned by this Factory.
        Parameters:
        key - the name of the property to get
        Returns:
        returns the value associated with this property or null if none is found
      • getFeature

        public java.lang.Object getFeature​(java.lang.String key)
        Description copied from interface: Factory
        Gets the value of a feature used by this Factory
        Parameters:
        key - the key for the feature
        Returns:
        returns the current value of the feature