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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Convenience method for directly showing a dialog for editing fontsboolean
Methods 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:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
-