public class StringArrayEditor extends GenericArrayPropertyEditor<String[]>
Constructor and Description |
---|
StringArrayEditor() |
Modifier and Type | Method and Description |
---|---|
protected String |
encode(String[] v) |
void |
setAsText(String text)
Set the property value by parsing a given String.
|
protected String[] |
tokenize(String text) |
getAsText, getCellType, getTokenizer
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValue
firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditor
public void setAsText(String text) throws IllegalArgumentException
PropertyEditor
setAsText
in interface PropertyEditor
setAsText
in class GenericArrayPropertyEditor<String[]>
text
- The string to be parsed.IllegalArgumentException
protected String[] tokenize(String text)
tokenize
in class GenericArrayPropertyEditor<String[]>
protected String encode(String[] v)
encode
in class GenericArrayPropertyEditor<String[]>
Copyright © 2014 JBoss by Red Hat. All rights reserved.