public class SwingAnnotationLogicalFontFactory extends AnnotationLogicalFontFactory implements SwingAnnotationFontFactory
SwingAnnotationFontFactory
implementation providing logical named fonts.FAMILYNAME_DIALOG, FAMILYNAME_DIALOGINPUT, FAMILYNAME_MONOSPACED, FAMILYNAME_SANSSERIF, FAMILYNAME_SERIF, FAMILYNAMES, fontFactory, fontManagerFuture, LOGICAL_FAMILYNAME_ATTRIBUTES
Constructor and Description |
---|
SwingAnnotationLogicalFontFactory(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 SwingAnnotationLogicalFontFactory(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.