Class FontPanel


  • public class FontPanel
    extends SwingOwner
    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 specifically setting a size. In addition, there is a pick list that shows all the individual fonts available for a given family.
    • Constructor Detail

      • FontPanel

        public FontPanel()
    • Method Detail

      • initUI

        protected void initUI()
        Initialize Swing UI panel.
        Overrides:
        initUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • resetUI

        public void resetUI()
        Reset Swing UI from the current selection.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the name for the inspector window.