xapi.ui.html.api.FontFamily Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xapi-core-ui-html Show documentation
Show all versions of xapi-core-ui-html Show documentation
The core API for generating html from data models.
The newest version!
package xapi.ui.html.api;
public interface FontFamily {
String name();
public static class Cursive implements FontFamily{
@Override
public String name() {
return "Fondamento, cursive";
}
}
public static class Monospace implements FontFamily{
@Override
public String name() {
return "monospace, courier new, courier";
}
}
public static class Serif implements FontFamily{
@Override
public String name() {
return "Junge, times, times new roman";
}
}
public static class SansSerif implements FontFamily{
@Override
public String name() {
return "arial, helvetica";
}
}
public static class Impact implements FontFamily{
@Override
public String name() {
return "Junge, times, bookman, arial black";
// return "Merienda One, intro, impact, bookman, arial black";
}
}
}