public class UifPercentageEditor extends PropertyEditorSupport implements Serializable
org.kuali.rice.core.api.util.type.KualiPercent objects| Modifier and Type | Field and Description |
|---|---|
static String |
PERCENTAGE_FORMAT
The default format for percentage values.
|
static int |
PERCENTAGE_SCALE
The default scale for percentage values.
|
| Constructor and Description |
|---|
UifPercentageEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText()
This overridden method converts
org.kuali.rice.core.api.util.type.KualiPercent objects to the
display string. |
void |
setAsText(String text)
This overridden method converts the display string to a
org.kuali.rice.core.api.util.type.KualiPercent object. |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic static final int PERCENTAGE_SCALE
public static final String PERCENTAGE_FORMAT
public UifPercentageEditor()
public String getAsText()
org.kuali.rice.core.api.util.type.KualiPercent objects to the
display string.getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportPropertyEditorSupport.getAsText()public void setAsText(String text) throws IllegalArgumentException
org.kuali.rice.core.api.util.type.KualiPercent object.setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionPropertyEditorSupport.setAsText(java.lang.String)Copyright © 2005–2016 The Kuali Foundation. All rights reserved.