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, setValue
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public SerialAddressEditor()
protected String toText(Object value)
toText
in class AbstractPropertyEditor
protected Object toValue(String text) throws IllegalArgumentException
toValue
in class AbstractPropertyEditor
IllegalArgumentException
Copyright © 2004–2016 Apache MINA Project. All rights reserved.