Class SetFontFaceAction

  • All Implemented Interfaces:
    com.nomagic.actions.ShortcutsNotCustomizable, java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, javax.swing.Action

    @OpenApiAll
    public class SetFontFaceAction
    extends SelectItemAction
    implements com.nomagic.actions.ShortcutsNotCustomizable
    Action for choosing font face.
    See Also:
    Serialized Form
    • Field Detail

      • FONT_FACE

        public static final java.lang.String FONT_FACE
        The value of font face property key.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SetFontFaceAction

        public SetFontFaceAction()
        Creates action and fills it with all system fonts.
    • Method Detail

      • getFontFace

        public java.lang.String getFontFace()
        Returns selected font face value.
        Returns:
        selected font face name.
      • setFontFace

        public void setFontFace​(java.lang.String newFontFace)
        Sets new font face value.
        Parameters:
        newFontFace - value.