Package com.im.commons.ui.beans
Class StringToIntPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- com.im.commons.ui.beans.StringToIntPropertyEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class StringToIntPropertyEditor extends java.beans.PropertyEditorSupportGeneric property editor where values are integers, but should be edited as strings.
-
-
Constructor Summary
Constructors Constructor Description StringToIntPropertyEditor(java.lang.String[] textValues, int[] intValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsText()java.lang.String[]getTags()voidsetAsText(java.lang.String s)
-
-
-
Method Detail
-
getTags
public java.lang.String[] getTags()
- Specified by:
getTagsin interfacejava.beans.PropertyEditor- Overrides:
getTagsin classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String s)
- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport
-
-