public class SwingAnnotationSystemFontFactory extends AnnotationSystemFontFactory implements SwingAnnotationFontFactory
SwingAnnotationFontFactory
implementation providing system fonts registered in Java VM
environment, see GraphicsEnvironment.getAllFonts()
.fontFactory, fontManagerFuture
Constructor and Description |
---|
SwingAnnotationSystemFontFactory(FontManagerFuture fontManagerFuture) |
Modifier and Type | Method and Description |
---|---|
Font |
createAWTFont(FontAttributeSet fontAttributeSet)
Returns
Font instance for given FontAttributeSet definition. |
create, getAvailableFontAttributeSets
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAvailableFontAttributeSets
create
public SwingAnnotationSystemFontFactory(FontManagerFuture fontManagerFuture)
public Font createAWTFont(FontAttributeSet fontAttributeSet)
SwingAnnotationFontFactory
Font
instance for given FontAttributeSet
definition.createAWTFont
in interface SwingAnnotationFontFactory
fontAttributeSet
- FontAttributeSet
instanceFont
instance corresponding to the given FontAttributeSet
definition, or
null
if no such Font
is available.Copyright © 2024 levigo holding gmbh. All rights reserved.