commonsrc.ingenias.editor.FontConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
The INGENIAS Meta-Editor core. It is a set of facilities to generate an editor from a detailed xml description
package ingenias.editor;
import java.awt.*;
import javax.swing.*;
/**
* Title:
* Description:
* Copyright: Copyright (c) 2004
* Company:
* @author not attributable
* @version 1.0
*/
public class FontConfiguration{
private Font standardFont = new Font(Font.SANS_SERIF,Font.PLAIN, 12);
private Font emphasisFont = new Font(Font.SANS_SERIF,Font.BOLD, 12);
private Font guiFont = new Font(Font.SANS_SERIF,Font.PLAIN,12);
private static FontConfiguration instance = new FontConfiguration();
public static FontConfiguration getConfiguration(){
return instance;
}
protected FontConfiguration(){}
public Font getStandardFont(){
return standardFont;
}
public Font getEmphasisFont(){
return emphasisFont;
}
public Font getGUIFont(){
return guiFont;
}
}