org.jboss.util.propertyeditor
Class IntArrayEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.jboss.util.propertyeditor.IntArrayEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class IntArrayEditor
extends java.beans.PropertyEditorSupport

A property editor for int[].


Constructor Summary
IntArrayEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 void setAsText(java.lang.String text)
          Build a int[] from comma or eol seperated elements
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntArrayEditor

public IntArrayEditor()
Method Detail

setAsText

public void setAsText(java.lang.String text)
Build a int[] from comma or eol seperated elements


getAsText

public java.lang.String getAsText()
Returns:
a comma seperated string of the array elements