Class FontPanel

java.lang.Object
com.reportmill.panels.FontPanel

public class FontPanel extends Object
This class is a Swing/Ribs Font panel for selecting fonts. It lets the user easily select a font family, font size and font style (bold, italic, underline, outline). It also has a convenient slider for interactively changing the size and a text field for specificly setting a size. In addition, there is a pick list that shows all the individual fonts available for a given family.
  • Constructor Details

    • FontPanel

      public FontPanel()
      Creates a new font panel.
  • Method Details

    • getUI

      public JPanel getUI()
      Returns the Swing UI panel.
    • resetUI

      public void resetUI()
      Called by Ribs to reset the UI from the current selection.
    • respondUI

      public void respondUI(Object anObj)
      Called by the GUI panel controls to change the current selection.
    • getWindowTitle

      public String getWindowTitle()
      Returns the name for the insepctor window.