Package org.jboss.common.beans.property
Class LongEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jboss.common.beans.property.PropertyEditorSupport<java.lang.Long>
-
- org.jboss.common.beans.property.LongEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor,PropertyEditor<java.lang.Long>
public class LongEditor extends PropertyEditorSupport<java.lang.Long>
A property editor forInteger.
-
-
Constructor Summary
Constructors Constructor Description LongEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetAsText(java.lang.String text)Map the argument text into and Integer using Integer.valueOf.-
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 Integer using Integer.valueOf.- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Specified by:
setAsTextin interfacePropertyEditor<java.lang.Long>- Specified by:
setAsTextin classPropertyEditorSupport<java.lang.Long>- Parameters:
text- The string to be parsed.
-
-