Top Fields Constructors Methods
com.sun.javafx.font

public Class FallbackResource

extends Object
implements CompositeFontResource
Class Inheritance
All Implemented Interfaces
com.sun.javafx.font.CompositeFontResource, com.sun.javafx.font.FontResource
Imports
java.lang.ref.WeakReference, java.util.Map, java.util.concurrent.ConcurrentHashMap, com.sun.javafx.geom.transform.BaseTransform

Field Summary

Modifier and TypeField and Description
private int
private FontResource[]
pack-priv static FallbackResource[]
private boolean
private boolean
pack-priv static FallbackResource[]
private String[]
private String[]
private CompositeGlyphMapper
private FontResource[]
pack-priv FontResource
pack-priv Map<FontStrikeDesc, WeakReference<FontStrike>>

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
FallbackResource(boolean bold, boolean italic, int aaMode)

Method Summary

Modifier and TypeMethod and Description
private int
public int
public float
getAdvance(int glyphCode, float size)

Implements com.sun.javafx.font.FontResource.getAdvance.

public int
pack-priv static FallbackResource
pack-priv static FallbackResource
getFallbackResource(boolean bold, boolean italic, int aaMode)

public String
public int
public String
public String
public float[]
getGlyphBoundingBox(int glyphCode, float size, float[] retArr)

Implements com.sun.javafx.font.FontResource.getGlyphBoundingBox.

public CharToGlyphMapper
private void
public String
public String
public String
public int
public Object
public String
public int
getSlotForFont(String fontName)

Implements com.sun.javafx.font.CompositeFontResource.getSlotForFont.

Returns the slot for the given font name.

private int
public synchronized FontResource
public FontStrike
public FontStrike
getStrike(float size, BaseTransform transform, int aaMode)

Implements com.sun.javafx.font.FontResource.getStrike.

public Map<FontStrikeDesc, WeakReference<FontStrike>>
public String
public boolean
public boolean
public boolean
public void
private String
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

aaModeback to summary
private int aaMode
fallbacksback to summary
private FontResource[] fallbacks
greyFallBackResourceback to summary
pack-priv static FallbackResource[] greyFallBackResource
isBoldback to summary
private boolean isBold
isItalicback to summary
private boolean isItalic
lcdFallBackResourceback to summary
pack-priv static FallbackResource[] lcdFallBackResource
linkedFontFilesback to summary
private String[] linkedFontFiles
linkedFontNamesback to summary
private String[] linkedFontNames
mapperback to summary
private CompositeGlyphMapper mapper
nativeFallbacksback to summary
private FontResource[] nativeFallbacks
primaryResourceback to summary
pack-priv FontResource primaryResource
strikeMapback to summary
pack-priv Map<FontStrikeDesc, WeakReference<FontStrike>> strikeMap

Constructor Detail

FallbackResourceback to summary
pack-priv FallbackResource(FontResource primary)
FallbackResourceback to summary
pack-priv FallbackResource(boolean bold, boolean italic, int aaMode)

Method Detail

addNativeFallbackback to summary
private int addNativeFallback(FontResource fr)
addSlotFontback to summary
public int addSlotFont(FontResource fr)

Overrides default com.sun.javafx.font.CompositeFontResource.addSlotFont.

Annotations
@Override
getAdvanceback to summary
public float getAdvance(int glyphCode, float size)

Implements com.sun.javafx.font.FontResource.getAdvance.

Annotations
@Override
getDefaultAAModeback to summary
public int getDefaultAAMode()

Implements com.sun.javafx.font.FontResource.getDefaultAAMode.

Annotations
@Override
getFallbackResourceback to summary
pack-priv static FallbackResource getFallbackResource(FontResource primaryResource)
getFallbackResourceback to summary
pack-priv static FallbackResource getFallbackResource(boolean bold, boolean italic, int aaMode)
getFamilyNameback to summary
public String getFamilyName()

Implements com.sun.javafx.font.FontResource.getFamilyName.

Annotations
@Override
getFeaturesback to summary
public int getFeatures()

Implements com.sun.javafx.font.FontResource.getFeatures.

Annotations
@Override
getFileNameback to summary
public String getFileName()

Implements com.sun.javafx.font.FontResource.getFileName.

Annotations
@Override
getFullNameback to summary
public String getFullName()

Implements com.sun.javafx.font.FontResource.getFullName.

Annotations
@Override
getGlyphBoundingBoxback to summary
public float[] getGlyphBoundingBox(int glyphCode, float size, float[] retArr)

Implements com.sun.javafx.font.FontResource.getGlyphBoundingBox.

Annotations
@Override
getGlyphMapperback to summary
public CharToGlyphMapper getGlyphMapper()

Implements com.sun.javafx.font.FontResource.getGlyphMapper.

Annotations
@Override
getLinkedFontsback to summary
private void getLinkedFonts()
getLocaleFamilyNameback to summary
public String getLocaleFamilyName()

Implements com.sun.javafx.font.FontResource.getLocaleFamilyName.

Annotations
@Override
getLocaleFullNameback to summary
public String getLocaleFullName()

Implements com.sun.javafx.font.FontResource.getLocaleFullName.

Annotations
@Override
getLocaleStyleNameback to summary
public String getLocaleStyleName()

Implements com.sun.javafx.font.FontResource.getLocaleStyleName.

Annotations
@Override
getNumSlotsback to summary
public int getNumSlots()

Implements com.sun.javafx.font.CompositeFontResource.getNumSlots.

Annotations
@Override
getPeerback to summary
public Object getPeer()

Implements com.sun.javafx.font.FontResource.getPeer.

Annotations
@Override
getPSNameback to summary
public String getPSName()

Implements com.sun.javafx.font.FontResource.getPSName.

Annotations
@Override
getSlotForFontback to summary
public int getSlotForFont(String fontName)

Implements com.sun.javafx.font.CompositeFontResource.getSlotForFont.

Doc from com.sun.javafx.font.CompositeFontResource.getSlotForFont.

Returns the slot for the given font name. Adds fontName as a new fallback font if needed.

Annotations
@Override
getSlotForFontNoCreateback to summary
private int getSlotForFontNoCreate(String fontName)
getSlotResourceback to summary
public synchronized FontResource getSlotResource(int slot)

Implements com.sun.javafx.font.CompositeFontResource.getSlotResource.

Annotations
@Override
getStrikeback to summary
public FontStrike getStrike(float size, BaseTransform transform)

Implements com.sun.javafx.font.FontResource.getStrike.

Annotations
@Override
getStrikeback to summary
public FontStrike getStrike(float size, BaseTransform transform, int aaMode)

Implements com.sun.javafx.font.FontResource.getStrike.

Annotations
@Override
getStrikeMapback to summary
public Map<FontStrikeDesc, WeakReference<FontStrike>> getStrikeMap()

Implements com.sun.javafx.font.FontResource.getStrikeMap.

Annotations
@Override
getStyleNameback to summary
public String getStyleName()

Implements com.sun.javafx.font.FontResource.getStyleName.

Annotations
@Override
isBoldback to summary
public boolean isBold()

Implements com.sun.javafx.font.FontResource.isBold.

Annotations
@Override
isEmbeddedFontback to summary
public boolean isEmbeddedFont()

Implements com.sun.javafx.font.FontResource.isEmbeddedFont.

Annotations
@Override
isItalicback to summary
public boolean isItalic()

Implements com.sun.javafx.font.FontResource.isItalic.

Annotations
@Override
setPeerback to summary
public void setPeer(Object peer)

Implements com.sun.javafx.font.FontResource.setPeer.

Annotations
@Override
throwExceptionback to summary
private String throwException()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override