Package org.jboss.common.beans.property
Class ShortEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jboss.common.beans.property.PropertyEditorSupport<java.lang.Short>
-
- org.jboss.common.beans.property.ShortEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
,PropertyEditor<java.lang.Short>
public class ShortEditor extends PropertyEditorSupport<java.lang.Short>
A property editor forShort
.
-
-
Constructor Summary
Constructors Constructor Description ShortEditor()
-
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 Short using Short.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 Short using Short.decode.- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Specified by:
setAsText
in interfacePropertyEditor<java.lang.Short>
- Specified by:
setAsText
in classPropertyEditorSupport<java.lang.Short>
- Parameters:
text
- The string to be parsed.
-
-