org.jboss.util.propertyeditor
Class IntArrayEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jboss.util.propertyeditor.IntArrayEditor
- All Implemented Interfaces:
- PropertyEditor
public class IntArrayEditor
- extends PropertyEditorSupport
A property editor for int[].
- Version:
- $Revision: 1.2.2.2 $
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, 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 |
IntArrayEditor
public IntArrayEditor()
setAsText
public void setAsText(String text)
- Build a int[] from comma or eol seperated elements
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
- Returns:
- a comma seperated string of the array elements
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.