org.jglfont.impl.format.angelcode.AngelCodeLineProcessors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nifty Show documentation
Show all versions of nifty Show documentation
Nifty GUI is a Java Library that supports the building of interactive user interfaces for games or similar applications. It utilizes OpenGL for rendering and it can be easily integrated into many rendering systems. The configuration of the GUI is stored in xml files with little supporting Java code. In short Nifty helps you to layout stuff, display it in a cool way and interact with it :)
package org.jglfont.impl.format.angelcode;
import java.util.Hashtable;
import java.util.Map;
import org.jglfont.impl.format.angelcode.line.CharLine;
import org.jglfont.impl.format.angelcode.line.CharsLine;
import org.jglfont.impl.format.angelcode.line.CommonLine;
import org.jglfont.impl.format.angelcode.line.InfoLine;
import org.jglfont.impl.format.angelcode.line.KerningLine;
import org.jglfont.impl.format.angelcode.line.KerningsLine;
import org.jglfont.impl.format.angelcode.line.PageLine;
public class AngelCodeLineProcessors {
private Map lineProcessors = new Hashtable();
public AngelCodeLineProcessors() {
lineProcessors.put("char", new CharLine());
lineProcessors.put("chars", new CharsLine());
lineProcessors.put("common", new CommonLine());
lineProcessors.put("info", new InfoLine());
lineProcessors.put("kerning", new KerningLine());
lineProcessors.put("kernings", new KerningsLine());
lineProcessors.put("page", new PageLine());
}
public AngelCodeLine get(final String lineId) {
return lineProcessors.get(lineId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy