public class SwingAnnotationGenericStylesSystemFontFactory extends SwingAnnotationSystemFontFactory implements SwingAnnotationFontFactory
SwingAnnotationFontFactory
implementation providing system fonts with styles Plain / Bold
/ Italic / Bold-Italic registered in Java VM environment, see
GraphicsEnvironment.getAllFonts()
.fontFactory, fontManagerFuture
Constructor and Description |
---|
SwingAnnotationGenericStylesSystemFontFactory(FontManagerFuture fontManagerFuture) |
Modifier and Type | Method and Description |
---|---|
Collection<FontAttributeSet> |
getAvailableFontAttributeSets()
Returns available fonts provided by this implementation described via
FontAttributeSet
class. |
createAWTFont
create
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAWTFont
create
public SwingAnnotationGenericStylesSystemFontFactory(FontManagerFuture fontManagerFuture)
public Collection<FontAttributeSet> getAvailableFontAttributeSets()
AnnotationFontFactory
FontAttributeSet
class.
This method is currently used by annotation based font face editors. Current implementations
provide a simple FontAttributeSet
definition containing FamilyName
attribute
only.getAvailableFontAttributeSets
in interface AnnotationFontFactory
getAvailableFontAttributeSets
in class AnnotationSystemFontFactory
FontAttributeSet
definitionCopyright © 2024 levigo holding gmbh. All rights reserved.