public class SerialAddressEditor extends AbstractPropertyEditor
PropertyEditor which converts a String into a
SerialAddress and vice versa. Valid values specify 6 address
components separated by colon (e.g. COM1:9600:7:1:even:rtscts-in);
port name, bauds, data bits, stop bits, parity and flow control respectively.| Constructor and Description |
|---|
SerialAddressEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
toText(Object value) |
protected Object |
toValue(String text) |
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValueaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorprotected String toText(Object value)
toText in class AbstractPropertyEditorprotected Object toValue(String text) throws IllegalArgumentException
toValue in class AbstractPropertyEditorIllegalArgumentExceptionCopyright © 2004-2012 Apache MINA Project. All Rights Reserved.