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

org.daisy.dotify.api.formatter.CompoundField Maven / Gradle / Ivy

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

import java.util.ArrayList;


/**
 * Provides a compound field object.
 *
 * @author Joel Håkansson
 */
public class CompoundField extends ArrayList implements Field {
    private static final long serialVersionUID = 6117663405561381287L;

    private final String textStyle;

    /**
     * Creates a new compound field.
     */
    public CompoundField() {
        this(null);
    }

    /**
     * Creates a new compound field with the specified text style.
     *
     * @param textStyle the text style for this compound field.
     */
    public CompoundField(String textStyle) {
        this.textStyle = textStyle;
    }

    @Override
    public String getTextStyle() {
        return textStyle;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy