Package org.jboss.common.beans.property
Class ByteEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jboss.common.beans.property.PropertyEditorSupport<java.lang.Byte>
-
- org.jboss.common.beans.property.ByteEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
,PropertyEditor<java.lang.Byte>
public class ByteEditor extends PropertyEditorSupport<java.lang.Byte>
A property editor forByte
.
-
-
Constructor Summary
Constructors Constructor Description ByteEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAsText(java.lang.String text)
Map the argument text into and Byte using Byte.decode.-
Methods inherited from class org.jboss.common.beans.property.PropertyEditorSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getAsText, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValue
-
-
-
-
Method Detail
-
setAsText
public void setAsText(java.lang.String text)
Map the argument text into and Byte using Byte.decode.- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Specified by:
setAsText
in interfacePropertyEditor<java.lang.Byte>
- Specified by:
setAsText
in classPropertyEditorSupport<java.lang.Byte>
- Parameters:
text
- The string to be parsed.
-
-