Class ChainedSwingAnnotationFontFactory
- java.lang.Object
-
- com.levigo.jadice.appbase.font.factory.annotation.ChainedAnnotationFontFactory
-
- com.levigo.jadice.appbase.annotation.font.ChainedSwingAnnotationFontFactory
-
- All Implemented Interfaces:
AnnotationFontFactory,FontFactory,SwingAnnotationFontFactory
public class ChainedSwingAnnotationFontFactory extends ChainedAnnotationFontFactory implements SwingAnnotationFontFactory
ChainedSwingAnnotationFontFactorybased implementation, seeChainedAnnotationFontFactory.
-
-
Field Summary
-
Fields inherited from class com.levigo.jadice.appbase.font.factory.annotation.ChainedAnnotationFontFactory
factoryChain
-
-
Constructor Summary
Constructors Constructor Description ChainedSwingAnnotationFontFactory(SwingAnnotationFontFactory... factoryChain)
-
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.ChainedAnnotationFontFactory
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
-
ChainedSwingAnnotationFontFactory
public ChainedSwingAnnotationFontFactory(SwingAnnotationFontFactory... factoryChain)
-
-
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.
-
-