org.jboss.util.propertyeditor
Class IntegerEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.util.propertyeditor.IntegerEditor
All Implemented Interfaces:
PropertyEditor

public class IntegerEditor
extends PropertyEditorSupport

A property editor for Integer.

Version:
$Revision: 1.4.6.4 $
Author:
Scott.Stark@jboss.org

Constructor Summary
IntegerEditor()
           
 
Method Summary
 void setAsText(String text)
          Map the argument text into and Integer using Integer.decode.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerEditor

public IntegerEditor()
Method Detail

setAsText

public void setAsText(String text)
Map the argument text into and Integer using Integer.decode.

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.