Class SwingAnnotationProfileSystemFontFactory
- java.lang.Object
-
- com.levigo.jadice.demo.font.annotation.AnnotationProfileSystemFontFactory
-
- com.levigo.jadice.demo.font.annotation.SwingAnnotationProfileSystemFontFactory
-
- All Implemented Interfaces:
AnnotationFontFactory,FontFactory,SwingAnnotationFontFactory
public class SwingAnnotationProfileSystemFontFactory extends AnnotationProfileSystemFontFactory implements SwingAnnotationFontFactory
SwingAnnotationFontFactoryimplementation providing system fonts. This class is a demo implementation and not used in any class / annotation profile of the distribution.
-
-
Field Summary
-
Fields inherited from class com.levigo.jadice.demo.font.annotation.AnnotationProfileSystemFontFactory
fontFactory
-
-
Constructor Summary
Constructors Constructor Description SwingAnnotationProfileSystemFontFactory()
-
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.demo.font.annotation.AnnotationProfileSystemFontFactory
create, getAvailableFontAttributeSets, getFontManagerFuture
-
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
-
-
-
-
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.
-
-