Top Fields Constructors Methods
jogamp.graph.font

public Class JavaFontLoader

extends Object
implements FontSet
Class Inheritance
All Implemented Interfaces
com.jogamp.graph.font.FontSet
Imports
java.io.BufferedInputStream, .File, .FileInputStream, .IOException, .InputStream, java.security.AccessController, .PrivilegedAction, com.jogamp.opengl.GLException, com.jogamp.common.util.IntObjectHashMap, com.jogamp.graph.font.Font, .FontSet, .FontFactory

Field Summary

Modifier and TypeField and Description
pack-priv static final String[]
private static final FontSet
private static final IntObjectHashMap
pack-priv final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv Font
abspath(final String fname, final int family, final int style)

private Font
abspathImpl(final String fname, final int family, final int style)

public static FontSet
get()

public Font
get(final int family, final int style)

Implements com.jogamp.graph.font.FontSet.get.

public Font
getDefault()

Implements com.jogamp.graph.font.FontSet.getDefault.

Returns the family FAMILY_REGULAR with STYLE_NONE as retrieved with get(int, int).
pack-priv static boolean
is(final int bits, final int bit)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

availableFontFileNamesback to summary
pack-priv static final String[] availableFontFileNames
fontLoaderback to summary
private static final FontSet fontLoader
fontMapback to summary
private static final IntObjectHashMap fontMap
javaFontPathback to summary
pack-priv final String javaFontPath

Constructor Detail

JavaFontLoaderback to summary
private JavaFontLoader()

Method Detail

abspathback to summary
pack-priv Font abspath(final String fname, final int family, final int style) throws IOException
abspathImplback to summary
private Font abspathImpl(final String fname, final int family, final int style) throws IOException
getback to summary
public static FontSet get()
getback to summary
public Font get(final int family, final int style) throws IOException

Implements com.jogamp.graph.font.FontSet.get.

Annotations
@Override
getDefaultback to summary
public Font getDefault() throws IOException

Implements com.jogamp.graph.font.FontSet.getDefault.

Doc from com.jogamp.graph.font.FontSet.getDefault.

Returns the family FAMILY_REGULAR with STYLE_NONE as retrieved with get(int, int).

Annotations
@Override
isback to summary
pack-priv static boolean is(final int bits, final int bit)