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.PropertyEditorSupport
Generic 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.String
getAsText()
java.lang.String[]
getTags()
void
setAsText(java.lang.String s)
-
-
-
Method Detail
-
getTags
public java.lang.String[] getTags()
- Specified by:
getTags
in interfacejava.beans.PropertyEditor
- Overrides:
getTags
in classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String s)
- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
-
-