Package docking.options.editor
Class FontEditor
java.lang.Object
java.beans.PropertyEditorSupport
docking.options.editor.FontEditor
- All Implemented Interfaces:
PropertyEditor
Font property editor that is a bit unusual in that its custom component is a button that when
pushed, pops up a dialog for editing the color. Use
FontPropertyEditor for a more
traditional property editor that returns a direct color editing component.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidConvenience method for directly showing a dialog for editing fontsbooleanMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
-
Constructor Details
-
FontEditor
public FontEditor()
-
-
Method Details
-
showDialog
public void showDialog()Convenience method for directly showing a dialog for editing fonts -
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-