Class SwingAnnotationLogicalFontFactory
- java.lang.Object
-
- com.levigo.jadice.appbase.font.factory.annotation.AnnotationLogicalFontFactory
-
- com.levigo.jadice.appbase.annotation.font.SwingAnnotationLogicalFontFactory
-
- All Implemented Interfaces:
AnnotationFontFactory,FontFactory,SwingAnnotationFontFactory
public class SwingAnnotationLogicalFontFactory extends AnnotationLogicalFontFactory implements SwingAnnotationFontFactory
SwingAnnotationFontFactoryimplementation providing logical named fonts.
-
-
Field Summary
-
Fields inherited from class com.levigo.jadice.appbase.font.factory.annotation.AnnotationLogicalFontFactory
FAMILYNAME_DIALOG, FAMILYNAME_DIALOGINPUT, FAMILYNAME_MONOSPACED, FAMILYNAME_SANSSERIF, FAMILYNAME_SERIF, FAMILYNAMES, fontFactory, fontManagerFuture, LOGICAL_FAMILYNAME_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description SwingAnnotationLogicalFontFactory(FontManagerFuture fontManagerFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FontcreateAWTFont(FontAttributeSet fontAttributeSet)ReturnsFontinstance for givenFontAttributeSetdefinition.-
Methods inherited from class com.levigo.jadice.appbase.font.factory.annotation.AnnotationLogicalFontFactory
create, getAvailableFontAttributeSets
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.levigo.jadice.annotation.font.AnnotationFontFactory
getAvailableFontAttributeSets
-
Methods inherited from interface com.levigo.jadice.document.font.factory.FontFactory
create
-
-
-
-
Constructor Detail
-
SwingAnnotationLogicalFontFactory
public SwingAnnotationLogicalFontFactory(FontManagerFuture fontManagerFuture)
-
-
Method Detail
-
createAWTFont
public Font createAWTFont(FontAttributeSet fontAttributeSet)
Description copied from interface:SwingAnnotationFontFactoryReturnsFontinstance for givenFontAttributeSetdefinition.- Specified by:
createAWTFontin interfaceSwingAnnotationFontFactory- Parameters:
fontAttributeSet-FontAttributeSetinstance- Returns:
Fontinstance corresponding to the givenFontAttributeSetdefinition, ornullif no suchFontis available.
-
-