@PropertyEditorFor(value=java.awt.Font.class) public class FontPropertyEditor extends AbstractPropertyEditor
Constructor and Description |
---|
FontPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
protected String |
formatStyle(Font font) |
String |
getAsText() |
protected String |
getMapValue(Map<?,?> map,
String key,
String defaultValue) |
protected void |
handleAsList(List<?> list) |
protected void |
handleAsMap(Map<?,?> map) |
protected void |
handleAsString(String str) |
protected int |
parseSize(Object source,
String str) |
protected int |
resolveStyle(Object source,
String str) |
protected void |
setValueInternal(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class AbstractPropertyEditor
protected void setValueInternal(Object value)
setValueInternal
in class AbstractPropertyEditor
protected void handleAsString(String str)
protected void handleAsList(List<?> list)
protected void handleAsMap(Map<?,?> map)