package hep.aida.ref.plotter;

import hep.aida.IInfoStyle;
import hep.aida.ITextStyle;
import hep.aida.ref.plotter.BaseStyle;
import hep.aida.ref.plotter.TextStyle;

/**
 *
 * @author The FreeHEP team @ SLAC.
 *
 */
public class InfoStyle extends BaseStyle implements IInfoStyle {
    
    private ITextStyle textStyle;
    
    protected void initializeBaseStyle() {
        textStyle = new TextStyle();
        addBaseStyle(textStyle, "text");
    }
    
    public boolean setTextStyle(ITextStyle textStyle) {
        this.textStyle = textStyle;
        addBaseStyle(textStyle, "text");
        return true;
    }
    
    public ITextStyle textStyle() {
        return textStyle;
    }    
        
}
