ingenias.editor.FontConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sociaalmled Show documentation
Show all versions of sociaalmled Show documentation
A editor for modelling scenarios for PHAT simulator
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;
}
}