public class IntEditor extends ExPropertyEditorSupport
These hints will also work for the Integer editor, which wraps an instance of this editor.
ExPropertyEditorSupport.EnvException
Modifier and Type | Field and Description |
---|---|
static String |
CODE_VALS |
static String |
KEYS |
static String |
VALS |
PROP_VALUE_VALID, PROPERTY_HELP_ID
Constructor and Description |
---|
IntEditor()
Creates a new instance of IntEditor
|
Modifier and Type | Method and Description |
---|---|
protected void |
attachEnvImpl(PropertyEnv env)
Perform the actual attaching of the PropertyEnv.
|
String |
getAsText() |
String |
getJavaInitializationString() |
String[] |
getTags() |
void |
setAsText(String s) |
void |
setValue(Object value) |
protected void |
validateEnv(PropertyEnv env)
Validate that the values supplied by the PropertyEnv are proper,
so there's not an obscure ArrayIndexOutOfBoundsException some time
later because bad information was supplied.
|
arrToStr, attachEnv
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
public static final String KEYS
public static final String VALS
public static final String CODE_VALS
protected void attachEnvImpl(PropertyEnv env)
ExPropertyEditorSupport
attachEnvImpl
in class ExPropertyEditorSupport
protected void validateEnv(PropertyEnv env)
validateEnv
in class ExPropertyEditorSupport
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String s)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public String[] getTags()
getTags
in interface PropertyEditor
getTags
in class PropertyEditorSupport
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport