Class FontPropertyEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class FontPropertyEditor
    extends java.beans.PropertyEditorSupport
    This Bean FontEditor displays a String with the current selected font name, style and size attributes.
    • Constructor Summary

      Constructors 
      Constructor Description
      FontPropertyEditor()
      The default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Component getCustomEditor()  
      java.lang.Object getValue()  
      void setValue​(java.lang.Object o)  
      void showDialog()  
      boolean supportsCustomEditor()  
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FontPropertyEditor

        public FontPropertyEditor()
        The default constructor.
    • Method Detail

      • showDialog

        public void showDialog()
      • setValue

        public void setValue​(java.lang.Object o)
        Specified by:
        setValue in interface java.beans.PropertyEditor
        Overrides:
        setValue in class java.beans.PropertyEditorSupport
      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in interface java.beans.PropertyEditor
        Overrides:
        getValue in class java.beans.PropertyEditorSupport
      • supportsCustomEditor

        public boolean supportsCustomEditor()
        Specified by:
        supportsCustomEditor in interface java.beans.PropertyEditor
        Overrides:
        supportsCustomEditor in class java.beans.PropertyEditorSupport
      • getCustomEditor

        public java.awt.Component getCustomEditor()
        Specified by:
        getCustomEditor in interface java.beans.PropertyEditor
        Overrides:
        getCustomEditor in class java.beans.PropertyEditorSupport