|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter
Method Summary | |
---|---|
Class |
getType()
Gets the the type of object supported by this converter. |
Object |
toObject(String text)
Converts the supplied text in to an instance of the editor type. |
String |
toString(Object value)
Converts the supplied object to text. |
Methods inherited from interface java.beans.PropertyEditor |
---|
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor |
Method Detail |
---|
Class getType()
String toString(Object value) throws PropertyEditorException
value
- an instance of the editor type
PropertyEditorException
- if an error occurs while converting the value to a String (this is very rare)Object toObject(String text) throws PropertyEditorException
text
- the text to convert
PropertyEditorException
- if an error occurs while converting the text to an object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |