@PropertyEditorFor(value=java.awt.Font.class) public class FontPropertyEditor extends AbstractPropertyEditor
Constructor and Description |
---|
FontPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
formatStyle(java.awt.Font font) |
java.lang.String |
getAsText() |
protected java.lang.String |
getMapValue(java.util.Map<?,?> map,
java.lang.String key,
java.lang.String defaultValue) |
protected void |
handleAsList(java.util.List<?> list) |
protected void |
handleAsMap(java.util.Map<?,?> map) |
protected void |
handleAsString(java.lang.String str) |
protected int |
parseSize(java.lang.Object source,
java.lang.String str) |
protected int |
resolveStyle(java.lang.Object source,
java.lang.String str) |
protected void |
setValueInternal(java.lang.Object value) |
getAsTextInternal, getFormat, getFormattedValue, getValueInternal, illegalValue, illegalValue, resolveFormatter, setAsText, setAsTextInternal, setFormat, setFormattedValue, setValue
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class AbstractPropertyEditor
protected java.lang.String formatStyle(java.awt.Font font)
protected void setValueInternal(java.lang.Object value)
setValueInternal
in class AbstractPropertyEditor
protected void handleAsString(java.lang.String str)
protected void handleAsList(java.util.List<?> list)
protected void handleAsMap(java.util.Map<?,?> map)
protected java.lang.String getMapValue(java.util.Map<?,?> map, java.lang.String key, java.lang.String defaultValue)
protected int parseSize(java.lang.Object source, java.lang.String str)
protected int resolveStyle(java.lang.Object source, java.lang.String str)