All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.dotify.api.translator.TextAttribute Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package org.daisy.dotify.api.translator;

/**
 * Provides an interface for text attributes.
 *
 * @author Joel Håkansson
 */
public interface TextAttribute extends Iterable {

    /**
     * Gets the width of this object.
     *
     * @return returns the width, in characters
     */
    public int getWidth();

    /**
     * Gets the dictionary identifier that applies to this text
     * attribute.
     *
     * @return returns the dictionary identifier, or null if it does not have
     * any
     */
    public String getDictionaryIdentifier();

    /**
     * Returns true if this object has text attribute children.
     *
     * @return returns true if this object has a text attribute children, false
     * otherwise
     */
    public boolean hasChildren();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy