Class ComponentFontQuery

java.lang.Object
org.fest.swing.query.ComponentFontQuery

public final class ComponentFontQuery extends Object
Understands an action, executed in the event dispatch thread, that returns the font of a Component.
See Also:
  • Constructor Details

    • ComponentFontQuery

      private ComponentFontQuery()
  • Method Details

    • fontOf

      @RunsInEDT public static Font fontOf(Component component)
      Returns the font of the given Component. This action is executed in the event dispatch thread.
      Parameters:
      component - the given Component.
      Returns:
      the font of the given Component.
      See Also: