public class ImagePropertyEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
ImagePropertyEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAsText(String text)
Load image from classpath
|
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupporttext - the classpath of image resourceIllegalArgumentExceptionPropertyEditorSupport.setAsText(java.lang.String)Copyright © 2014 JDAL. All Rights Reserved.